It seems that some unreleased features have been included in chunk-02
feature-repo (and eventually copied into chunk-03 feature repo as well).
Following features were encountered which are not released AFAIK in the
chunk-02 feature repo.

org.wso2.carbon.repomanager.axis2.feature:4.2.1
org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature:4.2.1

However, after fixing these errors, am getting the following error [1].

Any idea where this issue is coming from?

Thanks
Lasantha

[1]

[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building WSO2 Carbon - Feature Repository 4.2.2
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
wso2carbon-feature-repository ---
[INFO] Deleting
/home/cep/svncarbon420/platform/features/repository/4.2.2/target
[INFO]
[INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
wso2carbon-feature-repository ---
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/cep/svncarbon420/platform/features/repository/4.2.2/target
[INFO]
[INFO] --- carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) @
wso2carbon-feature-repository ---
[ERROR] Error occured when processing the Feature Artifact: org.wso2.am:
org.wso2.apimgt.gateway-manager.nested.category.feature:1.5.0
org.apache.maven.plugin.MojoExecutionException: Error occured when
processing the Feature Artifact: org.wso2.am:
org.wso2.apimgt.gateway-manager.nested.category.feature:1.5.0
 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.am:org.wso2.apimgt.gateway-manager.nested.category.feature:zip:1.5.0
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.am-DartifactId=org.wso2.apimgt.gateway-manager.nested.category.feature
-Dversion=1.5.0 -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.am-DartifactId=org.wso2.apimgt.gateway-manager.nested.category.feature
-Dversion=1.5.0 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]


  org.wso2.am:
org.wso2.apimgt.gateway-manager.nested.category.feature:zip:1.5.0

from the specified remote repositories:
  wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, 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.am:org.wso2.apimgt.gateway-manager.nested.category.feature:zip:1.5.0
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.am:org.wso2.apimgt.gateway-manager.nested.category.feature:zip:1.5.0
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] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 23.509s
[INFO] Finished at: Fri Oct 25 12:02:06 IST 2013
[INFO] Final Memory: 87M/874M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on
project wso2carbon-feature-repository: Error occured when processing the
Feature Artifact:
org.wso2.am:org.wso2.apimgt.gateway-manager.nested.category.feature:1.5.0:
ERROR: Failure to find
org.wso2.am:org.wso2.apimgt.gateway-manager.nested.category.feature:zip:1.5.0
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.am-DartifactId=org.wso2.apimgt.gateway-manager.nested.category.feature
-Dversion=1.5.0 -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.am-DartifactId=org.wso2.apimgt.gateway-manager.nested.category.feature
-Dversion=1.5.0 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.wso2.am:
org.wso2.apimgt.gateway-manager.nested.category.feature:zip:1.5.0
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, snapshots=true),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException



On 24 October 2013 21:18, Gokul Balakrishnan <[email protected]> wrote:

> It seems to be, since the build progressed fine. However, people have
> encountered the case of this feature missing earlier as well, in the 
> dev@thread "[Dev] [Build Failure][chunk 02] [P2 Repo]
> org.wso2.carbon.repomanager.axis2.feature".
>
>
> On 24 October 2013 21:03, Sumedha Rubasinghe <[email protected]> wrote:
>
>> I heard there is a synchronisation problem in the maven repo. Is this
>> sorted now?
>>
>>
>> On Thu, Oct 24, 2013 at 8:28 PM, Gokul Balakrishnan <[email protected]>wrote:
>>
>>> Hi all,
>>>
>>> We were trying to build the chunk-03 P2 repo in a builder machine as
>>> part of our release process but we are seeing the following error.
>>>
>>> Has the feature org.wso2.carbon.repomanager.axis2.feature:4.2.1 not been
>>> hosted yet? Please note that we are following the incremental approach in
>>> creating the P2 repo.
>>>
>>> Downloading:
>>> http://repo.maven.apache.org/maven2/org/wso2/carbon/org.wso2.carbon.repomanager.axis2.feature/4.2.1/org.wso2.carbon.repomanager.axis2.feature-4.2.1.zip
>>> [ERROR] Error occured when processing the Feature Artifact:
>>> org.wso2.carbon:org.wso2.carbon.repomanager.axis2.feature:4.2.1
>>> org.apache.maven.plugin.MojoExecutionException: Error occured when
>>> processing the Feature Artifact:
>>> org.wso2.carbon:org.wso2.carbon.repomanager.axis2.feature:4.2.1
>>>  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:
>>> Could not find artifact
>>> org.wso2.carbon:org.wso2.carbon.repomanager.axis2.feature:zip:4.2.1 in
>>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>>>
>>> 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.repomanager.axis2.feature -Dversion=4.2.1
>>> -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.repomanager.axis2.feature -Dversion=4.2.1
>>> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>
>>>
>>>   org.wso2.carbon:org.wso2.carbon.repomanager.axis2.feature:zip:4.2.1
>>>
>>> from the specified remote repositories:
>>>   wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
>>> releases=true, 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:
>>> Could not find artifact
>>> org.wso2.carbon:org.wso2.carbon.repomanager.axis2.feature:zip:4.2.1 in
>>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>>>  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: Could
>>> not find artifact
>>> org.wso2.carbon:org.wso2.carbon.repomanager.axis2.feature:zip:4.2.1 in
>>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>>>  at
>>> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:947)
>>> at
>>> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
>>>  at
>>> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
>>> at
>>> org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
>>>  at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>  at java.lang.Thread.run(Thread.java:662)
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 18.664s
>>> [INFO] Finished at: Thu Oct 24 07:47:04 PDT 2013
>>> [INFO] Final Memory: 8M/490M
>>>  [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on
>>> project wso2carbon-feature-repository: Error occured when processing the
>>> Feature Artifact:
>>> org.wso2.carbon:org.wso2.carbon.repomanager.axis2.feature:4.2.1: ERROR:
>>> Could not find artifact
>>> org.wso2.carbon:org.wso2.carbon.repomanager.axis2.feature:zip:4.2.1 in
>>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>>> [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.repomanager.axis2.feature -Dversion=4.2.1
>>> -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.repomanager.axis2.feature -Dversion=4.2.1
>>> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>> [ERROR]
>>> [ERROR]
>>> [ERROR]
>>> org.wso2.carbon:org.wso2.carbon.repomanager.axis2.feature:zip:4.2.1
>>> [ERROR]
>>> [ERROR] from the specified remote repositories:
>>> [ERROR] wso2-nexus (
>>> http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true,
>>> snapshots=true),
>>> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
>>> snapshots=false)
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>>
>>>
>>> --
>>> *Balakrishnan Gokulakrishnan*
>>> Software Engineer,
>>> WSO2, Inc.; http://wso2.com
>>> Tel: 0094 11 214 5345  |  Fax: 0094 11 214 5300
>>>
>>> Twitter:  http://twitter.com/gokulbs
>>> Mobile: 0094 77 593 5789
>>>
>>
>>
>>
>> --
>> /sumedha
>> m: +94 773017743
>> b :  bit.ly/sumedha
>>
>
>
>
> --
> *Balakrishnan Gokulakrishnan*
> Software Engineer,
> WSO2, Inc.; http://wso2.com
> Tel: 0094 11 214 5345  |  Fax: 0094 11 214 5300
>
> Twitter:  http://twitter.com/gokulbs
> Mobile: 0094 77 593 5789
>



-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: [email protected]
mobile: (+94) 71 5247551
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to