well, seems that there is no way to accomplish that easily.

but I found a working solution. I created another mojo in project B extending the mojo class from project A and changed the lifecycle settings properly...

best,

Cristiano

On 10-09-2014 12:18, Cristiano Gavião wrote:
Hello,

I have two maven plugins  A and B.

When used separated I can extend the dependencies of A using this:

     <plugin>
          <artifactId>org.A</artifactId>
          <dependencies>
              <dependency>
<artifactId>anDependency</artifactId>
              </dependency>
           </dependencies>
</plugin>

Now I have the plugin B that defines a custom lifecycle and there I added a reference to a goal of plugin A in the install phase.

question is: how can I extend the plugin A dependencies in this case ? (note that final user should declares only the plugin B in its pom)

thanks a lot

regards,

Cristiano




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to