[weld-issues] [JBoss JIRA] Commented: (WELD-869) Weld OSGi bundle reports version as ${parsedVersion.osgiVersion}

Dan Allen (JIRA) jira-events at lists.jboss.org
Mon Jul 18 18:37:23 EDT 2011


    [ https://issues.jboss.org/browse/WELD-869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614922#comment-12614922 ] 

Dan Allen commented on WELD-869:
--------------------------------

Even simpler, just add this property to the bundles/osgi/pom.xml:

{code:xml}
<parsedVersion.osgiVersion>${project.version}</parsedVersion.osgiVersion>
{code}

Now GlassFish will report the Weld version correctly when it starts.

> Weld OSGi bundle reports version as ${parsedVersion.osgiVersion}
> ----------------------------------------------------------------
>
>                 Key: WELD-869
>                 URL: https://issues.jboss.org/browse/WELD-869
>             Project: Weld
>          Issue Type: Bug
>          Components: OSGi support
>    Affects Versions: 1.1.0.Final
>            Reporter: Dan Allen
>            Priority: Minor
>
> When Weld starts on GlassFish, it reports it's version as:
> WELD-000900 ${parsedVersion (osgiVersion})
> The version is read from the MANIFEST.MF, which has this line:
> Specification-Version: ${parsedVersion.osgiVersion}
> The replacement doesn't seem to be working properly in the osgi build.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list