Hi all, I forked carbon4-kernel[1], carbon-governance[2], carbon-registry[3] and product-greg[4] and built these repos in the order they are appearing above. First 3 repos built normally and when building the 4th one (product-greg), I got following error message.
[INFO] Copying resources [INFO] Running Equinox P2 Publisher Application for Repository Generation [INFO] Command line: /bin/sh -c cd /home/sameerak/repos/wso2/g-reg/product-greg/modules/p2-profile-gen && /usr/installations/jdk1.6.0_45/jre/bin/java -jar /home/sameerak/.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/sameerak/repos/wso2/g-reg/product-greg/modules/p2-profile-gen/target/tmp.1403704378829/featureExtract -metadataRepository file:/home/sameerak/repos/wso2/g-reg/product-greg/modules/p2-profile-gen/target/p2-repo -metadataRepositoryName governance-profile-gen -artifactRepository file:/home/sameerak/repos/wso2/g-reg/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.${registry_core_feature_version} java.lang.IllegalArgumentException: Format "format(n[.n=0;[.n=0;[.S=[A-Za-z0-9_-];='';]]])" was unable to parse 0.0.0.${registry_core_feature_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.${registry_core_feature_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.<init>(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/sameerak/repos/wso2/g-reg/product-greg/modules/p2-profile-gen/target/tmp.1403704378829/featureExtract -metadataRepository file:/home/sameerak/repos/wso2/g-reg/product-greg/modules/p2-profile-gen/target/p2-repo -metadataRepositoryName governance-profile-gen -artifactRepository file:/home/sameerak/repos/wso2/g-reg/product-greg/modules/p2-profile-gen/target/p2-repo -artifactRepositoryName governance-profile-gen -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.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] WSO2 Governance Registry - P2 Profile Generation .. FAILURE [5.532s] [INFO] WSO2 Stratos - Cloud Governance Login User Interface SKIPPED [INFO] WSO2 API Manager - BAM Toolbox .................... SKIPPED [INFO] WSO2 Governance Registry - Distribution ........... SKIPPED [INFO] WSO2 Governance Registry - Integration Tests ...... SKIPPED [INFO] Registry Admin-Clients Module ..................... SKIPPED [INFO] Registry Test Utility Module ...................... SKIPPED [INFO] Registry Test Artifact Module ..................... SKIPPED [INFO] Registry Backward association handler Artifact .... SKIPPED [INFO] Registry Integration Test Module .................. SKIPPED [INFO] Registry Tests Resources Test Module .............. SKIPPED [INFO] Registry Metadata Test Module ..................... SKIPPED [INFO] Registry Lifecycle Test Module .................... SKIPPED [INFO] Registry Permission Test Module ................... SKIPPED [INFO] Registry Extensibility Test Module ................ SKIPPED [INFO] Registry Governance API Test Module ............... SKIPPED [INFO] Registry Smoke Test Module ........................ SKIPPED [INFO] Registry Public JIRA Test Module .................. SKIPPED [INFO] Registry Search and Version Test Module ........... SKIPPED [INFO] Registry Test Reporting Module .................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.732s [INFO] Finished at: Wed Jun 25 19:23:02 IST 2014 [INFO] Final Memory: 20M/425M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on project governance-profile-gen: P2 publisher return code was 1 -> [Help 1] What could be the issue here? Seems to me that version property values are not set correctly for governance features. Thank you, SameeraK [1] https://github.com/wso2-dev/carbon4-kernel [2] https://github.com/wso2-dev/carbon-governance [3] https://github.com/wso2-dev/carbon-registry [4] https://github.com/wso2-dev/product-greg -- Sameera Kannangara, Software Engineer, WSO2 Inc.
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev