Discussion:
[dash-dev] Fwd: Neuxs Snapshot Deployments
David Carver
2011-05-13 12:39:16 UTC
Permalink
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 <***@yahoo.com>
To: Tools for Committer Community <dash-***@eclipse.org>



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.

Not sure what is going on, as I can't see anything different between the
configs of the repository, besides the type that it is.

Alex or Aaron, any clue?

BTW, I did finally get into both maven.eclipse.org and Nexus.

Dave
Aaron Digulla
2011-05-13 13:09:17 UTC
Permalink
Post by David Carver
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
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,
--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.pdark.de/ http://blog.pdark.de/
David Carver
2011-05-13 14:39:01 UTC
Permalink
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
Post by Aaron Digulla
Post by David Carver
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
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,
Loading...