[ http://jira.codehaus.org/browse/MNG-709?page=comments#action_44293 ] 

Jason Grant commented on MNG-709:
---------------------------------

Would that approach allow me to specify, say, <phase>generate-sources</phase> 
if I wanted to create some zips for inclusion into tests, etc.?

WRT your question about anyone else working on this - I'm not game to fiddle 
about with classes like DefaultLifecycleExecutor just yet, so I'll work on the 
assembly stuff, as described in #MNG-483 and #MNG-723.

> lifecycle can end up in an infinite loop
> ----------------------------------------
>
>          Key: MNG-709
>          URL: http://jira.codehaus.org/browse/MNG-709
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugins
>     Versions: 2.0-beta-1
>  Environment: linux fedora core 3
>     Reporter: Jason Grant
>     Assignee: John Casey
>     Priority: Blocker
>      Fix For: 2.0-beta-1

>
>
> The pom source below used to work for alpha-3 subject to the comment about 
> phase.  I just built maven2 from the trunk head, and AssemblyMojo.execute() 
> no longer gets called.  If I call it from the command-line, it works fine.  
> Interestingly, if I uncomment the phase clause, the m2 script goes into an 
> infinite loop.
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-assembly-plugin</artifactId>
>         <configuration>
>            <descriptor>src/assemble/zip-source.xml</descriptor>
>         </configuration>
>         <executions>
>           <execution>
>           <!-- Bug in alpha: phase was not defined in the mojo javadoc so we 
> need the element below -->
>             <!--phase>package</phase-->
>             <goals>
>               <goal>assembly</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
>     </plugins>
>   </build>

-- 
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]

Reply via email to