Details
Description
Hi
i'd like to package some jar in a sar thanks to the jboss-sar goal.
But the jar i included are not renamed and still have the version-snpashot name dispite i put the "bundleFileName" tag
ex
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-packaging-maven-plugin</artifactId>
<version>2.0-beta-1</version>
<extensions>true</extensions>
<configuration>
<encoding>UTF-8</encoding>
<archive>
<manifestEntries>
<Implementation-Version>$
</Implementation-Version>
</manifestEntries>
</archive>
<excludeTransitive>true</excludeTransitive>
<finalName>mysar</finalName>
<modules>
<jarModule>
<groupId>my-sar</groupId>
<artifactId>project</artifactId>
<includeInApplicationXml>true</includeInApplicationXml>
<bundleDir>/</bundleDir>
<bundleFileName>project</bundleFileName>
</jarModule>
<jarModule>
<groupId>my-sar</groupId>
<artifactId>myproject</artifactId>
<includeInApplicationXml>true</includeInApplicationXml>
<bundleDir>/</bundleDir>
<bundleFileName>myproject</bundleFileName>
</jarModule>
</modules>
do you have an id to rename the jar into the lib folder
thanks
Just to clarify the issue, you want to be able to include project dependencies in the sar, but rename the jars so that the version is not in the name? So instead of [artifactId]-[version].jar the file in the lib dir would just be [artifactId].jar. Is this right?