[ http://jira.codehaus.org/browse/MECLIPSE-140?page=all ]

fabrizio giustina closed MECLIPSE-140.
--------------------------------------

         Assignee: fabrizio giustina
       Resolution: Fixed
    Fix Version/s: 2.3

I agree that if if you're using PDE you have to abide by the OSGI versioning 
limitations, but since the use of the "-SNAPSHOT" suffix is a maven standard I 
think that handling it in plugins will make life easier for many maven/eclipse 
users.
Fixed in svn by replacing the "-" with a comma and moving the "SNAPSHOT" 
version to the 4th tokens in a version string (first 3 tokens must be numeric),


> 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
>         Assigned To: fabrizio giustina
>            Priority: Critical
>             Fix For: 2.3
>
>         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