Hi Paul,
how do I deploy a file to the snapshot repo?
This
mvn deploy:deploy-file -DgroupId=jboss -DartifactId=jbosssx
-Dversion=4.2.3-SNAPSHOT -Dpackaging=jar
-Dfile=server/default/lib/jbosssx.jar -DrepositoryId=snapshots.jboss.org
-Durl=dav:http://snapshots.jboss.org/maven2
fails with
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file:
http://snapshots.jboss.org/maven2/jboss/jbosssx/4.2.3-SNAPSHOT/jbosssx-4.....
Return code is: 405 Method Not Allowed
I can deploy a snapshot file using deploy:deploy
cheers
-thomas
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
mvn deploy:deploy-file -DgroupId=jboss -DartifactId=jbosssx -Dversion=4.2.3-SNAPSHOT
-Dpackaging=jar -Dfile=server/default/lib/jbosssx.jar
-Durl=file:///home/tdiesler/svn/repository.jboss.org/maven2/
mvn deploy:deploy-file -DgroupId=jboss -DartifactId=jboss-system -Dversion=4.2.3-SNAPSHOT
-Dpackaging=jar -Dfile=lib/jboss-system.jar
-Durl=file:///home/tdiesler/svn/repository.jboss.org/maven2
mvn deploy:deploy-file -DgroupId=jboss -DartifactId=jboss -Dversion=4.2.3-SNAPSHOT
-Dpackaging=jar -Dfile=server/default/lib/jboss.jar
-Durl=file:///home/tdiesler/svn/repository.jboss.org/maven2
mvn deploy:deploy-file -DgroupId=jboss -DartifactId=jboss-annotations-ejb3
-Dversion=4.2.3-SNAPSHOT -Dpackaging=jar
-Dfile=server/default/deploy/ejb3.deployer/jboss-annotations-ejb3.jar
-Durl=file:///home/tdiesler/svn/repository.jboss.org/maven2
mvn deploy:deploy-file -DgroupId=jboss -DartifactId=jboss-ejb3 -Dversion=4.2.3-SNAPSHOT
-Dpackaging=jar -Dfile=server/default/deploy/ejb3.deployer/jboss-ejb3.jar
-Durl=file:///home/tdiesler/svn/repository.jboss.org/maven2
mvn deploy:deploy-file -DgroupId=jboss -DartifactId=jboss-ejb3x -Dversion=4.2.3-SNAPSHOT
-Dpackaging=jar -Dfile=server/default/lib/jboss-ejb3x.jar
-Durl=file:///home/tdiesler/svn/repository.jboss.org/maven2
mvn deploy:deploy-file -DgroupId=jboss -DartifactId=jboss-jmx -Dversion=4.2.3-SNAPSHOT
-Dpackaging=jar -Dfile=lib/jboss-jmx.jar
-Durl=file:///home/tdiesler/svn/repository.jboss.org/maven2