You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "James Gan (Commented) (JIRA)" <ji...@apache.org> on 2012/01/28 10:05:10 UTC
[jira] [Commented] (IVY-1334) Ivy buildnumber task use wrong URL to
access Artifactory repository
[ https://issues.apache.org/jira/browse/IVY-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195462#comment-13195462 ]
James Gan commented on IVY-1334:
--------------------------------
Maarten,
I've tried m2compatible option. The problem is that "maven-metadata.xml" file is not generated when I publish artifacts to Artifactory repository with Ivy. Thus the buildnumber is never correct since it depends on maven-metadata.xml. Is there a way to force Ivy to generate and upload "maven-metadata.xml"?
Thanks!
> Ivy buildnumber task use wrong URL to access Artifactory repository
> -------------------------------------------------------------------
>
> Key: IVY-1334
> URL: https://issues.apache.org/jira/browse/IVY-1334
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.0
> Environment: Windows
> Reporter: James Gan
>
> I run "ant publish -v" and get the error message.
> [ivy:buildnumber] CLIENT ERROR: Not Found url=http://maven.ph.co.nz/libs-releases/nz.co.uconnect/flo2cash/
> [ivy:buildnumber] problem while listing resources in http://maven.ph.co.nz/libs-releases/nz.co.uconnect/flo2cash/ with pubRep:
> [ivy:buildnumber] java.io.IOException The HTTP response code for http://maven.ph.co.nz/libs-releases/nz.co.uconnect/flo2cash/ did not indicate a success. See log for more detail.
> [ivy:buildnumber] CLIENT ERROR: Not Found url=http://maven.ph.co.nz/libs-releases/nz.co.uconnect/flo2cash/
> [ivy:buildnumber] problem while listing resources in http://maven.ph.co.nz/libs-releases/nz.co.uconnect/flo2cash/ with pubRep:
> [ivy:buildnumber] java.io.IOException The HTTP response code for http://maven.ph.co.nz/libs-releases/nz.co.uconnect/flo2cash/ did not indicate a success. See log for more detail
> I assume the correct behavior should be accessing "http://maven.ph.co.nz/libs-releases/nz/co/uconnect/flo2cash/"
> My setting is:
> <url name="pubRep">
> <artifact pattern="http://maven.ph.co.nz/libs-releases/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
> <ivy pattern="http://maven.ph.co.nz/libs-releases/[organisation]/[module]/[revision]/ivy.xml" />
> </url>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira