NumberFormatException upon installing the shaded subprojects - asm and reflect 
- into Apache Felix 2.0.0
--------------------------------------------------------------------------------------------------------

                 Key: XBEAN-141
                 URL: https://issues.apache.org/jira/browse/XBEAN-141
             Project: XBean
          Issue Type: Bug
          Components: reflect
    Affects Versions: 3.6
            Reporter: Jacek Laskowski
             Fix For: 3.7


The header Bundle-Version is set to 3.7-SNAPSHOT and it's done manually in 
pom.xml while shading. It should be 3.7.0.SNAPSHOT as maven-bundle-plugin does 
for the other subprojects.

jlaskow...@work /cygdrive/c/apps/felix-framework
$ java -jar bin/felix.jar

Welcome to Felix
================

-> version
2.0.0
-> install 
file:/C:\.m2\org\apache\xbean\xbean-asm-shaded\3.7-SNAPSHOT\xbean-asm-shaded-3.7-SNAPSHOT.jar
java.lang.NumberFormatException: For input string: "7-SNAPSHOT"
        at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:458)
        at java.lang.Integer.parseInt(Integer.java:499)
        at org.osgi.framework.Version.<init>(Version.java:129)
        at org.osgi.framework.Version.parseVersion(Version.java:218)
        at 
org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:77)
        at org.apache.felix.framework.ModuleImpl.<init>(ModuleImpl.java:200)
        at 
org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:1095)
        at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:82)
        at org.apache.felix.framework.Felix.installBundle(Felix.java:2379)
        at org.apache.felix.framework.Felix.installBundle(Felix.java:2282)
        at 
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
        at 
org.apache.felix.shell.impl.InstallCommandImpl.install(InstallCommandImpl.java:104)
        at 
org.apache.felix.shell.impl.InstallCommandImpl.execute(InstallCommandImpl.java:68)
        at 
org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
        at 
org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:184)
        at java.lang.Thread.run(Thread.java:619)
java.lang.NumberFormatException: For input string: "7-SNAPSHOT"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to