I have installed artifactiry. I'd like to use it to store (and internal sharing) some private jars. I'd also like to use it to fetch public jars from some remote maven repository.
So I don't know how to configure my settings.xml. If I use the following settings, I can only access private jars and not remote jars: <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>artifactory</id> <username>admin</username> <password>password</password> </server> <server> <id>central</id> <username>admin</username> <password>password</password> </server> <server> <id>snapshots</id> <username>admin</username> <password>password</password> </server> <server> <id>artifactory-release</id> <username>admin</username> <password>password</password> </server> <server> <id>artifactory-snapshots</id> <username>admin</username> <password>password</password> </server> <server> <id>remote</id> <username>admin</username> <password>password</password> </server> </servers> <profiles> <profile> <repositories> <repository> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>libs-release</name> <url>http://192.168.0.205:8081/artifactory/libs-release</url> </repository> <repository> <snapshots /> <id>snapshots</id> <name>libs-snapshot</name> <url>http://192.168.0.205:8081/artifactory/libs-snapshot</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>plugins-release</name> <url>http://192.168.0.205:8081/artifactory/plugins-release</url> </pluginRepository> <pluginRepository> <snapshots /> <id>snapshots</id> <name>plugins-snapshot</name> <url>http://192.168.0.205:8081/artifactory/plugins-snapshot</url> </pluginRepository> </pluginRepositories> <id>artifactory</id> </profile> </profiles> <activeProfiles> <activeProfile>artifactory</activeProfile> </activeProfiles> </settings> While if I add (at the top) the following code, I get an error: <mirrors> <mirror> <id>artifactory</id> <mirrorOf>*</mirrorOf> <url>http://192.168.0.205:8081/artifactory/repo</url> <name>Artifactory</name> </mirror> </mirrors> The error is : [ERROR] Failed to execute goal on project .... Could not resolve depen dencies for project.... Failure to find org.apache.pdfbox:fontbox:bundle:1.6.0 in http://192.168.0.205:8081/artifactory/repo1 was cached in the local repository, resolution will not be reattempted until the update interval of artifactory has elapsed or updates are forced -> [Help 1] Any help is appreciated. Thank you in advance Andrea -- View this message in context: http://forums.jfrog.org/Very-confused-Please-help-tp7210665p7210665.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
