You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2006/01/13 07:56:01 UTC

[jira] Commented: (MASSEMBLY-37) Assembly plugin should have the option not to repeat the build process every

    [ http://jira.codehaus.org/browse/MASSEMBLY-37?page=comments#action_55691 ] 

Dan Tran commented on MASSEMBLY-37:
-----------------------------------

dont think the patch will work unless we break AbtractAssemblyMojo into AbstractAssemblyMojo and AbstractAttachedAssemblyMojo


> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org