1 ################################################################################
3 # Licensed to the Apache Software Foundation (ASF) under one or more
4 # contributor license agreements. See the NOTICE file distributed with
5 # this work for additional information regarding copyright ownership.
6 # The ASF licenses this file to You under the Apache License, Version 2.0
7 # (the "License"); you may not use this file except in compliance with
8 # the License. You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 ################################################################################
21 # If set to true, the following property will not allow any certificate to be used
22 # when accessing Maven repositories through SSL
24 #org.ops4j.pax.url.mvn.certificateCheck=
27 # Path to the local Maven settings file.
28 # The repositories defined in this file will be automatically added to the list
29 # of default repositories if the 'org.ops4j.pax.url.mvn.repositories' property
31 # The following locations are checked for the existence of the settings.xml file
32 # * 1. looks for the specified url
33 # * 2. if not found looks for ${user.home}/.m2/settings.xml
34 # * 3. if not found looks for ${maven.home}/conf/settings.xml
35 # * 4. if not found looks for ${M2_HOME}/conf/settings.xml
37 #org.ops4j.pax.url.mvn.settings=
40 # Path to the local Maven repository which is used to avoid downloading
41 # artifacts when they already exist locally.
42 # The value of this property will be extracted from the settings.xml file
43 # above, or defaulted to:
44 # System.getProperty( "user.home" ) + "/.m2/repository"
46 org.ops4j.pax.url.mvn.localRepository=${karaf.home}/${karaf.default.repository}
49 # Default this to false. It's just weird to use undocumented repos
51 org.ops4j.pax.url.mvn.useFallbackRepositories=false
54 # Uncomment if you don't wanna use the proxy settings
55 # from the Maven conf/settings.xml file
57 # org.ops4j.pax.url.mvn.proxySupport=false
60 # Disable aether support by default. This ensure that the defaultRepositories
63 #org.ops4j.pax.url.mvn.disableAether=true
66 # Comma separated list of repositories scanned when resolving an artifact.
67 # Those repositories will be checked before iterating through the
68 # below list of repositories and even before the local repository
69 # A repository url can be appended with zero or more of the following flags:
70 # @snapshots : the repository contains snaphots
71 # @noreleases : the repository does not contain any released artifacts
73 # The following property value will add the system folder as a repo.
75 #org.ops4j.pax.url.mvn.defaultRepositories=
77 # Use the default local repo (e.g.~/.m2/repository) as a "remote" repo
78 org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false
81 # Comma separated list of repositories scanned when resolving an artifact.
82 # The default list includes the following repositories containing releases:
83 # http://repo1.maven.org/maven2
84 # http://repository.apache.org/content/groups/snapshots-group
85 # http://svn.apache.org/repos/asf/servicemix/m2-repo
86 # http://repository.springsource.com/maven/bundles/release
87 # http://repository.springsource.com/maven/bundles/external
88 # To add repositories to the default ones, prepend '+' to the list of repositories
90 # A repository url can be appended with zero or more of the following flags:
91 # @snapshots : the repository contains snaphots
92 # @noreleases : the repository does not contain any released artifacts
93 # @id=reponid : the id for the repository, just like in the settings.xml this is optional but recomendet
95 # The default list doesn't contain any repository containing snapshots as it can impact the artifacts resolution.
96 # You may want to add the following repositories containing snapshots:
97 # http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases
98 # http://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@norelease
99 # http://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
101 org.ops4j.pax.url.mvn.repositories= \
102 file:${karaf.home}/${karaf.default.repository}@id=system.repository, \
103 file:${karaf.data}/kar@id=kar.repository@multi, \
104 http://repo1.maven.org/maven2@id=central, \
105 http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, \
106 http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external