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 (Created) (JIRA)" <ji...@apache.org> on 2012/01/24 02:25:40 UTC

[jira] [Created] (IVY-1334) Ivy buildnumber task use wrong URL to access Artifactory repository

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
             Fix For: 2.2.0


I run "ant publish -v" and get the error message.

[ivy:buildnumber] CLIENT ERROR: Not Found url=http://maven.propellerhead.co.nz/libs-releases/nz.co.uconnect/flo2cash/
[ivy:buildnumber] problem while listing resources in http://maven.propellerhead.co.nz/libs-releases/nz.co.uconnect/flo2cash/ with pubRep:
[ivy:buildnumber]   java.io.IOException The HTTP response code for http://maven.propellerhead.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.propellerhead.co.nz/libs-releases/nz.co.uconnect/flo2cash/
[ivy:buildnumber] problem while listing resources in http://maven.propellerhead.co.nz/libs-releases/nz.co.uconnect/flo2cash/ with pubRep:
[ivy:buildnumber]   java.io.IOException The HTTP response code for http://maven.propellerhead.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.propellerhead.co.nz/libs-releases/nz/co/uconnect/flo2cash/"

My setting is:
        <url name="pubRep">
            <artifact pattern="http://maven.propellerhead.co.nz/libs-releases/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
            <ivy pattern="http://maven.propellerhead.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

        

[jira] [Resolved] (IVY-1334) Ivy buildnumber task use wrong URL to access Artifactory repository

Posted by "Maarten Coene (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-1334.
--------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 2.2.0)

If your repository has a maven2 layout you should set the m2compatible='true' flag:

<url name="pubRep" m2compatible="true">
...
</url>
                
> 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

        

[jira] [Commented] (IVY-1334) Ivy buildnumber task use wrong URL to access Artifactory repository

Posted by "James Gan (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (IVY-1334) Ivy buildnumber task use wrong URL to access Artifactory repository

Posted by "James Gan (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Gan updated IVY-1334:
---------------------------

    Description: 
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>


  was:
I run "ant publish -v" and get the error message.

[ivy:buildnumber] CLIENT ERROR: Not Found url=http://maven.propellerhead.co.nz/libs-releases/nz.co.uconnect/flo2cash/
[ivy:buildnumber] problem while listing resources in http://maven.propellerhead.co.nz/libs-releases/nz.co.uconnect/flo2cash/ with pubRep:
[ivy:buildnumber]   java.io.IOException The HTTP response code for http://maven.propellerhead.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.propellerhead.co.nz/libs-releases/nz.co.uconnect/flo2cash/
[ivy:buildnumber] problem while listing resources in http://maven.propellerhead.co.nz/libs-releases/nz.co.uconnect/flo2cash/ with pubRep:
[ivy:buildnumber]   java.io.IOException The HTTP response code for http://maven.propellerhead.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.propellerhead.co.nz/libs-releases/nz/co/uconnect/flo2cash/"

My setting is:
        <url name="pubRep">
            <artifact pattern="http://maven.propellerhead.co.nz/libs-releases/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
            <ivy pattern="http://maven.propellerhead.co.nz/libs-releases/[organisation]/[module]/[revision]/ivy.xml" />
        </url>

    
> 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
>             Fix For: 2.2.0
>
>
> 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

        

[jira] [Commented] (IVY-1334) Ivy buildnumber task use wrong URL to access Artifactory repository

Posted by "James Gan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230711#comment-13230711 ] 

James Gan commented on IVY-1334:
--------------------------------

Can we change setting of Ivy so it ignores "maven-metadata.xml" when buildnumber task is executed?
                
> 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

        

[jira] [Reopened] (IVY-1334) Ivy buildnumber task use wrong URL to access Artifactory repository

Posted by "James Gan (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Gan reopened IVY-1334:
----------------------------


Can we let buildnumber task ignores maven-metadata.xml ?
                
> 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

        

[jira] [Closed] (IVY-1334) Ivy buildnumber task use wrong URL to access Artifactory repository

Posted by "James Gan (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Gan closed IVY-1334.
--------------------------

    Resolution: Fixed

Solved by using useMavenMetadata="false" option.


 <ibiblio name="pubRep" m2compatible="true" root="http://maven.propellerhead.co.nz/libs-releases-local" useMavenMetadata="false"/>

                
> 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