Hi
All i'm trying to maven-build number in assembly
like when i create project.zip file from assembly:assembly goal i want to
append a buildNumber from maven-buildnumber-plugin
my jar files getting created fine like project.jar_r100
but in my zip file the {buildNumber}value is not being replaced
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>maven-buildnumber-plugin</artifactId>
<version>0.9.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>true</doCheck>
<doUpdate>true</doUpdate>
<format>{0,number}</format>
<items>
<item>buildNumber0</item>
</items>
</configuration>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>project_r{buildNumber}</finalName>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
so in this the final output zip file has name like project_r{buildNumber},
even though build numbers are getting created.
Please help
Thanks,
Raghu |
Disclaimer: This electronic mail and any attachments are confidential and may
be privileged. If you are not the intended recipient, please notify the sender
immediately by replying to this email, and destroy all copies of this email and
any attachments. Thank you.