aboutsummaryrefslogtreecommitdiffstats
path: root/maven-repository-configuration/src
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2006-06-08 07:15:34 +0000
committerBrett Porter <brett@apache.org>2006-06-08 07:15:34 +0000
commit86db5311d45b14c134307b9c8ee81d9d0e14f30e (patch)
treebcfa9ab4c9f236181ba05aac3c0c4f36fe6c9700 /maven-repository-configuration/src
parent8532c8ed0adc8db9738301da1dcda1271a3513c1 (diff)
downloadarchiva-86db5311d45b14c134307b9c8ee81d9d0e14f30e.tar.gz
archiva-86db5311d45b14c134307b9c8ee81d9d0e14f30e.zip
[MRM-46] introduce modello configuration, change indexer API to use a File for the index path, introduce a core module for moving the main application logic to
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412683 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-repository-configuration/src')
-rw-r--r--maven-repository-configuration/src/main/mdo/configuration.mdo82
1 files changed, 82 insertions, 0 deletions
diff --git a/maven-repository-configuration/src/main/mdo/configuration.mdo b/maven-repository-configuration/src/main/mdo/configuration.mdo
new file mode 100644
index 000000000..37b2175c5
--- /dev/null
+++ b/maven-repository-configuration/src/main/mdo/configuration.mdo
@@ -0,0 +1,82 @@
+<model>
+ <id>configuration</id>
+ <name>Configuration</name>
+ <description>
+ Configuration for the Maven Repository Manager.
+ </description>
+ <defaults>
+ <default>
+ <key>package</key>
+ <value>org.apache.maven.repository.configuration</value>
+ </default>
+ </defaults>
+ <!-- TODO! break out subtypes such as <discovery> and create a list of blacklist -->
+ <classes>
+ <class rootElement="true" xml.tagName="configuration">
+ <name>Configuration</name>
+ <version>1.0.0</version>
+ <fields>
+ <field>
+ <name>repositoryDirectory</name>
+ <version>1.0.0</version>
+ <type>String</type>
+ <required>true</required>
+ <description>
+ The location of the repository to monitor.
+ </description>
+ </field>
+ <field>
+ <name>repositoryLayout</name>
+ <version>1.0.0</version>
+ <type>String</type>
+ <required>true</required>
+ <description>
+ The layout of the repository. Valid values are "default" and "legacy".
+ </description>
+ <!-- TODO: should be able to detect this from the repository (perhaps by metadata at the root) -->
+ <defaultValue>default</defaultValue>
+ </field>
+ <field>
+ <name>indexPath</name>
+ <version>1.0.0</version>
+ <type>String</type>
+ <description>
+ The location of the Lucene index to use for the repository. The default is the .index subdirectory of
+ the repository.
+ </description>
+ </field>
+ <field>
+ <name>minimalIndexPath</name>
+ <version>1.0.0</version>
+ <type>String</type>
+ <description>
+ The location of the reduced Lucene index to use for the repository. The default is the .small-index
+ subdirectory of the repository.
+ </description>
+ </field>
+ <field>
+ <name>discoveryCronExpression</name>
+ <version>1.0.0</version>
+ <type>String</type>
+ <description>When to run the discovery mechanism.</description>
+ <defaultValue>0 0 8 * * ?</defaultValue>
+ </field>
+ <field>
+ <name>discoverSnapshots</name>
+ <version>1.0.0</version>
+ <type>boolean</type>
+ <description>Whether to include snapshot versions in the discovery process</description>
+ <defaultValue>false</defaultValue>
+ </field>
+ <field>
+ <name>discoveryBlackListPatterns</name>
+ <version>1.0.0</version>
+ <type>String</type>
+ <description>Blacklisted patterns in the discovery process</description>
+ </field>
+ </fields>
+ </class>
+ </classes>
+</model>
+
+