You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2013/05/14 13:33:29 UTC
svn commit: r1482305 -
/karaf/trunk/assemblies/features/framework/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg
Author: jbonofre
Date: Tue May 14 11:33:28 2013
New Revision: 1482305
URL: http://svn.apache.org/r1482305
Log:
[KARAF-2314] Remove SNAPSHOT repositories by default
Modified:
karaf/trunk/assemblies/features/framework/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg
Modified: karaf/trunk/assemblies/features/framework/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/framework/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg?rev=1482305&r1=1482304&r2=1482305&view=diff
==============================================================================
--- karaf/trunk/assemblies/features/framework/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg (original)
+++ karaf/trunk/assemblies/features/framework/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg Tue May 14 11:33:28 2013
@@ -79,7 +79,7 @@ org.ops4j.pax.url.mvn.defaultLocalRepoAs
#
# Comma separated list of repositories scanned when resolving an artifact.
-# The default list includes the following repositories:
+# The default list includes the following repositories containing releases:
# http://repo1.maven.org/maven2
# http://repository.apache.org/content/groups/snapshots-group
# http://svn.apache.org/repos/asf/servicemix/m2-repo
@@ -92,11 +92,14 @@ org.ops4j.pax.url.mvn.defaultLocalRepoAs
# @noreleases : the repository does not contain any released artifacts
# @id=reponid : the id for the repository, just like in the settings.xml this is optional but recomendet
#
+# The default list doesn't contain any repository containing snapshots as it can impact the artifacts resolution.
+# You may want to add the following repositories containing snapshots:
+# http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases
+# http://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@norelease
+# http://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
+#
org.ops4j.pax.url.mvn.repositories= \
http://repo1.maven.org/maven2@id=central, \
- http://repository.springsource.com/maven/bundles/release@id=spring-ebr, \
- http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, \
- https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@norelease, \
- https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases, \
- file:${karaf.home}/${karaf.default.repository}@id=systemrepo, \
- file:${karaf.data}/kar@id=karrepos@multi
+ http://repository.springsource.com/maven/bundles/release@id=spring.ebr, \
+ file:${karaf.home}/${karaf.default.repository}@id=system.repository, \
+ file:${karaf.data}/kar@id=kar.repository@multi