We are using a the reactor plugin extensively but have noticed that it never installs the master pom to the local repository. We manage all of our dependency version information in the master pom, so it is important that it be updated in the repository.
Example: /pom.xml -- master pom containing version information for all dependencies /projectA/pom.xml -- project pom indicating which of the dependencies it includes /projectB/pom.xml -- etc... If projectB depends on projectA and I say: mvn reactor:make -Dmake.folders=projectB -Dmake.goals=clean,install then the reactor will build and install both projectA and projectB, but the master pom is not updated in the repository. I'd really hate to have to run two build commands every time I build something. Is there a way I can get this to install the master pom? I've even created a customization of the reactor that changes the command that the plugin issues from: [INFO] [reactor:make] [INFO] Executing: /bin/sh -c cd [path] && [path]/maven/2.0.9/bin/mvn -B -N -r -D maven.reactor.includes=projectA/pom.xml,projectB/pom.xml clean install To: [INFO] [reactor:make] [INFO] Executing: /bin/sh -c cd [path] && [path]/maven/2.0.9/bin/mvn -B -N -r -D maven.reactor.includes=pom.xml,projectA/pom.xml,projectB/pom.xml clean install But it seems the reactor really only wants to build subfolders of the master. Is there any way to get the reactor to install the master? I've already gotten to the point of customizing the plugin, so code-based solutions are acceptable. Thanks! -- View this message in context: http://www.nabble.com/Reactor-never-installs-the-master-pom-tp25410249p25410249.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org