From 1d6c1b9d0aab92bf85ec37dc24900bf890410838 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Sun, 21 Oct 2007 05:20:38 +0000 Subject: [PATCH] add a configuration file for jetty:run so that it doesn't create ~/.m2/archiva.xml - make testing isolated git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586858 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/appserver-base/conf/archiva.xml | 169 ++++++++++++++++++ 1 file changed, 169 insertions(+) create mode 100644 archiva-web/archiva-webapp/src/appserver-base/conf/archiva.xml diff --git a/archiva-web/archiva-webapp/src/appserver-base/conf/archiva.xml b/archiva-web/archiva-webapp/src/appserver-base/conf/archiva.xml new file mode 100644 index 000000000..0d3c7edfd --- /dev/null +++ b/archiva-web/archiva-webapp/src/appserver-base/conf/archiva.xml @@ -0,0 +1,169 @@ + + + 2 + + + internal + Archiva Managed Internal Repository + ${appserver.base}/data/repositories/internal + default + true + false + true + 0 0 0 * * ? + 30 + + + snapshots + Archiva Managed Snapshot Repository + ${appserver.base}/data/repositories/snapshots + default + false + true + true + 0 0\,30 0 * * ? + 30 + + + + + central + Central Repository + http://repo1.maven.org/maven2 + default + + + maven2-repository.dev.java.net + Java.net Repository for Maven 2 + http://download.java.net/maven/2/ + default + + + + + + internal + central + + + disabled + once + fix + cached + + + **/* + + + + internal + maven2-repository.dev.java.net + + + disabled + once + fix + cached + + + javax/** + + + + + + + + artifacts + + **/*.pom + **/*.jar + **/*.ear + **/*.war + **/*.car + **/*.sar + **/*.mar + **/*.rar + **/*.dtd + **/*.tld + **/*.tar.gz + **/*.tar.bz2 + **/*.zip + + + + indexable-content + + **/*.txt + **/*.TXT + **/*.block + **/*.config + **/*.pom + **/*.xml + **/*.xsd + **/*.dtd + **/*.tld + + + + auto-remove + + **/*.bak + **/*~ + **/*- + + + + ignored + + **/.htaccess + **/KEYS + **/*.rb + **/*.sh + **/.svn/** + **/.DAV/** + + + + + update-db-artifact + create-missing-checksums + update-db-repository-metadata + validate-checksum + validate-signature + index-content + auto-remove + auto-rename + metadata-updater + + + + update-db-bad-content + + + + + 0 0 0 * * ? + + index-artifact + update-db-project + validate-repository-metadata + index-archive-toc + update-db-bytecode-stats + index-public-methods + + + not-present-remove-db-artifact + not-present-remove-db-project + not-present-remove-indexed + + + + + + true + true + + + + -- 2.39.5