Hi,

I am getting following build failure in branch when building ESB product.


[INFO] WSO2 Stratos ESB - Styles Features ................ SUCCESS [0.049s]
[INFO] WSO2 Stratos ESB - Samples Features ............... SUCCESS [0.124s]
[INFO] WSO2 ESB - P2 Profile Generation .................. FAILURE [10.564s]
[INFO] WSO2 ESB - Distribution ........................... SKIPPED
[INFO] WSO2 ESB - Integration Parent ..................... SKIPPED
[INFO] WSO2 ESB Integration Test Core .................... SKIPPED
[INFO] ESB test Module ................................... SKIPPED
[INFO] ESB Sample Scenarios .............................. SKIPPED
[INFO] WSO2 ESB NHTTP Transport Integration Tests ........ SKIPPED
[INFO] Priority Executors Module ......................... SKIPPED
[INFO] Proxy Services Integration Tests .................. SKIPPED
[INFO] Sequence Module ................................... SKIPPED
[INFO] WSO2 ESB HTTP Servlet Transport Integration Tests . SKIPPED
[INFO] WS-Discovery Integration Tests .................... SKIPPED
[INFO] Module Mgt Integration Tests ...................... SKIPPED
[INFO] Service Mgt Integration Tests ..................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 35.049s
[INFO] Finished at: Tue May 07 18:34:52 IST 2013
[INFO] Final Memory: 48M/621M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:unpack
(2-unpack-kernel-patch) on project wso2esb-p2-profile: Unable to find
artifact. Could not find artifact
org.wso2.carbon:WSO2-CARBON-PATCH-4.1.0:zip:0002 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=WSO2-CARBON-PATCH-4.1.0 -Dversion=0002 -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=WSO2-CARBON-PATCH-4.1.0 -Dversion=0002 -Dpackaging=zip
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.wso2.carbon:WSO2-CARBON-PATCH-4.1.0:zip:0002
[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://repo1.maven.org/maven2, releases=true,
snapshots=false)
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4:unpack
(2-unpack-kernel-patch) on project wso2esb-p2-profile: Unable to find
artifact.
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
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:319)
 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: Unable to find
artifact.
at
org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getArtifact(AbstractFromConfigurationMojo.java:250)
 at
org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getProcessedArtifactItems(AbstractFromConfigurationMojo.java:146)
at
org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute(UnpackMojo.java:67)
 at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 ... 19 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Could not find artifact org.wso2.carbon:WSO2-CARBON-PATCH-4.1.0:zip:0002 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=WSO2-CARBON-PATCH-4.1.0 -Dversion=0002 -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=WSO2-CARBON-PATCH-4.1.0 -Dversion=0002 -Dpackaging=zip
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.carbon:WSO2-CARBON-PATCH-4.1.0:zip:0002

from the specified remote repositories:
  wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, snapshots=true),
  central (http://repo1.maven.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.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getArtifact(AbstractFromConfigurationMojo.java:242)
... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
Could not find artifact org.wso2.carbon:WSO2-CARBON-PATCH-4.1.0:zip:0002 in
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:541)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220)
 at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:197)
at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:323)
 at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:213)
... 26 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could
not find artifact org.wso2.carbon:WSO2-CARBON-PATCH-4.1.0:zip:0002 in
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:945)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:940)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:695)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:689)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:445)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:460)
 ... 30 more
[ERROR]
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :wso2esb-p2-profile


Thanks,
KasunW.

-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to