In my code, I'm calling:

File pomFile = new
Model m2m = MavenPlugin.getMaven().readModel(pomFile);
List<Dependency> dependencies =

The dependencyManagement section in my pom is:


The content of "dependencies" is different when launched in tests and when
I try manually. It has been the same content for several other versions of
the bom that I use.

So for all versions, except one, 'dependencies' contains
the org.jboss.fuse.bom:jboss-fuse-parent artefact only.
And for a single version and only in test, it contains the full list of all
dependencies managed by the org.jboss.fuse.bom:jboss-fuse-parent pom.

I don't understand:
- how it is possible to have a different content for the list
- why it is only for a single version in automated test

Any suggestions on what I should have a look and on the reasons explaining
the behavior that I don't understand are welcome.


Aurelien Pupier
Senior Software Engineer in JBoss Fuse Tooling team
m2e-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit

Reply via email to