[
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
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues