|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Real problem getting Artifactory to workI have it installed on Tomcat, and I have the following remote repositories in the config file. For some reason, it can only see the first one - repo1 when I do a mvn build. Unfortunately, I can't get far in a build if I can only get jars from repo1.
<remoteRepositories> <remoteRepository> <key>repo1</key> <handleReleases>true</handleReleases> <handleSnapshots>false</handleSnapshots> <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern> <url>http://repo1.maven.org/maven2</url> </remoteRepository> <remoteRepository> <key>codehaus-snapshots</key> <blackedOut>true</blackedOut> <handleReleases>false</handleReleases> <handleSnapshots>true</handleSnapshots> <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern> <url>http://snapshots.repository.codehaus.org</url> </remoteRepository> <remoteRepository> <key>java.net</key> <description>java.net</description> <handleReleases>true</handleReleases> <handleSnapshots>true</handleSnapshots> <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern> <url>http://download.java.net/maven/2</url> </remoteRepository> <remoteRepository> <key>codehaus</key> <handleReleases>true</handleReleases> <handleSnapshots>false</handleSnapshots> <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern> <url>http://dist.codehaus.org</url> </remoteRepository> <remoteRepository> <key>codehaus2</key> <handleReleases>true</handleReleases> <handleSnapshots>false</handleSnapshots> <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern> <url>http://repository.codehaus.org</url> </remoteRepository> <remoteRepository> <key>ibiblio</key> <excludesPattern>org/artifactory/**</excludesPattern> <url>http://www.ibiblio.org/maven2</url> </remoteRepository> <remoteRepository> <key>apache-m2-snapshots</key> <handleReleases>false</handleReleases> <handleSnapshots>true</handleSnapshots> <url>http://people.apache.org/repo/m2-snapshot-repository</url> <proxyRef>unused-proxy</proxyRef> </remoteRepository> Artifactory shows the following on startup - so I know it has them there. 2008-06-27 14:23:44,015 [INFO ] (RemoteRepoBase.java:81) - repo1: Retrieval cache will be enabled with period of 43200 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:87) - repo1: Enabling failed retrieval cache with period of 30 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:95) - repo1: Enabling misses retrieval cache with period of 43200 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:81) - codehaus-snapshots: Retrieval cache will be enabled with period of 43200 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:87) - codehaus-snapshots: Enabling failed retrieval cache with period of 30 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:95) - codehaus-snapshots: Enabling misses retrieval cache with period of 43200 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:81) - java.net: Retrieval cache will be enabled with period of 43200 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:87) - java.net: Enabling failed retrieval cache with period of 30 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:95) - java.net: Enabling misses retrieval cache with period of 43200 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:81) - codehaus: Retrieval cache will be enabled with period of 43200 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:87) - codehaus: Enabling failed retrieval cache with period of 30 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:95) - codehaus: Enabling misses retrieval cache with period of 43200 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:81) - codehaus2: Retrieval cache will be enabled with period of 43200 seconds 2008-06-27 14:23:44,031 [INFO ] (RemoteRepoBase.java:87) - codehaus2: Enabling failed retrieval cache with period of 30 seconds 2008-06-27 14:23:44,046 [INFO ] (RemoteRepoBase.java:95) - codehaus2: Enabling misses retrieval cache with period of 43200 seconds 2008-06-27 14:23:44,046 [INFO ] (RemoteRepoBase.java:81) - ibiblio: Retrieval cache will be enabled with period of 43200 seconds 2008-06-27 14:23:44,046 [INFO ] (RemoteRepoBase.java:87) - ibiblio: Enabling failed retrieval cache with period of 30 seconds 2008-06-27 14:23:44,046 [INFO ] (RemoteRepoBase.java:95) - ibiblio: Enabling misses retrieval cache with period of 43200 seconds 2008-06-27 14:23:44,046 [INFO ] (RemoteRepoBase.java:81) - apache-m2-snapshots: Retrieval cache will be enabled with period of 43200 seconds 2008-06-27 14:23:44,046 [INFO ] (RemoteRepoBase.java:87) - apache-m2-snapshots: Enabling failed retrieval cache with period of 30 seconds 2008-06-27 14:23:44,046 [INFO ] (RemoteRepoBase.java:95) - apache-m2-snapshots: Enabling misses retrieval cache with period of 43200 seconds ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
|
Re: Real problem getting Artifactory to workSounds like you are stuck on something very basic. Are you sure your maven requests hit artifactory at all? You should see some log activity for artifacts you retrieved remotely. The fact that you can get artifacts from repo1 and not other remote repositories suggests to me that maven might be still accessing repo1 directly.
Yoav On Fri, Jun 27, 2008 at 9:44 PM, John Kwon <jtkwon@...> wrote: I have it installed on Tomcat, and I have the following remote repositories in the config file. For some reason, it can only see the first one - repo1 when I do a mvn build. Unfortunately, I can't get far in a build if I can only get jars from repo1. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
| Free Forum Powered by Nabble | Forum Help |