> I am not sure I need m2compatible on the url resolver? Yes you do, this way your "com.broadridge" organisation will be translated to a "com/broadridge" structure.
> I am also not sure I need the chain? No, you don't. > On top of that the artifact pattern does not have [type] which means > sources/javadoc might have trouble? (But that was the artifactory > example) That will be a problem indeed. It could be that Ivy will fail to publish because of this, but I'm not sure of that... > Why is the consumer looking for a pom??? I published a ivy xml file You use the ibiblio resolver as default resolver. This resolver searches for a pom file. If you don't want this, you'll need to define an url resolver instead. HTH, Maarten ----- Original Message ---- From: "Hiller, Dean (Contractor)" <[email protected]> To: [email protected] Sent: Mon, December 13, 2010 8:36:56 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 now. Currently, my ivysettings.xml file is <?xml version="1.0" encoding="UTF-8"?> <ivy-settings> <settings defaultResolver="broadridge" /> <!--Authentication required for publishing (deployment). 'Artifactory Realm' is the realm used by Artifactory so don't change it.--> <credentials host="8.8.8.8" realm="Artifactory Realm" username="admin" passwd="password"/> <resolvers> <chain> <ibiblio name="broadridge" m2compatible="true" root="http://8.8.8.8:8081/artifactory/libs-release" /> <url name="artifactory-publish" m2compatible="true"> <!-- You can use m2compatible="true" instead of specifying your own pattern --> <artifact pattern= "http://8.8.8.8:8081/artifactory/libs-release-local/[organization]/[modu le]/[revision]/[artifact]-[revision].[ext]"/> <ivy pattern="http://8.8.8.8:8081/artifactory/libs-release-local/[organizatio n]/[module]/[revision]/ivy-[revision].xml" /> </url> </chain> </resolvers> </ivy-settings> 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 example) 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 [ivy:resolve] http://8.8.8.8:8081/artifactory/libs-release/com/broadridge/tools/1.0/to ols-1.0.pom 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.... 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.
