Hi Paul,
Can you please attach snippets of Artifactory's standard, access and request
logs from the times of the denied deploy?
It should contain more clues regarding the reason of denial.
Thanks,
Noam
On Tue, Jul 19, 2011 at 5:38 PM, Paul Butcher <[email protected]>wrote:
> I'm an Artifactory and Ivy newbie, and I know even less about Maven, so
> please forgive me if any of the following is stupid.
>
> I'm currently evaluating Artifactory Online. We're not using either Ant or
> Maven (our build system is based upon SCons) so plan to use Ivy from the
> command line to publish and resolve dependencies.
>
> I've configured Artifactory with two repositories, one called "releases"
> which has (only) "Handle Releases" checked and one called "snapshots" which
> has (only) "Handle Snapshots" checked. I can publish to releases just fine,
> but publishing to snapshots gives me "409: Conflict", which I believe means
> that it doesn't think that I'm publishing a snapshot? Indeed, if I check
> "Handle Releases" then I can publish to it.
>
> Here's the Ivy command line that I'm using:
>
> > java -jar /opt/local/share/java/ivy.jar -settings ivysettings.xml -ivy
> ivy.xml -publish snapshots -status integration -revision 1.2.4
> -publishpattern libfluency-cpp.dylib
>
> I thought that specifying "-status integration" would be enough to tell
> Artifactory that this is a snapshot release, but I guess that I must be
> mistaken?
>
> Here's my ivysettings.xml:
>
> > <?xml version="1.0" encoding="UTF-8"?>
> > <ivy-settings>
> >
> > <credentials host="pbutcher.artifactoryonline.com" realm="Artifactory
> Realm" username="deployer" passwd="..." />
> > <resolvers>
> > <url name="releases" m2compatible="false">
> > <artifact pattern="
> http://pbutcher.artifactoryonline.com/pbutcher/releases/[organization]/[module]/[revision]/[type]s/[module](-[classifier])-[revision].[ext]"
> />
> > <ivy pattern="
> http://pbutcher.artifactoryonline.com/pbutcher/releases/[organization]/[module]/[revision]/[type]s/ivy-[revision].xml"
> />
> > </url>
> > <url name="snapshots" m2compatible="false">
> > <artifact pattern="
> http://pbutcher.artifactoryonline.com/pbutcher/snapshots/[organization]/[module]/[revision]/[type]s/[module](-[classifier])-[revision].[ext]"
> />
> > <ivy pattern="
> http://pbutcher.artifactoryonline.com/pbutcher/snapshots/[organization]/[module]/[revision]/[type]s/ivy-[revision].xml"
> />
> > </url>
> > </resolvers>
> > </ivy-settings>
>
> And here's my ivy.xml:
>
> > <ivy-module version="2.0">
> > <info organisation="touchtype" module="Fluency"/>
> > <publications>
> > <artifact name="libfluency-cpp" type="dylib" />
> > </publications>
> > </ivy-module>
>
> I've also tried setting the classifier to SNAPSHOT as follows, but that
> doesn't seem to have any effect (other than inserting "SNAPSHOT" into the
> library filename):
>
> > <ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra">
> > <info organisation="touchtype" module="Fluency"/>
> > <publications>
> > <artifact name="libfluency-cpp" type="dylib" e:classifier="SNAPSHOT"
> />
> > </publications>
> > </ivy-module>
>
> I'd greatly appreciate a pointer to what I'm missing!
>
> Thanks,
>
> --
> Paul Butcher
>
> Chief Software Architect | TouchType
> [email protected] | +44 (0)7740 857 648 | www.touchtype-online.com
>
> 75 Westminster Bridge Road, London, SE1 7HS, United Kingdom
>
> ++++++
>
> Download our award-winning Android app SwiftKey at www.swiftkey.net.
>
> TouchType is a limited company registered in England and Wales, number
> 06671487. Registered office: 21 Lawn Terrace, Blackheath, London, SE3 9LL,
> United Kingdom.
>
>
>
> ------------------------------------------------------------------------------
> 10 Tips for Better Web Security
> Learn 10 ways to better secure your business today. Topics covered include:
> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
> security Microsoft Exchange, secure Instant Messaging, and much more.
> http://www.accelacomm.com/jaw/sfnl/114/51426210/
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users