Hi,
My project has a structure similar to this:
root
+child1
+child2
I use the exec goal in the root project.
During the compilation process of both children the exec goal from root
project is executed and causes errors - thus I would like to skip it. I
would like it to be
This should work. In root/pom.xml, in the exec plugin config, set
inherited=false.
plugin
artifactIdmaven-exec-plugin/artifactId
inheritedfalse/inherited
Alternatively, you could put the exec plugin in a profile, and only
use that profile when building from the root ie -Pdoexec.
Wayne
On
Inherited=false works!
Thanks
Wayne Fay wrote:
This should work. In root/pom.xml, in the exec plugin config, set
inherited=false.
plugin
artifactIdmaven-exec-plugin/artifactId
inheritedfalse/inherited
Alternatively, you could put the exec plugin in a profile, and only
use that