Advertisement
Guest User

org.ops4j.pax.url.mvn.cfg file

a guest
Apr 6th, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.34 KB | None | 0 0
  1. org.ops4j.pax.url.mvn.cfg file:
  2.  
  3. #
  4. # Copyright (C) Red Hat, Inc.
  5. # http://redhat.com
  6. #
  7. # Licensed under the Apache License, Version 2.0 (the "License");
  8. # you may not use this file except in compliance with the License.
  9. # You may obtain a copy of the License at
  10. #
  11. # http://www.apache.org/licenses/LICENSE-2.0
  12. #
  13. # Unless required by applicable law or agreed to in writing, software
  14. # distributed under the License is distributed on an "AS IS" BASIS,
  15. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. # See the License for the specific language governing permissions and
  17. # limitations under the License.
  18. #
  19.  
  20. #
  21. # If set to true, the following property will not allow any certificate to be used
  22. # when accessing maven repositories through SSL
  23. #
  24. #org.ops4j.pax.url.mvn.certificateCheck=
  25. org.ops4j.pax.url.mvn.localRepository=C:/Users/myUserName/.m2/repository
  26. #
  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
  30. # below is not set.
  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 /builddir/.m2/settings.xml
  34. # * 3. if not found looks for /usr/share/java/apache-maven-3.0.4/conf/settings.xml
  35. # * 4. if not found looks for ${M2_HOME}/conf/settings.xml
  36. #
  37. #org.ops4j.pax.url.mvn.settings=
  38.  
  39. #
  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"
  45. #
  46. #org.ops4j.pax.url.mvn.localRepository=
  47.  
  48. #
  49. # Default this to false. It's just weird to use undocumented repos
  50. #
  51. org.ops4j.pax.url.mvn.useFallbackRepositories=false
  52.  
  53. #
  54. # Uncomment if you are behind a web proxy. PAX URL will use the proxy settings
  55. # from the Maven conf/settings.xml file
  56. #
  57. # org.ops4j.pax.url.mvn.proxySupport=true
  58.  
  59. #
  60. # Disable aether support by default. This ensure that the defaultRepositories
  61. # below will be used
  62. #
  63. org.ops4j.pax.url.mvn.disableAether=true
  64.  
  65. #
  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
  72. # @id=reponid : the id for the repository, just like in the settings.xml this is optional but recomendet
  73. #
  74. # The following property value will add the system folder as a repo.
  75. #
  76.  
  77.  
  78. org.ops4j.pax.url.mvn.defaultRepositories = file:C:\\jboss-fuse-6.0.0.redhat-024/system@snapshots@id=karaf.system,
  79.  
  80. #
  81. # Comma separated list of repositories scanned when resolving an artifact.
  82. # The default list includes the following repositories:
  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
  89. # to add.
  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. #
  94. org.ops4j.pax.url.mvn.repositories= \
  95. http://repo1.maven.org/maven2@id=maven.central.repo, \
  96. http://repo.fusesource.com/nexus/content/repositories/releases@id=fusesource.release.repo, \
  97. http://repo.fusesource.com/nexus/content/groups/ea@id=fusesource.ea.repo, \
  98. http://svn.apache.org/repos/asf/servicemix/m2-repo@id=servicemix.repo, \
  99. http://repository.springsource.com/maven/bundles/release@id=springsource.release.repo, \
  100. http://repository.springsource.com/maven/bundles/external@id=springsource.external.repo, \
  101. http://scala-tools.org/repo-releases@id=scala.repo, \
  102. http://nexus.mySite/nexus/content/groups/public_snapshots@id=public-snapshots@snapshots
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement