Platform: maven 2.0.4
Is it possible to refer to an artifactItem's own values inside the
<artifactItem> element?
Specifically I would like to do something like this:
<artifactItem>
<groupId>org.somewhere.bundle</groupId>
<artifactId>org.somewhere.bundle</artifactId>
<version>1.0.0</version>
<type>jar</type>
<classifier>sources</classifier>
<outputDirectory>${target.plugin.dir}/${source.plugin.name}-${source.plugin.version}/src/${artifactId}_${version}</outputDirectory>
<destFileName>src.zip</destFileName>
</artifactItem>
Note the uses of ${artifactId} and ${version} in at the end of the
<outputDirectory> value. That's where I would like to get the values
set earlier in the <artifactItem>.
(For those who think they recognize it... yep! This is a step towards
creating an eclipse source bundle for debugging into plugins that make
up the PDE target platform. Specifically, this is pulling down jar
file source attachments from the maven repo and installing them into
an eclipse source bundle)
Thanx!
- Steinar
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]