Re: [Dev] Error in pom file
On Wed, Jan 14, 2015 at 1:22 AM, Bhathiya Jayasekara wrote: > Hi Pamod, > > I fixed this in wso2-dev. Please try with it now. > > @Prabath: Please sync wso2 repo. (carbon-storage-management repo) > Done. Cheers, Prabath > > Thanks, > Bhathiya > > On Tue, Jan 13, 2015 at 9:52 PM, Pamod Sylvester wrote: > >> Thanks for the help Sameera. The feature could be located under the >> temporary directory created during feature extraction. >> >> >> > version="4.3.0.SNAPSHOT"> >> This feature contains the bundles required for Cassandra >> client >> %copyright >> %license >> >> > version="1.1.1.6"/> >> >> >> > version="4.3.0"/> >> >> >> > version="4.3.0"/> >> >> > version="4.3.0.SNAPSHOT"/> >> >> >>* > version="0.0.0.${wso2_kernel_version}"/>* >> >> >> >> Thanks, >> Pamod >> >> On Tue, Jan 13, 2015 at 7:14 PM, Sameera Jayasoma >> wrote: >> >>> Try this in your p2-profile-gen/target directory. This must be coming >>> from features rather than plugins. >>> >>> On Tue, Jan 13, 2015 at 7:12 PM, Pamod Sylvester wrote: >>> Thanks Sameera. Tried it out. It doesn't show a manifest with the above string. Might be a different issue. The full log is the following Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${wso2_kernel_version} java.lang.IllegalArgumentException: Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${wso2_kernel_version} Product publishing ended with the following exception: java.lang.IllegalArgumentException: Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${wso2_kernel_version} at org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) at org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) at org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) at org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60) at org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.getFeatures(FeaturesAction.java:518) at org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.perform(FeaturesAction.java:604) 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.
Re: [Dev] Error in pom file
Hi Pamod, I fixed this in wso2-dev. Please try with it now. @Prabath: Please sync wso2 repo. (carbon-storage-management repo) Thanks, Bhathiya On Tue, Jan 13, 2015 at 9:52 PM, Pamod Sylvester wrote: > Thanks for the help Sameera. The feature could be located under the > temporary directory created during feature extraction. > > > version="4.3.0.SNAPSHOT"> > This feature contains the bundles required for Cassandra > client > %copyright > %license > >version="1.1.1.6"/> > > >version="4.3.0"/> > > >version="4.3.0"/> > >version="4.3.0.SNAPSHOT"/> > > >* version="0.0.0.${wso2_kernel_version}"/>* > > > > Thanks, > Pamod > > On Tue, Jan 13, 2015 at 7:14 PM, Sameera Jayasoma > wrote: > >> Try this in your p2-profile-gen/target directory. This must be coming >> from features rather than plugins. >> >> On Tue, Jan 13, 2015 at 7:12 PM, Pamod Sylvester wrote: >> >>> Thanks Sameera. Tried it out. It doesn't show a manifest with the above >>> string. Might be a different issue. The full log is the following >>> >>> Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format >>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >>> 0.0.0.${wso2_kernel_version} java.lang.IllegalArgumentException: Format >>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >>> 0.0.0.${wso2_kernel_version} >>> >>> Product publishing ended with the following exception: >>> java.lang.IllegalArgumentException: Format >>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >>> 0.0.0.${wso2_kernel_version} >>> at >>> org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) >>> at >>> org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) >>> at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) >>> at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) >>> at >>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) >>> at >>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) >>> at >>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) >>> at >>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) >>> at >>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) >>> at >>> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) >>> at >>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377) >>> at >>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) >>> at >>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) >>> at >>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) >>> at >>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) >>> at >>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) >>> at >>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) >>> at >>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) >>> at >>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) >>> at >>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) >>> at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) >>> at >>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126) >>> at >>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60) >>> at >>> org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.getFeatures(FeaturesAction.java:518) >>> at >>> org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.perform(FeaturesAction.java:604) >>> 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.eq
Re: [Dev] Error in pom file
Thanks for the help Sameera. The feature could be located under the temporary directory created during feature extraction. This feature contains the bundles required for Cassandra client %copyright %license * * Thanks, Pamod On Tue, Jan 13, 2015 at 7:14 PM, Sameera Jayasoma wrote: > Try this in your p2-profile-gen/target directory. This must be coming from > features rather than plugins. > > On Tue, Jan 13, 2015 at 7:12 PM, Pamod Sylvester wrote: > >> Thanks Sameera. Tried it out. It doesn't show a manifest with the above >> string. Might be a different issue. The full log is the following >> >> Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format >> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >> 0.0.0.${wso2_kernel_version} java.lang.IllegalArgumentException: Format >> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >> 0.0.0.${wso2_kernel_version} >> >> Product publishing ended with the following exception: >> java.lang.IllegalArgumentException: Format >> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >> 0.0.0.${wso2_kernel_version} >> at >> org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) >> at >> org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) >> at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) >> at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) >> at >> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) >> at >> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) >> at >> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) >> at >> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) >> at >> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) >> at >> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) >> at >> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377) >> at >> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) >> at >> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) >> at >> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) >> at >> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) >> at >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) >> at >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) >> at >> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) >> at >> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) >> at >> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) >> at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) >> at >> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126) >> at >> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60) >> at >> org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.getFeatures(FeaturesAction.java:518) >> at >> org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.perform(FeaturesAction.java:604) >> 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:662) >> >> Product publisher application was executed with the following arguments: >> -source >> >> /home/pamod/Desktop/dev/dev_playground/Release_Test_3.0.0/product-mb/modules/p2-profile/target/tmp.1421155711761/featureExtract >> -metadataRepository >> >> file:/home/pamod/Desktop/dev/d
Re: [Dev] Error in pom file
Try this in your p2-profile-gen/target directory. This must be coming from features rather than plugins. On Tue, Jan 13, 2015 at 7:12 PM, Pamod Sylvester wrote: > Thanks Sameera. Tried it out. It doesn't show a manifest with the above > string. Might be a different issue. The full log is the following > > Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${wso2_kernel_version} java.lang.IllegalArgumentException: Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${wso2_kernel_version} > > Product publishing ended with the following exception: > java.lang.IllegalArgumentException: Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${wso2_kernel_version} > at > org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) > at > org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) > at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) > at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) > at > org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) > at > org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) > at > org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) > at > org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) > at > com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) > at > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) > at > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) > at > org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126) > at > org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60) > at > org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.getFeatures(FeaturesAction.java:518) > at > org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.perform(FeaturesAction.java:604) > 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:662) > > Product publisher application was executed with the following arguments: > -source > > /home/pamod/Desktop/dev/dev_playground/Release_Test_3.0.0/product-mb/modules/p2-profile/target/tmp.1421155711761/featureExtract > -metadataRepository > > file:/home/pamod/Desktop/dev/dev_playground/Release_Test_3.0.0/product-mb/modules/p2-profile/target/p2-repo > -metadataRepositoryName > wso2mb-p2-profile > -artifactRepository > > file:/home/pamod/Desktop/dev/dev_playground/Release_Test_3.0.0/product-mb/modules/p2-profile/target/p2-repo > -artifactRepositoryName > wso2mb-p2-profile > -publishArtifacts > -publishArtifactRepository > -compress > -append > [ERROR] P2 publisher return code was 1 > org.apache.m
Re: [Dev] Error in pom file
Thanks Sameera. Tried it out. It doesn't show a manifest with the above string. Might be a different issue. The full log is the following Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${wso2_kernel_version} java.lang.IllegalArgumentException: Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${wso2_kernel_version} Product publishing ended with the following exception: java.lang.IllegalArgumentException: Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${wso2_kernel_version} at org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) at org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) at org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) at org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60) at org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.getFeatures(FeaturesAction.java:518) at org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.perform(FeaturesAction.java:604) 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:662) Product publisher application was executed with the following arguments: -source /home/pamod/Desktop/dev/dev_playground/Release_Test_3.0.0/product-mb/modules/p2-profile/target/tmp.1421155711761/featureExtract -metadataRepository file:/home/pamod/Desktop/dev/dev_playground/Release_Test_3.0.0/product-mb/modules/p2-profile/target/p2-repo -metadataRepositoryName wso2mb-p2-profile -artifactRepository file:/home/pamod/Desktop/dev/dev_playground/Release_Test_3.0.0/product-mb/modules/p2-profile/target/p2-repo -artifactRepositoryName wso2mb-p2-profile -publishArtifacts -publishArtifactRepository -compress -append [ERROR] P2 publisher return code was 1 org.apache.maven.plugin.MojoFailureException: P2 publisher return code was 1 at org.wso2.maven.p2.RepositoryGenMojo.generateRepository(RepositoryGenMojo.java:255) at org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:204) at org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191) at org.apache.maven.plugin.DefaultBuildPluginManage
Re: [Dev] Error in pom file
Very easy :) Place this inside the $CARBON_HOME directory and run. Then inside the extracted-jars directory, do a grep #!/bin/sh find repository/components/plugins -iname *.jar > jar-list.txt mkdir extracted-jars cd extracted-jars while read p; do a=${p#repository/components/plugins/} unzip ../$p -d $a done < ../jar-list.txt On Tue, Jan 13, 2015 at 6:01 PM, Pamod Sylvester wrote: > Hi All, > > When building we're experiencing the following, > > Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${wso2_kernel_version} java.lang.IllegalArgumentException: Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${wso2_kernel_version} > > SupunM pointed out its possibly due to the property not being grabbed from > the parent pom, as a solution it requires to search through the jars and > figure out which jar has the string {wso2_kernel_version} in Manifest > instead of the version. By any chance do any of you have a script written > already to do that ? > > Thanks, > Pamod > > > On Tue, Jan 13, 2015 at 9:10 AM, Chandana Napagoda > wrote: > >> Thanks Kasun. >> >> Regards, >> Chandana >> >> On Tue, Jan 13, 2015 at 9:06 AM, KasunG Gajasinghe >> wrote: >> >>> Hi Chandana, >>> >>> Merged the PR. >>> >>> On Tue, Jan 13, 2015 at 9:05 AM, Chandana Napagoda >>> wrote: >>> Adding Dev, On Tue, Jan 13, 2015 at 6:54 AM, Chandana Napagoda wrote: > Hi Kalpa, > > Your PR was not automatically merged into wso2 repo. Can you please > merge it[1]? > > [1]. https://github.com/wso2/carbon-qos/pull/10 > > Thanks > > > > On Wed, Jan 7, 2015 at 3:58 PM, Kalpa Welivitigoda > wrote: > >> Hi Pulasthi, >> >> Fixed it and sent a PR https://github.com/wso2-dev/carbon-qos/pull/7 >> >> On Wed, Jan 7, 2015 at 3:15 PM, Pulasthi Supun >> wrote: >> >>> Hi, >>> >>> The greg build is falling with the following error. It seems this is >>> because the version in the pom [1] is missing a "}". please check line >>> 76 >>> in the pom.xml. please correct this ASAP. >>> >>> >>> [INFO] Running Equinox P2 Publisher Application for Repository >>> Generation >>> [INFO] Command line: >>> /bin/sh -c cd >>> /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen >>> && >>> /home/pulasthi/software/java/jdk1.6.0_45/jre/bin/java -jar >>> /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar >>> -nosplash -application >>> org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source >>> /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/tmp.1420622170707/featureExtract >>> -metadataRepository >>> file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo >>> -metadataRepositoryName governance-profile-gen -artifactRepository >>> file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo >>> -artifactRepositoryName governance-profile-gen -publishArtifacts >>> -publishArtifactRepository -compress -append >>> Generating metadata for .. >>> Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 >>> Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to >>> parse >>> 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format >>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >>> 0.0.0.${carbon_kernel_version >>> >>> Product publishing ended with the following exception: >>> java.lang.IllegalArgumentException: Format >>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >>> 0.0.0.${carbon_kernel_version >>> at >>> org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) >>> at >>> org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) >>> at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) >>> at >>> org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) >>> at >>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) >>> at >>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) >>> at >>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) >>> at >>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) >>> at >>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) >>> at >>> com.sun.org.apach
Re: [Dev] Error in pom file
Hi All, When building we're experiencing the following, Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${wso2_kernel_version} java.lang.IllegalArgumentException: Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${wso2_kernel_version} SupunM pointed out its possibly due to the property not being grabbed from the parent pom, as a solution it requires to search through the jars and figure out which jar has the string {wso2_kernel_version} in Manifest instead of the version. By any chance do any of you have a script written already to do that ? Thanks, Pamod On Tue, Jan 13, 2015 at 9:10 AM, Chandana Napagoda wrote: > Thanks Kasun. > > Regards, > Chandana > > On Tue, Jan 13, 2015 at 9:06 AM, KasunG Gajasinghe > wrote: > >> Hi Chandana, >> >> Merged the PR. >> >> On Tue, Jan 13, 2015 at 9:05 AM, Chandana Napagoda >> wrote: >> >>> Adding Dev, >>> >>> On Tue, Jan 13, 2015 at 6:54 AM, Chandana Napagoda >>> wrote: >>> Hi Kalpa, Your PR was not automatically merged into wso2 repo. Can you please merge it[1]? [1]. https://github.com/wso2/carbon-qos/pull/10 Thanks On Wed, Jan 7, 2015 at 3:58 PM, Kalpa Welivitigoda wrote: > Hi Pulasthi, > > Fixed it and sent a PR https://github.com/wso2-dev/carbon-qos/pull/7 > > On Wed, Jan 7, 2015 at 3:15 PM, Pulasthi Supun > wrote: > >> Hi, >> >> The greg build is falling with the following error. It seems this is >> because the version in the pom [1] is missing a "}". please check line 76 >> in the pom.xml. please correct this ASAP. >> >> >> [INFO] Running Equinox P2 Publisher Application for Repository >> Generation >> [INFO] Command line: >> /bin/sh -c cd >> /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen && >> /home/pulasthi/software/java/jdk1.6.0_45/jre/bin/java -jar >> /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar >> -nosplash -application >> org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source >> /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/tmp.1420622170707/featureExtract >> -metadataRepository >> file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo >> -metadataRepositoryName governance-profile-gen -artifactRepository >> file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo >> -artifactRepositoryName governance-profile-gen -publishArtifacts >> -publishArtifactRepository -compress -append >> Generating metadata for .. >> Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 >> Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to >> parse >> 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format >> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >> 0.0.0.${carbon_kernel_version >> >> Product publishing ended with the following exception: >> java.lang.IllegalArgumentException: Format >> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >> 0.0.0.${carbon_kernel_version >> at >> org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) >> at >> org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) >> at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) >> at >> org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) >> at >> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) >> at >> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) >> at >> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) >> at >> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) >> at >> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) >> at >> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) >> at >> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377) >> at >> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) >> at >> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) >> at >> com.sun.org.apache.xerces.i
Re: [Dev] Error in pom file
Thanks Kasun. Regards, Chandana On Tue, Jan 13, 2015 at 9:06 AM, KasunG Gajasinghe wrote: > Hi Chandana, > > Merged the PR. > > On Tue, Jan 13, 2015 at 9:05 AM, Chandana Napagoda > wrote: > >> Adding Dev, >> >> On Tue, Jan 13, 2015 at 6:54 AM, Chandana Napagoda >> wrote: >> >>> Hi Kalpa, >>> >>> Your PR was not automatically merged into wso2 repo. Can you please >>> merge it[1]? >>> >>> [1]. https://github.com/wso2/carbon-qos/pull/10 >>> >>> Thanks >>> >>> >>> >>> On Wed, Jan 7, 2015 at 3:58 PM, Kalpa Welivitigoda >>> wrote: >>> Hi Pulasthi, Fixed it and sent a PR https://github.com/wso2-dev/carbon-qos/pull/7 On Wed, Jan 7, 2015 at 3:15 PM, Pulasthi Supun wrote: > Hi, > > The greg build is falling with the following error. It seems this is > because the version in the pom [1] is missing a "}". please check line 76 > in the pom.xml. please correct this ASAP. > > > [INFO] Running Equinox P2 Publisher Application for Repository > Generation > [INFO] Command line: > /bin/sh -c cd > /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen && > /home/pulasthi/software/java/jdk1.6.0_45/jre/bin/java -jar > /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar > -nosplash -application > org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source > /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/tmp.1420622170707/featureExtract > -metadataRepository > file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo > -metadataRepositoryName governance-profile-gen -artifactRepository > file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo > -artifactRepositoryName governance-profile-gen -publishArtifacts > -publishArtifactRepository -compress -append > Generating metadata for .. > Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${carbon_kernel_version > > Product publishing ended with the following exception: > java.lang.IllegalArgumentException: Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${carbon_kernel_version > at > org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) > at > org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) > at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) > at > org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) > at > org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) > at > org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) > at > org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) > at > org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) > at > com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) > at > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) > at > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) > at > org.eclipse.equinox.internal.p2.publ
Re: [Dev] Error in pom file
Hi Chandana, Merged the PR. On Tue, Jan 13, 2015 at 9:05 AM, Chandana Napagoda wrote: > Adding Dev, > > On Tue, Jan 13, 2015 at 6:54 AM, Chandana Napagoda > wrote: > >> Hi Kalpa, >> >> Your PR was not automatically merged into wso2 repo. Can you please merge >> it[1]? >> >> [1]. https://github.com/wso2/carbon-qos/pull/10 >> >> Thanks >> >> >> >> On Wed, Jan 7, 2015 at 3:58 PM, Kalpa Welivitigoda >> wrote: >> >>> Hi Pulasthi, >>> >>> Fixed it and sent a PR https://github.com/wso2-dev/carbon-qos/pull/7 >>> >>> On Wed, Jan 7, 2015 at 3:15 PM, Pulasthi Supun >>> wrote: >>> Hi, The greg build is falling with the following error. It seems this is because the version in the pom [1] is missing a "}". please check line 76 in the pom.xml. please correct this ASAP. [INFO] Running Equinox P2 Publisher Application for Repository Generation [INFO] Command line: /bin/sh -c cd /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen && /home/pulasthi/software/java/jdk1.6.0_45/jre/bin/java -jar /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar -nosplash -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/tmp.1420622170707/featureExtract -metadataRepository file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo -metadataRepositoryName governance-profile-gen -artifactRepository file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo -artifactRepositoryName governance-profile-gen -publishArtifacts -publishArtifactRepository -compress -append Generating metadata for .. Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${carbon_kernel_version Product publishing ended with the following exception: java.lang.IllegalArgumentException: Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${carbon_kernel_version at org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) at org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) at org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) at org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126) at org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60) at org.eclipse.eq
Re: [Dev] Error in pom file
Adding Dev, On Tue, Jan 13, 2015 at 6:54 AM, Chandana Napagoda wrote: > Hi Kalpa, > > Your PR was not automatically merged into wso2 repo. Can you please merge > it[1]? > > [1]. https://github.com/wso2/carbon-qos/pull/10 > > Thanks > > > > On Wed, Jan 7, 2015 at 3:58 PM, Kalpa Welivitigoda > wrote: > >> Hi Pulasthi, >> >> Fixed it and sent a PR https://github.com/wso2-dev/carbon-qos/pull/7 >> >> On Wed, Jan 7, 2015 at 3:15 PM, Pulasthi Supun wrote: >> >>> Hi, >>> >>> The greg build is falling with the following error. It seems this is >>> because the version in the pom [1] is missing a "}". please check line 76 >>> in the pom.xml. please correct this ASAP. >>> >>> >>> [INFO] Running Equinox P2 Publisher Application for Repository Generation >>> [INFO] Command line: >>> /bin/sh -c cd >>> /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen && >>> /home/pulasthi/software/java/jdk1.6.0_45/jre/bin/java -jar >>> /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar >>> -nosplash -application >>> org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source >>> /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/tmp.1420622170707/featureExtract >>> -metadataRepository >>> file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo >>> -metadataRepositoryName governance-profile-gen -artifactRepository >>> file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo >>> -artifactRepositoryName governance-profile-gen -publishArtifacts >>> -publishArtifactRepository -compress -append >>> Generating metadata for .. >>> Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format >>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >>> 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format >>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >>> 0.0.0.${carbon_kernel_version >>> >>> Product publishing ended with the following exception: >>> java.lang.IllegalArgumentException: Format >>> "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse >>> 0.0.0.${carbon_kernel_version >>> at >>> org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) >>> at >>> org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) >>> at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) >>> at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) >>> at >>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) >>> at >>> org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) >>> at >>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) >>> at >>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) >>> at >>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) >>> at >>> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) >>> at >>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377) >>> at >>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) >>> at >>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) >>> at >>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) >>> at >>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) >>> at >>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) >>> at >>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) >>> at >>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) >>> at >>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) >>> at >>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) >>> at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) >>> at >>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126) >>> at >>> org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60) >>> at >>> org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.getFeatures(FeaturesAction.java:518) >>> at >>> org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.perform(FeaturesAction.java:604) >>> at >>> org.eclipse.equinox.
Re: [Dev] Error in pom file
Hi Pulasthi, Fixed it and sent a PR https://github.com/wso2-dev/carbon-qos/pull/7 On Wed, Jan 7, 2015 at 3:15 PM, Pulasthi Supun wrote: > Hi, > > The greg build is falling with the following error. It seems this is > because the version in the pom [1] is missing a "}". please check line 76 > in the pom.xml. please correct this ASAP. > > > [INFO] Running Equinox P2 Publisher Application for Repository Generation > [INFO] Command line: > /bin/sh -c cd > /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen && > /home/pulasthi/software/java/jdk1.6.0_45/jre/bin/java -jar > /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar > -nosplash -application > org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source > /home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/tmp.1420622170707/featureExtract > -metadataRepository > file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo > -metadataRepositoryName governance-profile-gen -artifactRepository > file:/home/pulasthi/wso2/gitsource/greg/product-greg/modules/p2-profile-gen/target/p2-repo > -artifactRepositoryName governance-profile-gen -publishArtifacts > -publishArtifactRepository -compress -append > Generating metadata for .. > Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${carbon_kernel_version java.lang.IllegalArgumentException: Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${carbon_kernel_version > > Product publishing ended with the following exception: > java.lang.IllegalArgumentException: Format > "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse > 0.0.0.${carbon_kernel_version > at > org.eclipse.equinox.internal.p2.metadata.VersionFormat.parse(VersionFormat.java:275) > at > org.eclipse.equinox.internal.p2.metadata.VersionParser.parse(VersionParser.java:89) > at org.eclipse.equinox.p2.metadata.Version.create(Version.java:79) > at org.eclipse.equinox.p2.metadata.Version.parseVersion(Version.java:141) > at > org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.(FeatureEntry.java:63) > at > org.eclipse.equinox.p2.publisher.eclipse.FeatureEntry.createRequires(FeatureEntry.java:40) > at > org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.processImport(FeatureManifestParser.java:194) > at > org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.startElement(FeatureManifestParser.java:280) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) > at > com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) > at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) > at > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) > at > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) > at > org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureManifestParser.parse(FeatureManifestParser.java:126) > at > org.eclipse.equinox.internal.p2.publisher.eclipse.FeatureParser.parse(FeatureParser.java:60) > at > org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.getFeatures(FeaturesAction.java:518) > at > org.eclipse.equinox.p2.publisher.eclipse.FeaturesAction.perform(FeaturesAction.java:604) > 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(AbstractPublisherAppl