[ 
https://issues.apache.org/jira/browse/MSHARED-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated MSHARED-432:
-----------------------------------
    Summary: Maven Archiver creates invalid Specification-Version string for 
SNAPSHOTs  (was: Maven Archiver creates invalid 
Implementation-/Specification-Version string for SNAPSHOTs)

> Maven Archiver creates invalid Specification-Version string for SNAPSHOTs
> -------------------------------------------------------------------------
>
>                 Key: MSHARED-432
>                 URL: https://issues.apache.org/jira/browse/MSHARED-432
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-2.6
>         Environment: Oracle Weblogic 12.x
>            Reporter: Jörg Sesterhenn
>
> Steps to reproduce:
> 1) Build any SNAPSHOT-version of a war or ear with the configuration shown 
> here to add implementation- and Specification-Version to the archives 
> metadata:
> http://maven.apache.org/shared/maven-archiver/examples/manifest.html
> The added Version-String looks like *1.0.0-SNAPSHOT* !
> 2) Deploy this archive in Weblogic 12.x
> This results in weblogic not deploying the archive and throwing the following 
> errors:
> {code}
> BEA-160142: The library at {0} has an illegal Specification-Version: {1}. The 
> Specification-Version must be a valid version string: int(.int)*, int >=0; 
> for example: 2.1.1
>     Cause: The Specification-Version for the library at {0} cannot be parsed.
>     Action: Fix the library Specification-Version to conform to the required 
> version string syntax.
>     Level: 1
>     Type: ERROR
>     Impact: J2EE
> BEA-160143: Library {0} has an illegal Specification-Version: {1}. The 
> Specification-Version must be a valid version string: int(.int)*, int >=0. 
> For example: 2.1.1.
>     Cause: The library cannot be statically deployed because its MBean has an 
> invalid Specification-Version.
>     Action: Undeploy the library and deploy it again with a correct 
> Specification-Version.
>     Level: 1
>     Type: ERROR
>     Impact: J2EE
> {code}
> see http://docs.oracle.com/middleware/1213/core/FMERR/chapter_bea_messages.htm
> _Proposed solution:_
> Omit the "-SNAPSHOT" String in the version metadata
> _Alternative  solution:_
> Replace "-SNAPSHOT" with ".TIMESTAMP", where TIMESTAMP consists only of 
> positive integers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to