
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Hello,
I think this is a newbie question , so ... sorry !
I'm using artifactory 1.2.5.
I want to exclude from artifactory the version 2.7 of the maven-eclipse-plugin (I want all my users to use 2.5.1).
How can I do it ? (if I remove it from Web UI, artifactory's going to download it when requested).
Thanks
P.S : I've configured artifactory to handle http://repo1.maven.org/maven2 as a remote repository.I've added 'org/apache/maven/plugins/maven-eclipse-plugin/2.7/**' to the excludesPattern in artifactory.config.xml, but it doesn't seem to work cf [1] !
<remoteRepository>
<key>repo1</key>
<handleReleases>true</handleReleases>
<handleSnapshots>false</handleSnapshots>
<excludesPattern>org/artifactory/**,org/jfrog/**,com/natixis/**,com/ibm/**,com/oracle/**,org/jboss/**,org/apache/maven/plugins/maven-eclipse-plugin/2.7/**</excludesPattern>
http://repo1.maven.org/maven2 <!-- delai long en raison du serveur antivirus -->
<socketTimeoutMillis>60000</socketTimeoutMillis>
<proxyRef>planetsurf</proxyRef>
</remoteRepository>
[1]
[INFO]
------------------------------------------------------------------------
[INFO]
Building Application MVC2 Web Simple - Module Parametrage
[INFO]
task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO]
artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for upda
tes
from central
Downloading: http://sxdmut53:18080/artifactory/repo/org/apache/maven/plugins/mav
en-eclipse-plugin/2.7/maven-eclipse-plugin-2.7.pom
Downloading:
http://sxdmut53:18080/artifactory/repo/org/apache/maven/plugins/mav
en-eclipse-plugin/2.7/maven-eclipse-plugin-2.7.jar
[INFO]
------------------------------------------------------------------------
[ERROR]
BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO]
A required plugin was not found: Plugin could not be found - check that t
he
goal name is correct: Unable to download the artifact from any
repository
Try downloading the file manually from the project
website.
Then, install it using the command:
mvn
install:install-file -DgroupId=org.apache.maven.plugins
-DartifactId=mav
en-eclipse-plugin -Dversion=2.7 -Dpackaging=maven-plugin
-Dfile=/path/to/file
Alternatively, if you host your own repository you
can deploy the file there:
mvn deploy:deploy-file
-DgroupId=org.apache.maven.plugins -DartifactId=maven
-eclipse-plugin
-Dversion=2.7 -Dpackaging=maven-plugin -Dfile=/path/to/file -Dur
l=[url]
-DrepositoryId=[id]
------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users