I tried this setup with nexus and it seems to work fine, so I'm guessing it
must be an artifactory issue.
Anil Gangolli wrote:
>
> The module name in your info element is "spyglass". The path you have
> specified is
>
> [organisation]/[module]/[revision]/[artifact]-[revision].[ext]
>
>
> This looks correct.
>
> bman wrote:
>> Hi All,
>>
>> I'm using ant + ivy to push and pull from a local enterprise server
>> running
>> Artifactory. For the most part it works great. However, I have come
>> across
>> a situation where the jar name that I expect to be published to
>> Artifactory
>> is not being published with that name. My local jar is named
>> ns-jmx-1.2.0-SNAPSHOT, but the published jar is named
>> spyglass-1.2.0-SNAPSHOT. Any ideas why this is occurring?
>>
>> build.xml:
>> <ivy:publish
>> artifactspattern="${basedir}/dist/[artifact]-[revision].[ext]"
>> resolver="Publisher" status="integration"
>> overwrite="true"
>> update="true"/>
>>
>> ivysettings.xml:
>> <url name="Publisher">
>> <artifact
>> pattern="http://172.0.0.0:8080/artifactory-2.0.6/libs-snapshots-local/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
>>
>> </url>
>>
>> ivy.xml:
>> <info organisation="com.ns" module="spyglass"
>> revision="1.2.0-SNAPSHOT"/>
>>
>> <publications>
>> <artifact name="ns-jmx" type="jar" ext="jar"/>
>> </publications>
>>
>> build results:
>> :: delivering :: com.ns#spyglass;1.2.0-SNAPSHOT :: 1.2.0-SNAPSHOT ::
>> integration :: Thu Aug 06 15:44:27 CDT 2009
>> delivering ivy file to
>> c:\dev\eclipse\workspace\spyglass\dist\ivy-1.2.0-SNAPSHOT.xml
>> :: publishing :: com.ns#spyglass
>> published ns-jmx to
>> http://172.0.0.0:8080/artifactory-2.0.6/libs-snapshots-local/com.ns/spyglass/1.2.0-SNAPSHOT/ns-jmx-1.2.0-SNAPSHOT.jar
>> published ivy to
>> http://172.0.0.0:8080/artifactory-2.0.6/libs-snapshots-local/com.ns/spyglass/1.2.0-SNAPSHOT/ivy-1.2.0-SNAPSHOT.xml
>>
>> BUILD SUCCESSFUL
>> Total time: 7 seconds
>>
>>
>> Thanks in advance for the help!
>> Barry
>>
>
>
>
>
--
View this message in context:
http://www.nabble.com/Ivy-Publishing-Wrong-Name-to-Artifactory-tp24854655p24902406.html
Sent from the ivy-user mailing list archive at Nabble.com.