Thanks, it worked :-)
Adrian.

franz see wrote:
Good day to you, Adrian,
Trying doing this instead

...
  <compile>
org.foo:foo-maven:compile, org.foo:foo-maven:validate-xml,
    org.foo:foo-maven:validate
  </compile>
...

For examples, see the package and install phases of the 'maven-plugin'
role-hint in [1].

Cheers,
Franz

[1]
http://svn.apache.org/repos/asf/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml


Adrian Herscu-2 wrote:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to