ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Haynes <>
Subject Publishing POM to Artifactory not working
Date Thu, 22 Sep 2011 17:27:37 GMT
Hey there.
I am having a bit of a problem publishing a pom file to my Artifactory
repository using the Ant tools.
The ant target does not seem to be finding the pom file to publish.

Here is a piece from the build.xml file:
        <ivy:makepom ivyfile="ivy.xml"
pomfile="${dist.dir}/${name}-${version}.pom" conf="default, runtime">
            <mapping conf="default" scope="compile"/>
            <mapping conf="runtime" scope="runtime"/>

        <ivy:publish organisation="${org}" module="${name}"
            resolver="libs-snapshot-local" srcivypattern="ivy.xml"
update="true" overwrite="true" publishivy="false">
            <artifacts pattern="${dist.dir}/[artifact]-${version}.[ext]"/>
            <artifacts pattern="${dist.dir}/[artifact]-${version}.pom"/>

My resolver looks like this:
<url name="libs-snapshot-local" m2compatible="true">
     <artifact pattern="[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
      <ivy pattern="[organisation]/[module]/[revision]/ivy-[revision].xml"

When I run the build, I get the following:
[ivy:publish] :: publishing :: com.cinbell.cbts#rest-lib
[ivy:publish]   published rest-lib to

And that is what shows up in the Artifactory repository.

Notice that there is no attempt to publish the pom file....

The pom file is generated and is in the ${dist.dir} directory as

I am using ivy version 2.2.0.

If anyone has any suggestions, I would love to hear them. I am out of ideas
on this one.


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