I have an assembly descriptor with the following line:
<outputDirectory>${artifactId}-${artifact.version}</outputDirectory>
Which works fine. However, I would like to do the following:
<outputDirectory>${artifactId}-${artifact.version.major}.${artifact.version.minor}</outputDirectory>
which doesn't seem to be working. Likewise, I want to filter some files in
the distribution with major.minor (instead of the full version), but it
doesn't seem possible.
The use case is that I don't want to the outputDirectory to have the full
version string (including build number, classifier, etc).
Is this possible in Assembly Plugin 2.2-beta-2, or am I going to have to
hack together some ant tasks to dynamically write out a filtering file to
target?
--
View this message in context:
http://www.nabble.com/Assembly-outputDirectory-and-filtering---possible-to-access-major-and-minor-versions--tp17053920s177p17053920.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]