Hi,
@Pulasthi, please verify and merge those fixes.


On Thu, Jun 26, 2014 at 9:19 AM, Sameera Kannangara <samee...@wso2.com>
wrote:

> Hi all,
>
> I've created a pull request for above version number additions at [1].
> Please check and merge.
>
> Thank you,
> SameeraK
>
> [1] https://github.com/wso2-dev/carbon-governance/pull/7
> [2] my fork - https://github.com/sameerak/carbon-governance
>
>
>
>
> On Wed, Jun 25, 2014 at 10:14 PM, Sameera Kannangara <samee...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> This error occurs due to some missing properties
>> in wso2-dev/carbon-governance/pom.xml file.
>> Following entries should be added to
>> the wso2-dev/carbon-governance/pom.xml property element to built governance
>> features correctly.
>>
>>
>> <registry.core.feature.version>4.3.0-SNAPSHOT</registry.core.feature.version>
>>
>> <governance.metadata.feature.version>4.3.0-SNAPSHOT</governance.metadata.feature.version>
>>
>> After adding these elements wso2-dev/carbon-governance repos should be
>> built again and with the newly created features wso2-dev/product-greg repo
>> can be built passing the previous error.
>>
>> Now following error occurs as the build proceeds.
>>
>> Installation failed.Cannot complete the install because one or more
>> required items could not be found.
>>
>>  Software being installed: Identity OAuth Server Feature 4.3.0.SNAPSHOT
>> (org.wso2.carbon.identity.oauth.server.feature.group 4.3.0.SNAPSHOT)
>>  Missing requirement: Application Authentication Framework Server Feature
>> 4.3.0.SNAPSHOT
>> (org.wso2.carbon.identity.application.authentication.framework.server.feature.group
>> 4.3.0.SNAPSHOT) requires
>> 'org.wso2.carbon.identity.user.profile.server.feature.group
>> [4.3.0.SNAPSHOT,4.4.0)' but it could not be found
>>  Cannot satisfy dependency:
>>   From: Identity OAuth Server Feature 4.3.0.SNAPSHOT
>> (org.wso2.carbon.identity.oauth.server.feature.group 4.3.0.SNAPSHOT)
>>   To: org.wso2.carbon.identity.provider.server.feature.group
>> [4.3.0.SNAPSHOT,4.4.0)
>>  Cannot satisfy dependency:
>>   From: Identity Provider Server Feature 4.3.0.SNAPSHOT
>> (org.wso2.carbon.identity.provider.server.feature.group 4.3.0.SNAPSHOT)
>>   To:
>> org.wso2.carbon.identity.application.authentication.framework.server.feature.group
>> [4.3.0.SNAPSHOT,4.4.0)
>> Application failed, log file location:
>> /home/sameerak/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1403712092805.log
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] WSO2 Governance Registry - P2 Profile Generation .. FAILURE
>> [23.450s]
>> [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: 24.477s
>> [INFO] Finished at: Wed Jun 25 21:31:36 IST 2014
>> [INFO] Final Memory: 19M/425M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen
>> (3-p2-profile-generation) on project governance-profile-gen: P2 publisher
>> return code was 13 -> [Help 1]
>>
>> What could be the issue here?
>>
>> Thank you,
>> SameeraK
>>
>>
>>
>> On Wed, Jun 25, 2014 at 8:35 PM, Sameera Kannangara <samee...@wso2.com>
>> wrote:
>>
>>> 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.
>>>
>>
>>
>>
>> --
>> Sameera Kannangara,
>> Software Engineer,
>> WSO2 Inc.
>>
>
>
>
> --
> Sameera Kannangara,
> Software Engineer,
> WSO2 Inc.
>



-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer & Lead WSO2 Governance Registry
Platform TG; WSO2 Inc. http://wso2.com
Contact:
email: sub...@wso2.com
blog:  http://subashsdm.blogspot.com/
twitter: @subash89
phone: +9477 2225922
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to