Hi All, i'm having a problem on Artifactory 2.2.5 that doesn't appear when using Artifactory 2.0.1. Although i'm planning to migrate it to latest version i need to understand if it is ok.
I have the next environment and bash file for instantiating archetypes * maven: 2.2.1 * myVirtualrepo: groups all repositories but not catalog-repository * anonymous access globally allowed * catalog-repository has read access for anonymous * there is a user configured with enough grants to read myVirtualrepo When running a next batch file, artifactory logs that anonymous user is trying to download everything with anonymous grants instead of using repoitory server user and pass. The repo user and pass work well due to it downloads artifact as expected when using an exisiting maven project and removing local repository. ---- bash file--- repository=http://localhost:8180/artifactory/myVirtualrepo catalog=http://sc-quality:8080/artifactory/catalog-repository/archetype-catalog.xml mvn archetype:generate -DarchetypeCatalog=$catalog -DinteractiveMode=true -DarchetypeRepository=$repository ----- end ------- 2011-03-03 11:27:19,943 [DENIED DOWNLOAD] librerias-externas:org/apache/maven/plugins/maven-metadata.xml for anonymous/127.0.0.1. 2011-03-03 11:27:19,945 [DENIED DOWNLOAD] repo1-cache:org/apache/maven/plugins/maven-metadata.xml for anonymous/127.0.0.1. 2011-03-03 11:27:19,946 [DENIED DOWNLOAD] service-mix-cache:org/apache/maven/plugins/maven-metadata.xml for anonymous/127.0.0.1. 2011-03-03 11:27:19,947 [DENIED DOWNLOAD] service-mix2-cache:org/apache/maven/plugins/maven-metadata.xml for anonymous/127.0.0.1. 2011-03-03 11:27:19,947 [DENIED DOWNLOAD] Codehaus-cache:org/apache/maven/plugins/maven-metadata.xml for anonymous/127.0.0.1. It is note worthy that when running the same goal pointing to artifactory 2.0.1 it works. And the workaround that i found was using the user and pass in catalog URL as following: http://user:pass@sc-quality:8080/artifactory/catalog-repository/archetype-catalog.xml I need to confirm if it is an expected behavior of artifactory 2.2.5. Regards ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
