Hi,

we are using Artifactory 2.3.2, Maven 2.2.1, 
We have a settings.xml forwarding all the requests to a virtual repository,
where snapshots are deactivated for pluginRepositories.
In our artifactory, all the public repositories have snapshots deactivated
(Handle Snapshots not checked).

However, whenever we are trying to run a maven command, such as
eclipse:eclipse or help:eclipse, maven tries to fetch a snapshot version of
the maven-eclipse-plugin or maven-help-plugin and display the following
error:

Reason: Error getting POM for 'org.apache.maven.plugins:maven-help-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-help-plugin:pom:2.2-SNAPSHOT

from the specified remote repositories:
  my-repository (https://myrepository/repo)

 for project org.apache.maven.plugins:maven-help-plugin

In Artifactory, it seems that only one public repository refers to these
artifacts: the apache public repositories. In this repository, the file
maven-help-plugin/maven-metadata.xml contains:

<metadata>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-help-plugin</artifactId>
  <versioning>
    <latest>2.2-SNAPSHOT</latest>
    <release>2.1.1</release>
    <versions>

      <version>2.0</version>
      <version>2.0.1</version>
      <version>2.0.2</version>
      <version>2.1</version>
      <version>2.1.1</version>
      <version>2.2-SNAPSHOT</version>

    </versions>
    <lastUpdated>20110225214700</lastUpdated>
  </versioning>
</metadata>

How can I configure Artifactory so that it ignores snapshots for this
repository ? as it seems this is the cause of the errors.

Thanks


--
View this message in context: 
http://forums.jfrog.org/Problem-Retrieving-Maven-Plugin-Artifacts-tp6303296p6303296.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

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