Hi all,
codegen/org.wso2.carbon.codegen/pom.xml of the Codegen component in trunk,
uses the following as the imported osgi version range for axis2 package

org.apache.axis2.*; version="[${axis2.osgi.version}, 1.5)",

This component gave the following error
[INFO] [bundle:install]
[INFO] Parsing file:/home/waruna/.m2/repository/repository.xml
[INFO] Installing
org/wso2/carbon/org.wso2.carbon.codegen/2.1.0-SNAPSHOT/org.wso2.carbon.codegen-2.1.0-SNAPSHOT.jar
java.lang.NumberFormatException: For input string: "[null, 1"
    at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:447)
    at java.lang.Integer.parseInt(Integer.java:497)
    at org.osgi.framework.Version.<init>(Version.java:127)
    at
org.osgi.impl.bundle.obr.resource.VersionRange.<init>(VersionRange.java:49)
    at
org.osgi.impl.bundle.obr.resource.ManifestEntry.addParameter(ManifestEntry.java:92)
    at
org.osgi.impl.bundle.obr.resource.Manifest.getEntries(Manifest.java:210)
    at org.osgi.impl.bundle.obr.resource.Manifest.entry(Manifest.java:123)
    at org.osgi.impl.bundle.obr.resource.Manifest.parse(Manifest.java:73)
    at org.osgi.impl.bundle.obr.resource.Manifest.<init>(Manifest.java:42)



Doesn't it need to be changed to the following

org.apache.axis2.*; version="${axis2.osgi.version.range}",


Thanks,
Waruna
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to