[ http://jira.codehaus.org/browse/MNG-1831?page=all ]
Allan Ramirez updated MNG-1831:
-------------------------------
Description:
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?
was:
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?
> 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]