[ http://jira.codehaus.org/browse/MNG-1831?page=comments#action_53500 ]
Gilles Scokart commented on MNG-1831: ------------------------------------- For me it's even worse: I have an infinite loop when I bind the assembly plugin to the package phase. It seems to have other persons having the same problem. Some people thing it's normal, and some said it has been fixed on svn: See http://www.nabble.com/forum/ViewPost.jtp?post=1419487&framed=y http://www.nabble.com/forum/ViewPost.jtp?post=1942171&framed=y http://www.nabble.com/forum/ViewPost.jtp?post=1869242&framed=y > Assembly plugin should have the option not to repeat the build process every > <execution> > ---------------------------------------------------------------------------------------- > > Key: MNG-1831 > URL: http://jira.codehaus.org/browse/MNG-1831 > Project: Maven 2 > Type: Improvement > Components: maven-assembly-plugin > Versions: 2.0.1 > Environment: Windows XP > Reporter: Allan Ramirez > Attachments: log.txt > > > I configured my assembly plugin like this > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-assembly-plugin</artifactId> > <executions> > <execution> > <id>1</id> > <phase>package</phase> > <goals> > <goal>assembly</goal> > </goals> > <configuration> > <descriptor>src/main/descriptors/bin.xml</descriptor> > <finalName>${project.build.finalName}-bin</finalName> > </configuration> > </execution> > <execution> > <id>2</id> > <phase>package</phase> > <goals> > <goal>assembly</goal> > </goals> > <configuration> > <descriptor>src/main/descriptors/src.xml</descriptor> > <finalName>${project.build.finalName}-src</finalName> > </configuration> > </execution> > <execution> > <id>3</id> > <phase>package</phase> > <goals> > <goal>assembly</goal> > </goals> > <configuration> > <descriptorId>jar-with-dependencies</descriptorId> > </configuration> > </execution> > </executions> > </plugin> > When I command "mvn install", maven will build the whole project first then > do the executions. But I noticed that every execution, It rebuilds the > project upto package phase. Is this the correct behavior? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
