[
http://jira.codehaus.org/browse/MJBOSSPACK-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179941#action_179941
]
Paul Gier commented on MJBOSSPACK-21:
-------------------------------------
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?
> included jar not renamed
> ------------------------
>
> Key: MJBOSSPACK-21
> URL: http://jira.codehaus.org/browse/MJBOSSPACK-21
> Project: Maven 2.x JBoss Packaging Plugin
> Issue Type: Bug
> Components: sar
> Affects Versions: 2.0-beta-1
> Environment: maven 2.0
> Reporter: laurent choblet
> Priority: Minor
>
> 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>${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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email