You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

repositories-content-storage.apt 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ------
  2. Repositories Content Storage
  3. ------
  4. Olivier Lamy
  5. ------
  6. 2011-10-06
  7. ------
  8. ~~ Licensed to the Apache Software Foundation (ASF) under one
  9. ~~ or more contributor license agreements. See the NOTICE file
  10. ~~ distributed with this work for additional information
  11. ~~ regarding copyright ownership. The ASF licenses this file
  12. ~~ to you under the Apache License, Version 2.0 (the
  13. ~~ "License"); you may not use this file except in compliance
  14. ~~ with the License. You may obtain a copy of the License at
  15. ~~
  16. ~~ http://www.apache.org/licenses/LICENSE-2.0
  17. ~~
  18. ~~ Unless required by applicable law or agreed to in writing,
  19. ~~ software distributed under the License is distributed on an
  20. ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  21. ~~ KIND, either express or implied. See the License for the
  22. ~~ specific language governing permissions and limitations
  23. ~~ under the License.
  24. ~~ NOTE: For help with the syntax of this file, see:
  25. ~~ http://maven.apache.org/guides/mini/guide-apt-format.html
  26. Repositories Content Storage
  27. Prior to version 1.4-M1, repository content is now stored in a jcr repository (based on Apache Jackrabbit implementation).
  28. A default Jackrabbit configuration is provided :
  29. %{snippet|id=default-repository|ignoreDownloadError=true|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/plugins/metadata-store-jcr/src/main/resources/org/apache/archiva/metadata/repository/jcr/repository.xml}
  30. You can use your own configuration by adding a file repository.xml in $\{appserver.base}/conf.
  31. By default, the Jcr repository is stored $\{appserver.base}/data/jcr.
  32. If you want to change this default location, you must edit the file WEB-INF/applicationContext.xml, uncomment/edit lines and change with your values:
  33. %{snippet|id=jcr-location|ignoreDownloadError=true|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml}