I posted the solution at the bottom of

 

http://wiki.jfrog.org/confluence/display/RTF/Working+with+Ivy?focusedCom
mentId=15171709&#comment-15171709

 

since the documentation there was not too clear.

 

Now, of course, my 1.0.+ in ivy.xml dependency elements does not work on
any of the things I have published L.  Onto researching that one now.
Why does 1.0.1 download the correct dependeny, why 1.0.+ does not(is
that an artifactory or ivy problem?)...I want to shoot myself now but I
am so close to having this all done.

 

Thanks,

Dean 

 

 

From: Hiller, Dean (Contractor) 
Sent: Monday, December 13, 2010 9:19 AM
To: '[email protected]'
Subject: using artifactory as a proxy not working(search can't find
groovy)??

 

I changed my ivysettings so our builds only know about artifactory and
was expecting artifactory to go fetch the right jars from other
repositories.

 

<?xml version="1.0" encoding="UTF-8"?>

<ivy-settings>

  <settings defaultResolver="artifactory-publish" />

  <!--Authentication required for publishing (deployment). 'Artifactory
Realm' is the realm used by Artifactory so don't change it.-->

  <credentials host="201.11.11.11" realm="Artifactory Realm"
username="admin" passwd="password"/>

  <resolvers>

    <url name="artifactory-publish">

        <!-- You can use  m2compatible="true" instead of specifying your
own pattern -->

        <artifact pattern=

 
"http://201.11.11.11:8081/artifactory/libs-release-local/[organization]/
[module]/[revision]/[artifact]-[revision].[ext]"/>

        <ivy
pattern="http://201.11.11.11:8081/artifactory/libs-release-local/[organi
zation]/[module]/[revision]/ivy-[revision].xml" />

    </url>    

  </resolvers>

</ivy-settings>

 

When I run my build, groovy can't be found, so I then go into
artifactory and see the repository called repo1 at url
http://repo1.maven.org/maven2

 

And when I search in artifactory of groovy, nothing is found.  I see it
at the above url though.  (ie.
http://mirrors.ibiblio.org/pub/mirrors/maven2/groovy/groovy/1.0/ )

 

So

#1 Why does artifactory quick search not find groovy

#2 How do I set this up so groovy will be downloaded without having my
build know about ibiblio repository?

 

Thanks,

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.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to