maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandra Patni (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MWAR-112) The package RELEASE version of jar files are named jarname-RELEASE.jar
Date Wed, 05 Dec 2007 23:07:57 GMT

    [ http://jira.codehaus.org/browse/MWAR-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115968
] 

Chandra Patni commented on MWAR-112:
------------------------------------

If the RELEASE version of mylib is 2.1.3.
In WEB-INF/lib there should be filename mylib-2.1.3.jar. Not mylib-RELEASE.jar. mylib-RELEASE.jar
requires undesirable jar surgery to figure out the version.



> The package RELEASE version of jar files are named jarname-RELEASE.jar
> ----------------------------------------------------------------------
>
>                 Key: MWAR-112
>                 URL: http://jira.codehaus.org/browse/MWAR-112
>             Project: Maven 2.x War Plugin
>          Issue Type: Bug
>         Environment: Maven version: 2.0.7
> Java version: 1.5.0_11
> OS name: "windows xp" version: "5.1" arch: "x86"
>            Reporter: Chandra Patni
>            Priority: Minor
>
> Suppose, I have dependency
>     <dependency>
>       <groupId>mygroup</groupId>
>       <artifactId>mylib</artifactId>
>       <version>RELEASE</version>
>     </dependency>
> In a war packaging, if I run mvn package, the war file contains mylib-RELEASE.jar
> Similarly, if you run mvn clean compile war:exploded, the exploded dir contains mylib-RELEASE.jar
> It packages dereferenced value of RELEASE if I do,
> mvn clean compile
> mvn war:exploded

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

        

Mime
View raw message