Noam, thanks you for your time and commitment. I found the issue.
As i told you, when maven tries to resolve snapshot version of plugins, it fails if mirrors are used. But we have checked that when the mirror is disabled and a repository is set instead of the mirror overriding central and snapshot repositories, it works. Seems that there is a issue when resolving snapshot versions if there is a mirror set.
Thanks again.



On 26/04/11 03:30, Noam Y. Tenne wrote:
Please attach your settings XML (sanitizing any private information, obviously) or send it to [email protected] <mailto:[email protected]>

On Mon, Apr 25, 2011 at 7:50 PM, Mario Matias Urbieta <[email protected] <mailto:[email protected]>> wrote:

    Hi Noam, response between the lins:


    A couple of more questions:

        * Have you tried requesting the plugin directly (via the
          browser or curl)?

    yes, it was retrieved. And also was resolved both plugin metadata
    and snapshot metadata.


        * Did you make sure that the repository the plugin is
          deployed to is configured to use a unique snapshot policy
          (see
          http://wiki.jfrog.org/confluence/display/RTF/Local+Repositories)?

    Yes, it is configured for handling snapshot with unique policy.

        * Have you tried resolving directly from the local repository
          the snapshots are deployed to?

    Yes, same response.

        * Have you tried purging the plugin's maven metadata from
          your local m2 cache?


    Yes, i did. Same error logged:


    Caused by: org.apache.maven.project.ProjectBuildingException:
    Error getting POM for
    'org.apache.maven.plugins:maven-archetype-plugin' from the
    repository: Failed to resolve artifact, possibly due to a
    repository list that is not appropriately equipped for this
    artifact's metadata.
      org.apache.maven.plugins:maven-archetype-plugin:pom:2.1-SNAPSHOT

    To reproduce the issue:
    a) download 2.1-SNAPSHOT version of maven archetype plugin
    b) adjust distribution management configuration in master pom.
    c) deploy i.








    On Wed, Apr 20, 2011 at 6:05 PM, Mario Matias Urbieta
    <[email protected]
    <mailto:[email protected]>> wrote:

        Hi Noam, first i'm really sorry. I mistook the log. The right
        one is the following with the same context mentioned in
        previous mails:
        ...


    
------------------------------------------------------------------------------
    Benefiting from Server Virtualization: Beyond Initial Workload
    Consolidation -- Increasing the use of server virtualization is a top
    priority.Virtualization can reduce costs, simplify management, and improve
    application availability and disaster protection. Learn more about boosting
    the value of server virtualization.http://p.sf.net/sfu/vmware-sfdev2dev


    _______________________________________________
    Artifactory-users mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/artifactory-users


    
------------------------------------------------------------------------------
    WhatsUp Gold - Download Free Network Management Software
    The most intuitive, comprehensive, and cost-effective network
    management toolset available today.  Delivers lowest initial
    acquisition cost and overall TCO of any competing solution.
    http://p.sf.net/sfu/whatsupgold-sd
    _______________________________________________
    Artifactory-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/artifactory-users



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd


_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to