Denis! Thank you very much for your help... I just couldn't get out of the corner ...
You are definitly missing something :)
good :)
For the eclipse part, you should run eclipse:eclipse from the root project to use project dependency instead of binary dependency (ie a module will directly use another module as its dependency instead of using the produced jar).
hmmm OK, I was using the eclipse plugin from http://m2eclipse.codehaus.org, and the dependencies were set that way (binary) by the "Maven2/Update Source Folders" option from the project context menu. I like the plugin as it lets me run mvn from the context menu, it executes a build whenever I modify the pom. So the way to go right now would be to eclipse:eclipse the main module, and then NOT to use the plugins "Maven2/Update Source Folders" option but manually add things to pom, and then eclipse:eclipse again? I found something about a marriage of those two http://jira.codehaus.org/browse/MECLIPSE-78 but I don't know if it's still valid, or maybe there is another way to get those two working together? hmm???
For the reactor part (the building of the parent project), you certainly have something wrong with your projects. Are all the version numbers up to date? Do you have any cyclic dependencies?
Well, I definitely have something wrong. I thought it though and I think my problem is different. My pom is quite complicated, as is my building process. In the master project I use the dependency-maven-plugin to add binary builds of the submodules to some custom structure: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>dependency-maven-plugin</artifactId> <executions> <execution> <id>copy</id> <phase>package</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>${project.groupId}</groupId> <artifactId>SubModule1</artifactId> <version>${project.version}</version> <type>mod</type> <outputDirectory>${mod-dir}</outputDirectory> </artifactItem> </artifactItems> ..... The problem is that this is executed BEFORE the submodules are built, so I get their previous version from the repo, and then they get built and installed, this is really irritating is the submodule is not yet installed, then the whole build crashes because the reactor first builds the master project (so it runs this plugin) and afterwards the submodules get built.
If you really can't have it work, fill in a JIRA issue, but this *should* work. (and in my case, it is working, as in most cases).
I believe it should work in my case too.. best regards -- Wojtek Biela --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]