[infinispan-dev] mvn -X deploy -Pdistribution -Dmaven.test.skip.exec=true

Galder Zamarreno galder at jboss.org
Fri May 28 03:57:22 EDT 2010


If the upload fails, try to go to the staging section of nexus maven repository and drop the release. Then retry again. No idea what the 502 is due to.

----- "Mircea Markus" <mircea.markus at jboss.com> wrote:

> While running the above, I constantly get this error above at various
> upload steps. 
> Whenever I run it again it starts from scratch with all the uploads,
> as checksums do not match:
> <logs>
> 
> [INFO] [deploy:deploy {execution: default-deploy}]
> [DEBUG] Checking for pre-existing User-Agent configuration.
> [DEBUG] Adding User-Agent configuration.
> [DEBUG] not adding permissions to wagon connection
> Uploading:
> https://repository.jboss.org/nexus/service/local/staging/deploy/maven2//org/infinispan/infinispan/4.1.0.BETA2/infinispan-4.1.0.BETA2.pom
> [DEBUG]
> https://repository.jboss.org/nexus/service/local/staging/deploy/maven2//org/infinispan/infinispan/4.1.0.BETA2/infinispan-4.1.0.BETA2.pom
> - Status code: 201
> 12K uploaded  (infinispan-4.1.0.BETA2.pom)
> [INFO] Retrieving previous metadata from jboss-releases
> [DEBUG] Checking for pre-existing User-Agent configuration.
> [DEBUG] Adding User-Agent configuration.
> [DEBUG] Connecting to repository: 'jboss-releases' with url:
> 'https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/'.
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> 'f426d1b75e0827700f5bd57c5072228cba2c6579'; remote =
> '5dcb83759097da44e543d72192e183796027d1fb' - RETRYING
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> 'f426d1b75e0827700f5bd57c5072228cba2c6579'; remote =
> '5dcb83759097da44e543d72192e183796027d1fb' - IGNORING
> 
> </logs>
> 
> are there any way in which I can resume the process form where it
> failed, perhaps by skipping checksum check?
> 
> It's the 4th time I'm trying this an it gets really annoying.
> 
> Cheers,
> Mircea
> 
> [DEBUG] Checking for pre-existing User-Agent configuration.
> [DEBUG] Adding User-Agent configuration.
> [DEBUG] not adding permissions to wagon connection
> Uploading:
> https://repository.jboss.org/nexus/service/local/staging/deploy/maven2//org/infinispan/infinispan/4.1.0.BETA2/infinispan-4.1.0.BETA2-bin.zip
> [DEBUG]
> https://repository.jboss.org/nexus/service/local/staging/deploy/maven2//org/infinispan/infinispan/4.1.0.BETA2/infinispan-4.1.0.BETA2-bin.zip
> - Status code: 502
> [DEBUG] Failed to transfer file:
> https://repository.jboss.org/nexus/service/local/staging/deploy/maven2//org/infinispan/infinispan/4.1.0.BETA2/infinispan-4.1.0.BETA2-bin.zip.
> Return code is: 502
> org.apache.maven.wagon.TransferFailedException: Failed to transfer
> file:
> https://repository.jboss.org/nexus/service/local/staging/deploy/maven2//org/infinispan/infinispan/4.1.0.BETA2/infinispan-4.1.0.BETA2-bin.zip.
> Return code is: 502
> 	at
> org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:368)
> 	at
> org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:280)
> 	at
> org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:262)
> 	at
> org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:172)
> 	at
> org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107)
> 	at
> org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:190)
> 	at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
> 	at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> 	at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
> 	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
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Failed to transfer file:
> https://repository.jboss.org/nexus/service/local/staging/deploy/maven2//org/infinispan/infinispan/4.1.0.BETA2/infinispan-4.1.0.BETA2-bin.zip.
> Return code is: 502
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


More information about the infinispan-dev mailing list