Hi,

I configure maven-bundle-plugin as the following:
          <instructions>
            <Fragment-Host> 
org.scala-lang-osgi.scala-actors;bundle-version=${scala.version}</Fragment-Host>
          </instructions>
But in MANIFEST.MF, it is:
      Fragment-Host: org.scala-lang-osgi.scala-actors; 
bundle-version=2.10.0-SHANPSHOT

It cannot be deployed in Felix, the error message is :
org.osgi.framework.BundleException: Could not create bundle object.
...
Caused by: java.lang.NumberFormatException: For input string: "0-SNAPSHOT"
Change "-SNAPSHOT"  to ".SNAPSHOT", that is,
   Fragment-Host: org.scala-lang-osgi.scala-actors; 
bundle-version=2.10.0.SHANPSHOT
fix the issue.

Is it a bug or the incorrect way I specify the version for it.

Thanks

Guofeng

Reply via email to