merci, that worked
Paul Gier wrote:
Hey Thomas,
When you deploy you have to use https. I also just made some updates to
this page that should help.
http://wiki.jboss.org/auth/wiki/en/MavenSnapshotRepository
Thomas Diesler wrote:
> 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