org.apache.maven.lifecycle.LifecycleExecutionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • very often artifact upload fail with error code 503. 10:15:19 [INFO] ------------------------------------------------------------------------ 10:15:19 [ERROR] BUILD ERROR 10:15:19 [INFO] ------------------------------------------------------------------------ 10:15:19 [INFO] Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 10:15:19 10:15:19 [INFO] ------------------------------------------------------------------------ 10:15:19 [INFO] Trace 10:15:19 org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) 10:15:19 at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) 10:15:19 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) 10:15:19 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) 10:15:19 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) 10:15:19 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 10:15:19 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 10:15:19 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 10:15:19 at java.lang.reflect.Method.invoke(Method.java:597) 10:15:19 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) 10:15:19 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) 10:15:19 at hudson.maven.agent.Main.launch(Main.java:165) 10:15:19 at hudson.maven.MavenBuilder.call(MavenBuilder.java:165) 10:15:19 at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:681) 10:15:19 at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:625) 10:15:19 at hudson.remoting.UserRequest.perform(UserRequest.java:114) 10:15:19 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 10:15:19 at hudson.remoting.Request$2.run(Request.java:270) 10:15:19 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 10:15:19 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 10:15:19 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 10:15:19 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 10:15:19 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 10:15:19 at java.lang.Thread.run(Thread.java:619) 10:15:19 Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 10:15:19 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195) 10:15:19 at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) 10:15:19 at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) 10:15:19 ... 28 more 10:15:19 Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 10:15:19 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121) 10:15:19 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173) 10:15:19 ... 31 more 10:15:19 Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 10:15:19 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:205) 10:15:19 at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) 10:15:19 at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) 10:15:19 at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) 10:15:19 at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) 10:15:19 at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) 10:15:19 at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) 10:15:19 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107) system log ... 2010-10-04 10:02:10,218 [TP-Processor52] [WARN ] (o.a.c.h.HttpMethodDirector:328) - Preemptive authentication requested but no default proxy credentials available 2010-10-04 10:15:45,049 [art-exec-3911] [INFO ] (o.a.j.j.ArtifactoryDbDataStoreImpl:133) - The cache folder contains 2642 files for a total of 1086519693 bytes which is above the maximum 1073741824 allowed. Deleting cached files. 2010-10-04 10:15:45,433 [art-exec-3911] [INFO ] (o.a.j.j.ArtifactoryDbDataStoreImpl:148) - GC deleted 4 cached files to save 64921504 bytes 2010-10-04 10:15:45,578 [art-exec-3912] [INFO ] (o.a.s.a.ArchiveIndexer:96) - The content of the archive: 'maven-cee-plugin-1.2.1-SNAPSHOT.jar' was indexed successfully. 2010-10-04 10:17:13,536 [art-exec-3913] [INFO ] (o.a.s.a.ArchiveIndexer:96) - The content of the archive: 'outsourcing-1.0.0-SNAPSHOT-tests.jar' was indexed successfully. access log: ... 2010-10-04 10:12:02,905 [ACCEPTED DOWNLOAD] plugins-snapshots-local:it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT:maven-metadata.xml for continuum/10.159.45.149. 2010-10-04 10:12:02,929 [ACCEPTED DOWNLOAD] plugins-snapshots-local:it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-metadata.xml.sha1 for continuum/10.159.45.149. 2010-10-04 10:15:45,073 [ACCEPTED DEPLOY] plugins-snapshots-local:it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-SNAPSHOT.jar for continuum/10.159.45.149. 2010-10-04 10:16:39,429 [ACCEPTED DOWNLOAD] libs-snapshots-local:it/bz/prov/egov/outsourcing/outsourcing/1.0.0-SNAPSHOT:maven-metadata.xml for continuum/10.159.45.149. 2010-10-04 10:16:39,463 [ACCEPTED DOWNLOAD] libs-snapshots-local:it/bz/prov/egov/outsourcing/outsourcing/1.0.0-SNAPSHOT/maven-metadata.xml.sha1 for continuum/10.159.45.149.
    via by ??tzi,
  • very often artifact upload fail with error code 503. 10:15:19 [INFO] ------------------------------------------------------------------------ 10:15:19 [ERROR] BUILD ERROR 10:15:19 [INFO] ------------------------------------------------------------------------ 10:15:19 [INFO] Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 10:15:19 10:15:19 [INFO] ------------------------------------------------------------------------ 10:15:19 [INFO] Trace 10:15:19 org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) 10:15:19 at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) 10:15:19 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) 10:15:19 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) 10:15:19 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) 10:15:19 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 10:15:19 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 10:15:19 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 10:15:19 at java.lang.reflect.Method.invoke(Method.java:597) 10:15:19 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) 10:15:19 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) 10:15:19 at hudson.maven.agent.Main.launch(Main.java:165) 10:15:19 at hudson.maven.MavenBuilder.call(MavenBuilder.java:165) 10:15:19 at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:681) 10:15:19 at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:625) 10:15:19 at hudson.remoting.UserRequest.perform(UserRequest.java:114) 10:15:19 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 10:15:19 at hudson.remoting.Request$2.run(Request.java:270) 10:15:19 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 10:15:19 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 10:15:19 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 10:15:19 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 10:15:19 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 10:15:19 at java.lang.Thread.run(Thread.java:619) 10:15:19 Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 10:15:19 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195) 10:15:19 at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) 10:15:19 at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) 10:15:19 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) 10:15:19 ... 28 more 10:15:19 Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 10:15:19 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121) 10:15:19 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173) 10:15:19 ... 31 more 10:15:19 Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 10:15:19 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:205) 10:15:19 at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) 10:15:19 at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) 10:15:19 at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) 10:15:19 at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) 10:15:19 at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) 10:15:19 at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) 10:15:19 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107) system log ... 2010-10-04 10:02:10,218 [TP-Processor52] [WARN ] (o.a.c.h.HttpMethodDirector:328) - Preemptive authentication requested but no default proxy credentials available 2010-10-04 10:15:45,049 [art-exec-3911] [INFO ] (o.a.j.j.ArtifactoryDbDataStoreImpl:133) - The cache folder contains 2642 files for a total of 1086519693 bytes which is above the maximum 1073741824 allowed. Deleting cached files. 2010-10-04 10:15:45,433 [art-exec-3911] [INFO ] (o.a.j.j.ArtifactoryDbDataStoreImpl:148) - GC deleted 4 cached files to save 64921504 bytes 2010-10-04 10:15:45,578 [art-exec-3912] [INFO ] (o.a.s.a.ArchiveIndexer:96) - The content of the archive: 'maven-cee-plugin-1.2.1-SNAPSHOT.jar' was indexed successfully. 2010-10-04 10:17:13,536 [art-exec-3913] [INFO ] (o.a.s.a.ArchiveIndexer:96) - The content of the archive: 'outsourcing-1.0.0-SNAPSHOT-tests.jar' was indexed successfully. access log: ... 2010-10-04 10:12:02,905 [ACCEPTED DOWNLOAD] plugins-snapshots-local:it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT:maven-metadata.xml for continuum/10.159.45.149. 2010-10-04 10:12:02,929 [ACCEPTED DOWNLOAD] plugins-snapshots-local:it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-metadata.xml.sha1 for continuum/10.159.45.149. 2010-10-04 10:15:45,073 [ACCEPTED DEPLOY] plugins-snapshots-local:it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-SNAPSHOT.jar for continuum/10.159.45.149. 2010-10-04 10:16:39,429 [ACCEPTED DOWNLOAD] libs-snapshots-local:it/bz/prov/egov/outsourcing/outsourcing/1.0.0-SNAPSHOT:maven-metadata.xml for continuum/10.159.45.149. 2010-10-04 10:16:39,463 [ACCEPTED DOWNLOAD] libs-snapshots-local:it/bz/prov/egov/outsourcing/outsourcing/1.0.0-SNAPSHOT/maven-metadata.xml.sha1 for continuum/10.159.45.149.
    via by Ötzi,
  • As per https://issues.sonatype.org/browse/OSSRH-1063 I should be able to deploy on the sonatype repository new snapshots and releases of the jaitools project. I did add the necessary information to my settings.xml file but it appears that is not enough, I get a 401 trying to deploy: {panel} [INFO] ------------------------------------------------------------------------ [INFO] Building JAI-tools [INFO] task-segment: [deploy] [INFO] ------------------------------------------------------------------------ [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: default}] [INFO] [javadoc:jar {execution: default}] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [install:install {execution: default-install}] [INFO] Installing /home/aaime/devel/jaitools/git-jaitools/pom.xml to /home/aaime/.m2/repository/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom [INFO] [deploy:deploy {execution: default-deploy}] [INFO] Retrieving previous build number from jaitools-snapshots Uploading: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401 [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) 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:592) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165) ... 19 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:205) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107) ... 20 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Sat Feb 05 12:37:43 CET 2011 [INFO] Final Memory: 41M/409M [INFO] ------------------------------------------------------------------------ {panel} My maven settings file looks like the following (of course passwords have been altered): {code:xml} <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>osgeo</id> <username>aaime</username> <password>dunno</password> </server> <server> <id>sonatype-nexus-snapshots</id> <username>aaime</username> <password>wontellya</password> </server> <server> <id>sonatype-nexus-staging</id> <username>aaime</username> <password>nope</password> </server> </servers> </settings> {code}
    via by Andrea Aime,
  • Unable to deploy to staging, return code 504 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project markdownpapers-parent: Failed to deploy artifacts: Could not transfer artifact org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project markdownpapers-parent: Failed to deploy artifacts: Could not transfer artifact org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 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: Failed to deploy artifacts: Could not transfer artifact org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:189) 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.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:141) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:148) ... 21 more Caused by: org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:284) at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:215) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:480) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137) ... 22 more Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:949) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:940) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.flush(WagonRepositoryConnector.java:864) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:466) at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:278) ... 25 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:205) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:825) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:465) ... 26 more
    via by Larry Ruiz,
  • I cannot deploy snapshot. Double-checked settings.xml and pom.xml and able to login to oss.sonatype.org. There I can see dnsjava under staging repository. All seems to be fine but I'm getting 401: org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: https://oss.sonatype.org/content/repositories/snapshots/dnsjava/dnsjava/2.1.1-SNAPSHOT/dnsjava-2.1.1-20110212.000151-1.jar. Return code is: 401 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) 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:592) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Failed to transfer file: https://oss.sonatype.org/content/repositories/snapshots/dnsjava/dnsjava/2.1.1-SNAPSHOT/dnsjava-2.1.1-20110212.000151-1.jar. Return code is: 401 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: https://oss.sonatype.org/content/repositories/snapshots/dnsjava/dnsjava/2.1.1-SNAPSHOT/dnsjava-2.1.1-20110212.000151-1.jar. Return code is: 401 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173) ... 19 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://oss.sonatype.org/content/repositories/snapshots/dnsjava/dnsjava/2.1.1-SNAPSHOT/dnsjava-2.1.1-20110212.000151-1.jar. Return code is: 401 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:205) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107) ... 20 more
    via by Oleg Tsvinev,
  • My Parent Pom.xml looking something like this <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.sample.eie</groupId> <artifactId>EIE_JAXB_JARS</artifactId> <version>1.4.1-SNAPSHOT</version> <packaging>pom</packaging> <properties> <enrollgroupandmem.version>1.0.8</enrollgroupandmem.version> <grpandmemrisk.version>1.0.4</grpandmemrisk.version> <junit.version>3.8.1</junit.version> <jaxb-api.version>2.1</jaxb-api.version> <jaxb-impl.version>2.1.3</jaxb-impl.version> <maven-compiler-plugin.source.version>1.6</maven-compiler-plugin.source.version> <maven-compiler-plugin.target.version>1.6</maven-compiler-plugin.target.version> <jaxb2-maven-plugin.version>1.3</jaxb2-maven-plugin.version> <repository.id>admin</repository.id> <repository.name>Administrator</repository.name> <repository.url>http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/sample</repository.url> </properties> <distributionManagement> <repository> <id>admin</id> <name>admin</name> <url>http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/sample</url> </repository> </distributionManagement> <modules> <module>EnrollGroupAndMem</module> <module>GrpAndMemRisk</module> </modules> </project> My Child Pom is Looking like this <?xml version="1.0"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>EIE_JAXB_JARS</artifactId> <groupId>com.sample.eie</groupId> <version>1.4.1-SNAPSHOT</version> <relativePath>../EIE_JAXB_JARS/pom.xml</relativePath> </parent> <distributionManagement> <repository> <id>${repository.id}</id> <name>admin</name> <url>http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/sample</url> </repository> </distributionManagement> <groupId>com.sample.eie</groupId> <artifactId>EnrollGroupAndMem</artifactId> <version>${enrollgroupandmem.version}</version> <packaging>jar</packaging> <name>EnrollGroupAndMem</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <repositories> <repository> <id>${repository.id}</id> <name>${repository.name}</name> <url>${repository.url}</url> </repository> </repositories> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>${jaxb-api.version}</version> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <version>${jaxb-impl.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${maven-compiler-plugin.source.version}</source> <target>${maven-compiler-plugin.target.version}</target> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> <version>${jaxb2-maven-plugin.version}</version> <executions> <execution> <goals> <goal>xjc</goal> </goals> </execution> </executions> <configuration> <packageName>com.sample.eie.enrollgrpandmem</packageName> <outputDirectory>${basedir}/src/main/java</outputDirectory> <schemaDirectory>${basedir}/src/main/resources/xsd</schemaDirectory> <extension>true</extension> <verbose>false</verbose> </configuration> </plugin> </plugins> </build> </project> When i Deploy using "mvn clean deploy" command i'm getting exception like this [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project EIE_JAXB_JARS: Failed to deploy artifacts: Could not tr ansfer artifact com.bcbsmt.eie:EIE_JAXB_JARS:pom:1.4.1-20110824.133549-5 from admin (http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/bcbsmt): Failed to transfer file: http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/bcbsmt/com/bcbsmt/eie/EIE_JAXB_JARS/1.4.1-SNAPSHOT/EIE_JAXB_JARS-1.4.1-20110824.133549-5. pom. Return code is: 400 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project EIE_JAX B_JARS: Failed to deploy artifacts: Could not transfer artifact com.bcbsmt.eie:EIE_JAXB_JARS:pom:1.4.1-20110824.133549-5 from admin (http://192.168.1.212:8080/nexus-webap p-1.9.2/content/repositories/bcbsmt): Failed to transfer file: http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/bcbsmt/com/bcbsmt/eie/EIE_JAXB_JARS/1.4.1 -SNAPSHOT/EIE_JAXB_JARS-1.4.1-20110824.133549-5.pom. Return code is: 400 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140) 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:314) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168) at org.apache.maven.cli.MavenCli.main(MavenCli.java:132) 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: Failed to deploy artifacts: Could not transfer artifact com.bcbsmt.eie:EIE_JAXB_JARS:pom:1.4.1-20110824.133549- 5 from admin (http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/bcbsmt): Failed to transfer file: http://192.168.1.212:8080/nexus-webapp-1.9.2/content/rep ositories/bcbsmt/com/bcbsmt/eie/EIE_JAXB_JARS/1.4.1-SNAPSHOT/EIE_JAXB_JARS-1.4.1-20110824.133549-5.pom. Return code is: 400 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:189) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195) ... 19 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact com.bcbsmt.eie:EIE_JAXB_JARS:pom:1.4.1- 20110824.133549-5 from admin (http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/bcbsmt): Failed to transfer file: http://192.168.1.212:8080/nexus-webapp-1 .9.2/content/repositories/bcbsmt/com/bcbsmt/eie/EIE_JAXB_JARS/1.4.1-SNAPSHOT/EIE_JAXB_JARS-1.4.1-20110824.133549-5.pom. Return code is: 400 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:140) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:148) ... 21 more Caused by: org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact com.bcbsmt.eie:EIE_JAXB_JARS:pom:1.4.1-20110824.133 549-5 from admin (http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/bcbsmt): Failed to transfer file: http://192.168.1.212:8080/nexus-webapp-1.9.2/content /repositories/bcbsmt/com/bcbsmt/eie/EIE_JAXB_JARS/1.4.1-SNAPSHOT/EIE_JAXB_JARS-1.4.1-20110824.133549-5.pom. Return code is: 400 at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:267) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:334) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:136) ... 22 more Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact com.bcbsmt.eie:EIE_JAXB_JARS:pom:1.4.1-20110824.133549-5 from admin (http:/ /192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/bcbsmt): Failed to transfer file: http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/bcbsmt/com /bcbsmt/eie/EIE_JAXB_JARS/1.4.1-SNAPSHOT/EIE_JAXB_JARS-1.4.1-20110824.133549-5.pom. Return code is: 400 at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:858) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:849) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.flush(WagonRepositoryConnector.java:773) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:385) at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:241) ... 24 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://192.168.1.212:8080/nexus-webapp-1.9.2/content/repositories/bcbsmt/com/bcbsmt/ei e/EIE_JAXB_JARS/1.4.1-SNAPSHOT/EIE_JAXB_JARS-1.4.1-20110824.133549-5.pom. Return code is: 400 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:205) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:734) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:384) My ultimate goal is to upload my child jar to nexus repository while deploying parent project.. suggest me some good solution.
    via by Dinesh PS,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:165) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:681) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:625) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:619) Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 28 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:173) ... 31 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://samson.prov.bz/artifactory/plugins-snapshots-local/it/bz/prov/egov/factory/maven-cee-plugin/1.2.1-SNAPSHOT/maven-cee-plugin-1.2.1-20101004.075729-2.jar. Return code is: 503 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:205) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)

    Users with the same issue

    Unknown visitor1 times, last one,