there is no missing dependency shown... it just thinks this is the first time the snapshot has been uploaded.

Either someone messed up the pom by setting a default goal to "deploy" (I don't know if this is even possible) or you ran mvn clean deploy instead of mvn clean install.

As you are not a committer you don't have permissions to upload snapshots to the apache snapshot repo.

thanks
david jencks

On Sep 29, 2009, at 11:58 AM, Juergen Weber wrote:


Hi,

I tried to build Daytrader trunk, but it fails with the missing dependency
below. Could somebody please fix this? And why is it Uploading ?

Thanks very much,
Juergen

[INFO] Installing /projekte/geronimo-src/geronimo/daytrader/trunk/ pom.xml to /projekte/m2repository/org/apache/geronimo/daytrader/daytrader- parent/2.2-SNAPSHOT/daytrader-parent-2.2-SNAPSHOT.pom
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from apache.snapshots.https
[INFO] repository metadata for: 'snapshot
org.apache.geronimo.daytrader:daytrader-parent:2.2-SNAPSHOT' could not be
found on repository: apache.snapshots.https, so will be created
Uploading:
https://repository.apache.org/content/repositories/snapshots/org/apache/geronimo/daytrader/daytrader-parent/2.2-SNAPSHOT/daytrader-parent-2.2-20090929.185350-1.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file:
https://repository.apache.org/content/repositories/snapshots/org/apache/geronimo/daytrader/daytrader-parent/2.2-SNAPSHOT/daytrader-parent-2.2-20090929.185350-1.pom .
Return code is: 401

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying
artifact: Failed to transfer file:
https://repository.apache.org/content/repositories/snapshots/org/apache/geronimo/daytrader/daytrader-parent/2.2-SNAPSHOT/daytrader-parent-2.2-20090929.185350-1.pom .
Return code is: 401

--
View this message in context: 
http://www.nabble.com/Building-Daytrader-trunk-fails-tp25668904s134p25668904.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Reply via email to