From: Martin Stockhammer Date: Wed, 1 Nov 2017 14:26:06 +0000 (+0100) Subject: Changed configuration model X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=55f72f28244b22a347b84a9868bbc54a0195714c;p=archiva.git Changed configuration model --- diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo b/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo index b6acf5366..91dbb65b2 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo +++ b/archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo @@ -707,11 +707,11 @@ 2 - retentionTime + retentionPeriod 1.0.0+ int - The number of days old which will be the basis for removing a snapshot. + The number of days after which snapshots will be removed. 100 @@ -1550,12 +1550,14 @@ defaultLanguage String 3.0.0+ + en-US The default language used for setting internationalized strings. languageRange String 3.0.0+ + en,fr,de Comma separated list of language patterns. Sorted by priority descending. Used for display of internationalized strings. diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/resources/org/apache/archiva/configuration/default-archiva.xml b/archiva-modules/archiva-base/archiva-configuration/src/main/resources/org/apache/archiva/configuration/default-archiva.xml index 9a34ace94..c5acb803d 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/main/resources/org/apache/archiva/configuration/default-archiva.xml +++ b/archiva-modules/archiva-base/archiva-configuration/src/main/resources/org/apache/archiva/configuration/default-archiva.xml @@ -13,7 +13,7 @@ true true 0 0 * * * ? - 30 + 30 snapshots @@ -26,7 +26,7 @@ false true 0 0\,30 * * * ? - 30 + 30 diff --git a/archiva-modules/archiva-base/archiva-configuration/src/test/conf/archiva-1.3.xml b/archiva-modules/archiva-base/archiva-configuration/src/test/conf/archiva-1.3.xml index 4462b6dac..8575ebd12 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/test/conf/archiva-1.3.xml +++ b/archiva-modules/archiva-base/archiva-configuration/src/test/conf/archiva-1.3.xml @@ -103,7 +103,7 @@ ${appserver.base}/data/repositories/internal true -30 +30 internal Archiva Managed Internal Repository @@ -112,7 +112,7 @@ false true 0 0\,30 * * * ? -30 +30 snapshots Archiva Managed Snapshot Repository diff --git a/archiva-modules/archiva-base/archiva-configuration/src/test/resources/org/apache/archiva/configuration/test-default-archiva.xml b/archiva-modules/archiva-base/archiva-configuration/src/test/resources/org/apache/archiva/configuration/test-default-archiva.xml index bb3d8034b..dc1215e69 100755 --- a/archiva-modules/archiva-base/archiva-configuration/src/test/resources/org/apache/archiva/configuration/test-default-archiva.xml +++ b/archiva-modules/archiva-base/archiva-configuration/src/test/resources/org/apache/archiva/configuration/test-default-archiva.xml @@ -10,7 +10,7 @@ false true 0 0 * * * ? - 30 + 30 snapshots @@ -21,7 +21,7 @@ true true 0 0\,30 * * * ? - 30 + 30