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 # Comma separated list of repositories scanned when resolving an artifact.
61 # Those repositories will be checked before iterating through the
62 # below list of repositories and even before the local repository
63 # A repository url can be appended with zero or more of the following flags:
64 # @snapshots : the repository contains snaphots
65 # @noreleases : the repository does not contain any released artifacts
67 # The following property value will add the system folder as a repo.
69 org.ops4j.pax.url.mvn.defaultRepositories=\
70 file:${karaf.home}/${karaf.default.repository}@id=system.repository@snapshots,\
71 file:${karaf.data}/kar@id=kar.repository@multi@snapshots,\
72 file:${karaf.base}/${karaf.default.repository}@id=child.system.repository@snapshots
74 # Use the default local repo (e.g.~/.m2/repository) as a "remote" repo
75 #org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false
78 # Comma separated list of repositories scanned when resolving an artifact.
79 # The default list includes the following repositories:
80 # http://repo1.maven.org/maven2@id=central
81 # http://repository.springsource.com/maven/bundles/release@id=spring.ebr
82 # http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external
83 # http://zodiac.springsource.com/maven/bundles/release@id=gemini
84 # http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases
85 # https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases
86 # https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
87 # To add repositories to the default ones, prepend '+' to the list of repositories
89 # A repository url can be appended with zero or more of the following flags:
90 # @snapshots : the repository contains snapshots
91 # @noreleases : the repository does not contain any released artifacts
92 # @id=repository.id : the id for the repository, just like in the settings.xml this is optional but recommended
94 org.ops4j.pax.url.mvn.repositories=
96 ### ^^^ No remote repositories. This is the only ODL change compared to Karaf defaults.