Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dash-dev] Fwd: Neuxs Snapshot Deployments

There still to be som issues with deploying through nexus and an appropriately configured distribution management section.

[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ eclipse-maven-signing-plugin --- [INFO] Installing /home/dcarver/OpenSource/dash/org.eclipse.dash.maven/eclipse-maven-signing-plugin/target/eclipse-maven-signing-plugin-1.0.0.0-SNAPSHOT.jar to /home/dcarver/.m2/repository/org/eclipse/dash/maven/eclipse-maven-signing-plugin/1.0.0.0-SNAPSHOT/eclipse-maven-signing-plugin-1.0.0.0-SNAPSHOT.jar [INFO] Installing /home/dcarver/OpenSource/dash/org.eclipse.dash.maven/eclipse-maven-signing-plugin/pom.xml to /home/dcarver/.m2/repository/org/eclipse/dash/maven/eclipse-maven-signing-plugin/1.0.0.0-SNAPSHOT/eclipse-maven-signing-plugin-1.0.0.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ eclipse-maven-signing-plugin --- Downloading: http://maven.eclipse.org/nexus/content/repositories/nightly-indigo/org/eclipse/dash/maven/eclipse-maven-signing-plugin/1.0.0.0-SNAPSHOT/maven-metadata.xml Uploading: http://maven.eclipse.org/nexus/content/repositories/nightly-indigo/org/eclipse/dash/maven/eclipse-maven-signing-plugin/1.0.0.0-SNAPSHOT/eclipse-maven-signing-plugin-1.0.0.0-20110513.143406-1.jar Uploading: http://maven.eclipse.org/nexus/content/repositories/nightly-indigo/org/eclipse/dash/maven/eclipse-maven-signing-plugin/1.0.0.0-SNAPSHOT/eclipse-maven-signing-plugin-1.0.0.0-20110513.143406-1.pom [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.374s
[INFO] Finished at: Fri May 13 10:34:08 EDT 2011
[INFO] Final Memory: 11M/177M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project eclipse-maven-signing-plugin: Failed to deploy artifacts: Could not transfer artifact org.eclipse.dash.maven:eclipse-maven-signing-plugin:jar:1.0.0.0-20110513.143406-1 from/to eclipse-nightly-indigo (http://maven.eclipse.org/nexus/content/repositories/nightly-indigo/): Failed to transfer file: http://maven.eclipse.org/nexus/content/repositories/nightly-indigo/org/eclipse/dash/maven/eclipse-maven-signing-plugin/1.0.0.0-SNAPSHOT/eclipse-maven-signing-plugin-1.0.0.0-20110513.143406-1.jar. Return code is: 401 -> [Help 1]


I've verified that the user id that is being used has the necessary rights to create items and manage the repositories, plus has the deployment roles. I created a new role called "Eclipse Deployment" and set things up appropriately. Still getting blocked from deploying a snapshot though.

Dave


On 05/13/2011 09:09 AM, Aaron Digulla wrote:
Zitat von David Carver <d_a_carver@xxxxxxxxx>:

I tried sending this to dash-dev yesterday but it got bounced,


-------- Original Message --------
Subject:     Neuxs Snapshot Deployments
Date:     Thu, 12 May 2011 17:55:18 -0400
From:     David Carver <d_a_carver@xxxxxxxxx>
To:     Tools for Committer Community <dash-dev@xxxxxxxxxxx>



There seems to be something configured wrong with our Nexus repository.
For the life of me I can't figure out what is wrong.   If a repository
is set as release, and the appropriate deployment rights are set on a
user, the Artifact Upload tab appears.    However, if the repository is
setup as a Snapshot profile, and the same user views the repository,
there is no Artifact Upload rights.

Uploading snapshots is complex: You need to update the metadata.xml with the correct version numbers, replace SNAPSHOT with the current date+time, etc.

So it's not possible to upload snapshots via the web UI. You must use "maven deploy".

Regards,





Back to the top