HI Yoav
I think this is a Apache Ivy problem. I created a Groovy example that uploads the POM and JAR into Artifactory with Basic Authentication. I intend to blog the work-around that I use. It is Ant build file with an external Groovy Script. Part of the problem is that Apache Ivy has this concept of ``resolvers'', but does not provide or enable the feature that enables Basic Authorisation credentials. I mention this when I blog it may be next week on jroller.com. Anyway, I am quite busy this week so I will get you that stacktrace next week. btw: I am using Artifactory 2.0.7 on my local workstation. Yoav Landman-3 wrote: > > Hi Peter, > > Could you attach the server server log error that is reported when > deployment fails? > Also, what version of Artifactory are you using? > > Thanks, > > Yoav > > On Tue, Sep 8, 2009 at 5:50 PM, Peter Pilgrim (JC) < > [email protected]> wrote: > >> >> Hi All >> >> I have a JavaFX project, which creates a JAR artefact. I am using Apache >> Ivy >> to generate the POM file. >> How do I deploy both the JAR file and the POM file simultaneously to an >> Artifactory using a username and password credentials? >> >> I tried using the Apache Ivy task <ivy:install>. >> >> Then I tried CURL, calling it through a Ant build script >> >> curl -v -X PUT - -data-binary @mylib-1.0.jar -u admin:XYZ1234 >> >> http://localhost:8080/artifactory/libs-releases-local/org/jfrog/test/1.0/mylib-1.0.jar >> >> However I can seem to deploy the POM to the Artifactory. >> >> I remember someone saying that there was REST API, is this the way to go? >> Maybe I can get to the endpoint with Ant calling a simply Groovy Script >> or >> something. >> >> Any ideas. >> > > > > -- View this message in context: http://www.nabble.com/How-to-deploy-an-POM-file-and-JAR-to-Artifactory-Using-Ant---Ivy--tp25347757p25386780.html Sent from the Artifactory-Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
