You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Federico Bertola <fe...@gmail.com> on 2015/03/25 02:36:45 UTC
Custom plugin modifying effective pom problem
Hi all,
I'm experimenting with a custom plugin that simply need to inject some
dependencies at build time.
If i run:
mvn customplugin:goal help:effective-pom
I'm able to see the injected dependency, but if I run:
mvn customplugin:goal compile
The compilation fails miserably because some class that rely on that
dependency.
Why it ignores the effective pom? It's some particular phase to wire my
plugin to? And ultimately, it is possible to achieve what i want?
I would also like to note that it works wonderfully with the maven
eclipse plugin, so maybe it's a simple issue.
Thank in advance for your help!
Best regards,
Federico.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org