[ http://jira.codehaus.org/browse/MECLIPSE-140?page=comments#action_76679 ] 
            
Damien Lecan commented on MECLIPSE-140:
---------------------------------------

In OSGi spec R4 ยง3.2.4, you can see that version can have a qualifier, but 
separator must be dot '.', not '-'

version ::=
major( '.' minor ( '.' micro ( '.' qualifier )? )? )?
major ::= number
minor ::= number
micro ::= number
qualifier ::= ( alphanum | '_' | '-' )+

So, 2.0.0-SNAPSHOT should be just renamed in 2.0.0.SNAPSHOT (-SNAPSHOT to 
.SNAPSHOT)

But 2.0.0-beta-2 should be renamed in 2.0.0.beta-2 too

Title of this bug should be changed

> SNAPSHOT plugin versions are not supported for PDE projects. Error in 
> MANIFEST.MF
> ---------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-140
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-140
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: PDE support
>    Affects Versions: 2.3
>            Reporter: David Boden
>            Priority: Critical
>         Attachments: maven-eclipse-plugin-447076.patch, patch.txt
>
>
> If the version declared in your pom.xml is 2.0.0-SNAPSHOT then the following 
> is written to MANIFEST.MF:
> Bundle-Version: 2.0.0-SNAPSHOT
> Eclipse complains:
> assertion failed: The service (3rd) component of plug-in version identifier, 
> "2.0.0-SNAPSHOT", must be numeric.
> Is the resolution to strip the "-SNAPSHOT" string off the end of the version?

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


Reply via email to