You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jonathan Vila (JIRA)" <ji...@apache.org> on 2016/03/26 09:52:25 UTC

[jira] [Created] (FELIX-5226) When using the version macro in ImportPackage it complains about no version specified

Jonathan Vila created FELIX-5226:
------------------------------------

             Summary: When using the version macro in ImportPackage it complains about no version specified
                 Key: FELIX-5226
                 URL: https://issues.apache.org/jira/browse/FELIX-5226
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-3.0.0
         Environment: Mac OS, java 1.8
            Reporter: Jonathan Vila


When I use this expression in my maven-bundle-plugin configuration :
<Import-Package><![CDATA[com.mypackage.base*;version="[$<version;==>,$<version;=+>)",*]]></Import-Package>

It always complain with :
 No version specified for ${version} or ${range} and no implicit version ${@} either, mask===

Also I've tried using range macro but seems to be mandatory the argument with the version and it doesnt accept the $(@) macro.




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