maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Herscu <bmf1...@fastmail.fm>
Subject [m2] is it possible to bind multiple mojos to a build phase?
Date Sun, 01 Apr 2007 12:48:28 GMT
Hi all,

I tried to bind several mojos to the same build phase

<component-set>
   <components>

     <component>
       <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
       <role-hint>foo</role-hint>
 
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
       <configuration>
         <lifecycles>
           <lifecycle>
             <id>default</id>
             <phases>
 
<process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources>
               <compile>org.foo:foo-maven:compile</compile>
               <compile>org.foo:foo-maven:validate-xml</compile>
               <compile>org.foo:foo-maven:validate</compile>

...and it seems like the only one entry is bound.

Any suggestions?
Adrian.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message