Hi Milan, This issue has been fixed now, can you please pull the required repos and check?
Thank You! On Wed, May 11, 2016 at 3:14 PM, Milan Perera <[email protected]> wrote: > Hi all, > > We are getting the following exception while building the product > after upgrading carbon.identity to 5.1.1-SNAPSHOT. > > Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 For input > string: "${equinox" java.lang.NumberFormatException: For input string: > "${equinox" > > Product publishing ended with the following exception: > java.lang.NumberFormatException: For input string: "${equinox" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Integer.parseInt(Integer.java:481) > at java.lang.Integer.parseInt(Integer.java:527) > at org.osgi.framework.Version.<init>(Version.java:127) > at org.osgi.framework.Version.parseVersion(Version.java:225) > at > org.eclipse.osgi.service.resolver.VersionRange.<init>(VersionRange.java:92) > at > org.eclipse.osgi.internal.resolver.StateBuilder.getVersionRange(StateBuilder.java:686) > at > org.eclipse.osgi.internal.resolver.StateBuilder.addImportPackages(StateBuilder.java:289) > at > org.eclipse.osgi.internal.resolver.StateBuilder.createImportPackages(StateBuilder.java:268) > at > org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:113) > at > org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:32) > at > org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.createBundleDescription(BundlesAction.java:531) > at > org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.createBundleDescription(BundlesAction.java:546) > at > org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.getBundleDescriptions(BundlesAction.java:846) > at > org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.perform(BundlesAction.java:657) > at > org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:207) > at > org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.executeBatch(SimpleArtifactRepository.java:1294) > at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:231) > at > org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:283) > at > org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:253) > at > org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.start(AbstractPublisherApplication.java:315) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) > at > org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26) > at java.lang.Thread.run(Thread.java:722) > > While searching for a reason, it has been noticed that in [1], even > though the version is mentioned, the version declaration is not available > in the [2]. > Hence the error throws. Once we remove that version declaration (version=" > ${equinox.osgi.stax-api.imp.pkg.version.range}") from [1], problem was > solved. > > Since we are getting javax.xml.stream from the platform, do we need to > explicitly declare the version there ? > > > [1] > https://github.com/wso2-extensions/identity-user-ws/blob/master/components/org.wso2.carbon.um.ws.api/pom.xml#L97 > [2] > https://github.com/wso2-extensions/identity-extension-parent/blob/master/pom.xml > > -- > *Milan Perera *| Software Engineer > WSO2, Inc | lean. enterprise. middleware. > #20, Palm Grove, Colombo 03, Sri Lanka > Mobile: +94 77 309 7088 | Work: +94 11 214 5345 > Email: [email protected] <[email protected]> | Web: www.wso2.com > <http://lk.linkedin.com/in/milanharinduperera> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Chamila Dilshan Wijayarathna,* Software Engineer Mobile:(+94)788193620 WSO2 Inc., http://wso2.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
