Worked like a charm. I added the note on #1 to
http://wiki.jfrog.org/confluence/display/RTF/Working+with+Ivy
I am now hitting this issue
http://forums.jfrog.org/ivy-publish-fails-due-to-sha1-checksum-error-td5728645.html
but with ivy2.2.0…Hopefully I can figure it out myself and at least that post
does have a workaround I can try as well for now.
Thanks,
Dean
From: Yoav Landman [mailto:[email protected]]
Sent: Tuesday, November 30, 2010 4:35 AM
To: [email protected]
Subject: Re: [Artifactory-users] 405 : HTTP method PUT not supported
Just a couple of other pointers -
(1) You are deploying to 'libs-snapshots-local'. The default repository name in
2.3.1 has changed 'libs-snapshot-local'. This only affects fresh installs, so
if you were playing with a previous version of Artifactory and now use your
previous settings against a fresh install (vs. upgrade) of 2.3.1 you may be
trying to deploy to a non-existing repository - I think this is the issue with
405.
(2) There is a bug in 2.3.1 where the UI generated settings have the
credentials XML wrongly capitalized
(https://issues.jfrog.org/jira/browse/RTFACT-3764). You have to replace all
capital letters in the XML tag and attributes with lowercase ones, or use the
sample from the wiki
<http://wiki.jfrog.org/confluence/display/RTF/Working+with+Ivy> . Otherwise,
credentials will not be effective and deploy will fail on 401.
Yoav
On Tue, Nov 30, 2010 at 6:21 AM, Frederic Simon <[email protected]> wrote:
Hi,
What the artifactory.log says? You can check from Artifactory UI at
Admin->Advanced->System Logs.
I think your issue is with the handle policy of the libs-snapshots-local
repository. If it is declared to allow only snapshots (and the "Handle release"
is unchecked), then the version 1.0 will be refused by Artifactory.
Hope this help,
Fred.
On Mon, Nov 29, 2010 at 7:18 PM, Hiller, Dean (Contractor)
<[email protected]> wrote:
I am getting the following issue on 2.3.1 artifactory…
C:\AAROOT\area1\ormlayer2\bldfiles\build.xml:394: impossible to publish
artifacts for broadridge#orm
layer;1.0: java.io.IOException: PUT operation to URL
http://206.88.41.159:8081/artifactory/libs-snap
shots-local/com.broadridge/ormlayer/1.0/ormlayer-1.0.jar failed with
status code 405: HTTP method PU
T is not supported by this URL
Is there some kind of setup missing from the docs on
http://wiki.jfrog.org/confluence/display/RTF/Working+with+Ivy
or does it not work with 2.2.0 of Ivy???
Here is my ivy settings file(though I have tried various combinations
since the link above was not completely clear there)
<?xml version="1.0" encoding="UTF-8"?>
<ivy-settings>
<settings defaultResolver="main" />
<!--Authentication required for publishing (deployment). 'Artifactory
Realm' is the realm used by Artifactory so don't change it.-->
<CREDENTIALS HOST="192.168.1.1" REALM="Artifactory Realm"
USERNAME="admin" PASSWD="password" />
<resolvers>
<chain name="main">
<ibiblio name="broadridge" m2compatible="true"
root="http://192.168.1.1:8081/artifactory/libs-release" />
</chain>
<url name="artifactory-publish">
<!-- You can use m2compatible="true" instead of specifying
your own pattern -->
<artifact pattern=
"http://192.168.1.1:8081/artifactory/libs-snapshots-local/[organization]/[module]/[revision]/[artifact]-[revision].[ext]
<http://192.168.1.1:8081/artifactory/libs-snapshots-local/%5Borganization%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>
"/>
<ivy
pattern="http://192.168.1.1:8081/artifactory/libs-snapshots-local/[organization]/[module]/[revision]/ivy-[revision].xml
<http://192.168.1.1:8081/artifactory/libs-snapshots-local/%5Borganization%5D/%5Bmodule%5D/%5Brevision%5D/ivy-%5Brevision%5D.xml>
" />
</url>
</resolvers>
</ivy-settings>
Thanks for any help,
Dean
This message and any attachments are intended only for the use of the
addressee and
may contain information that is privileged and confidential. If the
reader of the
message is not the intended recipient or an authorized representative
of the
intended recipient, you are hereby notified that any dissemination of
this
communication is strictly prohibited. If you have received this
communication in
error, please notify us immediately by e-mail and delete the message
and any
attachments from your system.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
--
JFrog Ltd
http://www.jfrog.org/
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
This message and any attachments are intended only for the use of the addressee
and
may contain information that is privileged and confidential. If the reader of
the
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users