ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiller, Dean (Contractor)" <>
Subject RE: Is there a good example for using 1.+, etc(publish and resolve)
Date Mon, 13 Dec 2010 22:55:57 GMT
Answering ONE of my own questions here.  It turns out with artifactory,
you HAVE to set the defaultResolver to match the name of the chain so
that publish and resolve both work.  That got me one step further but
now, my 1.0.0 dependency will work, but defining 1.0.+ on my own
libraries does not work(but does work on libraries that are external to
our company like junit).  Any ideas on why 1.0.+ does not work(in the
ivy.xml dependency element I mean).


I am not sure if it matters that my module is a virtual module or not
which has release 1.0.0, 1.0.1, 1.0.2, 1.0.3 in the last hour as I have
been fiddling with the module adding dependencies, etc. and
re-releasing(third number is really the build number for us).





From: Hiller, Dean (Contractor) 
Sent: Monday, December 13, 2010 12:37 PM
Subject: Is there a good example for using 1.+, etc(publish and resolve)


I keep changing my ivysettings.xml file as I run into issues(like
javadoc stops downloading because of a change but binary is still
downloaded) or in my most recent adventure, it is not even resolving


Currently, my ivysettings.xml file is


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


  <settings defaultResolver="broadridge" />

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

  <credentials host="" realm="Artifactory Realm" username="admin"



      <ibiblio name="broadridge" m2compatible="true"
root="" />

          <url name="artifactory-publish" m2compatible="true">

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

              <artifact pattern=


n]/[module]/[revision]/ivy-[revision].xml" />






NOTICE the m2compatible....

I am not sure I need m2compatible on the url resolver?  

I am also not sure I need the chain?

On top of that the artifact pattern does not have [type] which means
sources/javadoc might have trouble? (But that was the artifactory

Why is the consumer looking for a pom???  I published a ivy xml file


[ivy:resolve]           module not found: com.broadridge#hbase;1.0

[ivy:resolve]   ==== broadridge: tried



I am not sure how to use "pattern" attribute when m2compatible is true
as in that case, shouldn't it be publishing a pom.xml file?  Is there
any examples on this?  I am trying to publish a virtual module and
consume it.  The publish with the above file worked but now consuming it
is not working L.


Very confused user....



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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message