jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x JBoss Packaging Plugin
  • Maven 2.x JBoss Packaging Plugin
  • MJBOSSPACK-21

included jar not renamed

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0-beta-1
  • Fix Version/s: 2.0
  • Component/s: sar
  • Labels:
    None
  • Environment:
    maven 2.0
  • Number of attachments :
    0

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>$

{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

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Paul Gier added a comment - 10/Jun/09 3:31 PM

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?

Show
Paul Gier added a comment - 10/Jun/09 3:31 PM 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?
Hide
Permalink
laurent choblet added a comment - 11/Jun/09 3:28 AM

yes it is exactly that

Show
laurent choblet added a comment - 11/Jun/09 3:28 AM yes it is exactly that
Hide
Permalink
Paul Gier added a comment - 11/Jun/09 1:56 PM

Fixed in r9956

Show
Paul Gier added a comment - 11/Jun/09 1:56 PM Fixed in r9956
Hide
Permalink
laurent choblet added a comment - 12/Jun/09 2:45 AM

thanks a lot !

Show
laurent choblet added a comment - 12/Jun/09 2:45 AM thanks a lot !

People

  • Assignee:
    Paul Gier
    Reporter:
    laurent choblet
Vote (0)
Watch (0)

Dates

  • Created:
    05/May/09 8:24 AM
    Updated:
    12/Jun/09 2:45 AM
    Resolved:
    11/Jun/09 1:56 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.