Hi Sameera,

Try removing 'group' at line 288 in [1].
Ex,
org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature:${carbon.platform.version}

[1]
https://github.com/sameerak/product-greg/blob/master/modules/p2-profile-gen/pom.xml#L288

Thanks,


On Thu, Jun 26, 2014 at 10:56 PM, Sameera Kannangara <samee...@wso2.com>
wrote:

> Hi Darshana,
>
> Please find the pom attached.
> Commit to these changes are only applied to my fork yet.
> you can get the pom at [1] too.
>
> [1]
> https://github.com/sameerak/product-greg/blob/master/modules/p2-profile-gen/pom.xml
>
>
>
> On Thu, Jun 26, 2014 at 10:40 PM, Darshana Gunawardana <darsh...@wso2.com>
> wrote:
>
>> Hi Sameera,
>>
>> Seems like this is a issue with the p2-profile-gen pom. I have checked
>> with [1] but it dont have 
>> "org.wso2.carbon.identity.relying.party.server.feature.group"
>> there.. Can you share the pom you were using..
>>
>>
>> [1]
>> https://github.com/wso2-dev/product-greg/blob/master/modules/p2-profile-gen/pom.xml
>>
>>
>> On Thu, Jun 26, 2014 at 7:53 PM, Sameera Kannangara <samee...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> When building G-Reg 5.0.0-SNAPSHOT I got following error.
>>>
>>> [INFO] --- carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) @
>>> governance-profile-gen ---
>>> [ERROR] Error occured when processing the Feature Artifact:
>>> org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature.group:4.3.0-SNAPSHOT
>>> org.apache.maven.plugin.MojoExecutionException: Error occured when
>>> processing the Feature Artifact:
>>> org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature.group:4.3.0-SNAPSHOT
>>>  at
>>> org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:322)
>>> at
>>> org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:197)
>>>  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)
>>> Caused by: org.apache.maven.plugin.MojoExecutionException: ERROR
>>> at
>>> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:43)
>>>  at
>>> org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:319)
>>> ... 23 more
>>> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
>>> Failure to find
>>> org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature.group:zip:4.3.0-SNAPSHOT
>>> in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached
>>> in the local repository, resolution will not be reattempted until the
>>> update interval of wso2-nexus has elapsed or updates are forced
>>>
>>> Try downloading the file manually from the project website.
>>>
>>> Then, install it using the command:
>>>     mvn install:install-file -DgroupId=org.wso2.carbon
>>> -DartifactId=org.wso2.carbon.identity.relying.party.server.feature.group
>>> -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file
>>>
>>> Alternatively, if you host your own repository you can deploy the file
>>> there:
>>>     mvn deploy:deploy-file -DgroupId=org.wso2.carbon
>>> -DartifactId=org.wso2.carbon.identity.relying.party.server.feature.group
>>> -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
>>> -DrepositoryId=[id]
>>>
>>>
>>>
>>> org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature.group:zip:4.3.0-SNAPSHOT
>>>
>>> from the specified remote repositories:
>>>   wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
>>> releases=true, snapshots=true),
>>>   wso2.releases (
>>> http://maven.wso2.org/nexus/content/repositories/releases/,
>>> releases=true, snapshots=true),
>>>   wso2.snapshots (
>>> http://maven.wso2.org/nexus/content/repositories/snapshots/,
>>> releases=false, snapshots=true),
>>>   central (http://repo.maven.apache.org/maven2, releases=true,
>>> snapshots=false)
>>>
>>> at
>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:219)
>>>  at
>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:157)
>>> at
>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:525)
>>>  at
>>> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
>>> ... 24 more
>>> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
>>> Failure to find
>>> org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature.group:zip:4.3.0-SNAPSHOT
>>> in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached
>>> in the local repository, resolution will not be reattempted until the
>>> update interval of wso2-nexus has elapsed or updates are forced
>>>  at
>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
>>> at
>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
>>>  at
>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
>>> at
>>> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
>>>  at
>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:213)
>>> ... 27 more
>>> Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
>>> Failure to find
>>> org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature.group:zip:4.3.0-SNAPSHOT
>>> in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached
>>> in the local repository, resolution will not be reattempted until the
>>> update interval of wso2-nexus has elapsed or updates are forced
>>>  at
>>> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)
>>> at
>>> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)
>>>  at
>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
>>> ... 31 more
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] WSO2 Governance Registry - P2 Profile Generation .. FAILURE
>>> [0.921s]
>>> [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: 1.850s
>>> [INFO] Finished at: Thu Jun 26 19:48:46 IST 2014
>>> [INFO] Final Memory: 15M/301M
>>> [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: Error occured when processing the Feature
>>> Artifact:
>>> org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature.group:4.3.0-SNAPSHOT:
>>> ERROR: Failure to find
>>> org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature.group:zip:4.3.0-SNAPSHOT
>>> in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached
>>> in the local repository, resolution will not be reattempted until the
>>> update interval of wso2-nexus has elapsed or updates are forced
>>> [ERROR]
>>> [ERROR] Try downloading the file manually from the project website.
>>> [ERROR]
>>> [ERROR] Then, install it using the command:
>>> [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
>>> -DartifactId=org.wso2.carbon.identity.relying.party.server.feature.group
>>> -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file
>>> [ERROR]
>>> [ERROR] Alternatively, if you host your own repository you can deploy
>>> the file there:
>>> [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
>>> -DartifactId=org.wso2.carbon.identity.relying.party.server.feature.group
>>> -Dversion=4.3.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
>>> -DrepositoryId=[id]
>>> [ERROR]
>>> [ERROR]
>>> [ERROR]
>>> org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature.group:zip:4.3.0-SNAPSHOT
>>> [ERROR]
>>> [ERROR] from the specified remote repositories:
>>> [ERROR] wso2-nexus (
>>> http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
>>> snapshots=true),
>>> [ERROR] wso2.releases (
>>> http://maven.wso2.org/nexus/content/repositories/releases/,
>>> releases=true, snapshots=true),
>>> [ERROR] wso2.snapshots (
>>> http://maven.wso2.org/nexus/content/repositories/snapshots/,
>>> releases=false, snapshots=true),
>>> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
>>> snapshots=false)
>>>
>>>
>>> What could be the issue here?
>>>
>>> Thank you,
>>> SameeraK.
>>>
>>> --
>>> Sameera Kannangara,
>>> Software Engineer,
>>> WSO2 Inc.
>>>
>>
>>
>>
>> --
>> Regards,
>>
>>
>> *Darshana Gunawardana *Software Engineer
>> WSO2 Inc.; http://wso2.com
>>
>> * E-mail: darsh...@wso2.com <darsh...@wso2.com>*
>> *Mobile: +94718566859 <%2B94718566859> *Lean . Enterprise . Middleware
>>
>
>
>
> --
> Sameera Kannangara,
> Software Engineer,
> WSO2 Inc.
>



-- 
Regards,


* Darshana Gunawardana*Software Engineer
WSO2 Inc.; http://wso2.com

* E-mail: darsh...@wso2.com <darsh...@wso2.com>*
*Mobile: +94718566859 <%2B94718566859> *Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to