Re: Reactor:resume goal
So two questions about this 1) When doing the following command, do you use the [] because I added them and then removed them and both times it thought these arguments were part of the path. mvn clean install --resume-from [groupId:artifactId] 2) When doing the following command, I tried doing a ../ to go up one folder. Is this actually possible with this syntax? mvn clean install --resume-from path/to/module Thanks, Jay -- View this message in context: http://maven.40175.n5.nabble.com/Reactor-resume-goal-tp4677902p4736022.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
Re: Reactor:resume goal
Hi Todd, with the 'resume' goal You can define a module in Your build reactor (meaning the complete hierarchy with all sub modules), from where the build should be resumed. You use this e.g. when the build failed in a module, You fixed the problem in that module and then You don't like to run the hole build again. Since Maven 2.1.0 there are command line options for that. Call: mvn clean install --resume-from [groupId:artifactId] or mvn clean install --resume-from path/to/module If I understood Your Your question right, You just want to build all sub modules of 'level2Project', right? Then You might just call: mvn clean install -f level2Project/pom.xml Kind regards Marc - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Reactor:resume goal
I am trying to resume a multimodule project that is nested. I want to resume from a project that is in a project that is one level deep from the top level. I would assume that I would use from to say what folder to start from and fromArtifact to say what project to start. This doesn't seem to work. It doesn't like both the settings at once. If I leave off the folder and just do the artifact. It tells me that I can't specify both the folder and the artifact. The folder that it thinks it is using is null, so it is taking a default. I can't figure out a way to get it so fromArtifact is accepted. Level1ProjectFolder Level2ProjectFolder Level2Project mvn org.apache.maven.plugins:maven-reactor-plugin:1.0:resume -Dfrom=leve2ProjectFolder -DfromArtifact=level2Project Does anyone know how to make this work? Thanks, Todd