mavendeploymentm2eclipsenexusm2e

maven (m2e) deploy starts with parallel upload


I try to upload my project artifacts to nexus staging.

The upload starts with uploading two artifacts in parallel, after that every arttifact is uploaded one after another:

[...]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ tkscommons ---
Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/myproject/myproject-0.1.2.jar
Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/myprojekt/myprojekt-0.1.2.pom
Uploaded: https://oss.sonatype.org/service/local/staging/deploy/maven2/myprojekt/myprojekt-0.1.2.pom (4 KB at 0.6 KB/sec)
Uploaded: https://oss.sonatype.org/service/local/staging/deploy/maven2/myprojekt/myprojekt.jar (12 KB at 1.7 KB/sec)
Downloading: https://oss.sonatype.org/service/local/staging/deploy/maven2/de/thksystems/myprojekt/maven-metadata.xml
Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/de/thksystems/myprojekt/maven-metadata.xml
Uploaded: https://oss.sonatype.org/service/local/staging/deploy/maven2/de/thksystems/myprojekt/maven-metadata.xml (303 B at 0.2 KB/sec)
Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/myprojekt/myprojekt-sources.jar
Uploaded: https://oss.sonatype.org/service/local/staging/deploy/maven2/myprojekt/myprojekt-sources.jar (8 KB at 2.7 KB/sec)
Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/myprojekt/myprojekt-javadoc.jar
Uploaded: https://oss.sonatype.org/service/local/staging/deploy/maven2/myprojekt/myprojekt-javadoc.jar (91 KB at 24.4 KB/sec)
[...]

How can I stop that parallal upload? How is it caused?


UPDATE (2014/05/02): The problem only occured, if I start deploying within eclipse (m2e). If I start it from the command line, it works fine and no upload is parallized.


Solution

  • The problem is caused by m2eclipse. Deploying using maven from comandline works well, though this is my solution.