[ http://jira.codehaus.org/browse/MASSEMBLY-37?page=all ]
Brett Porter updated MASSEMBLY-37: ---------------------------------- Fix Version: 2.1 > Assembly plugin should have the option not to repeat the build process every > <execution> > ---------------------------------------------------------------------------------------- > > Key: MASSEMBLY-37 > URL: http://jira.codehaus.org/browse/MASSEMBLY-37 > Project: Maven 2.x Assembly Plugin > Type: Bug > Environment: Windows XP > Reporter: Allan Ramirez > Fix For: 2.1 > Attachments: MASSEMBLY-37.patch, 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]