Hi,

I've got a general problem: the core maven can't generate all artifact, so
there are some plugin to do that for a specific context (for instance,
maven-antrun-plugin ). How can we do a dependency to the artifact generated
by a plugin ?

I tried to
 - configure the packaging of the pom with the same packaging of the plugin
 - generate the artifact from the plugin with the same path that the pom's
target artifact
 => the plugin replace the artifact generated by the core.

This works well in a simple project: you can deploy your artifact in your
local repository and make a dependency to it from another project.

BUT, if you do this kind of dependency in a multimodule project the global
build do not work: the dependency is made with the artifact generated by the
core and not by the plugin....

An idea ?

Regards,

Gerald Reinhart

Reply via email to