Oups ...
here is what I did :
in my main pom I added:
<resources>
<resource>
<targetPath>myLocation/${groupId}/${artifactId}</targetPath>
<directory>${basedir}</directory>
<includes>
<include>pom.xml</include>
</includes>
</resource>
</resources>
When I run that on component A that contains sub component B and C nothing
appends ...
when I run it on B or C I get it done ... I want that to be inherited and
when executed from A I wand B and C copying the pom :o(
any idea ?
Guillaume
John Casey-3 wrote:
>
> why not add a <resource/> with the directory pointed at ${basedir}, and a
> single include of pom.xml with excludes of **/*?
>
> Then, your pom would be copied into target/classes on prepare-resources,
> IIRC.
>
> -john
>
>
--
View this message in context:
http://www.nabble.com/Is-execution-inheritance-working--t1438786.html#a3895618
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]