summaryrefslogtreecommitdiffstats
path: root/archiva-docs/src
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-09-29 07:25:38 +0000
committerOlivier Lamy <olamy@apache.org>2011-09-29 07:25:38 +0000
commit752fe5c0d1d82a686b901c704954b4a02983b90c (patch)
tree82a9328463db310e8c5f2328331fb100cfdaa8d7 /archiva-docs/src
parent24b78acd25d3f84d6e003e52ffb79041d93971f3 (diff)
downloadarchiva-752fe5c0d1d82a686b901c704954b4a02983b90c.tar.gz
archiva-752fe5c0d1d82a686b901c704954b4a02983b90c.zip
[MRM-1333] update documentation for database changes
remove all references to archiva database. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177185 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/src')
-rw-r--r--archiva-docs/src/site/apt/adminguide/consumers.apt40
-rw-r--r--archiva-docs/src/site/apt/adminguide/customising-security.apt2
-rw-r--r--archiva-docs/src/site/apt/adminguide/databases.apt26
-rw-r--r--archiva-docs/src/site/apt/adminguide/repositories.apt13
-rw-r--r--archiva-docs/src/site/apt/adminguide/standalone.apt29
-rw-r--r--archiva-docs/src/site/apt/adminguide/webapp.apt10
6 files changed, 15 insertions, 105 deletions
diff --git a/archiva-docs/src/site/apt/adminguide/consumers.apt b/archiva-docs/src/site/apt/adminguide/consumers.apt
index 8dfe1ea27..9c71a78e9 100644
--- a/archiva-docs/src/site/apt/adminguide/consumers.apt
+++ b/archiva-docs/src/site/apt/adminguide/consumers.apt
@@ -2,8 +2,9 @@
Understanding Consumers in Apache Archiva
------
Maria Odea Ching
+ Olivier Lamy
------
- 2007-11-21
+ 2011-09-29
------
~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -53,40 +54,3 @@ Understanding Consumers in Apache Archiva
* <validate-checksums> - Validates the checksum files of the artifact.
-* Database Consumers
-
- The database consumers, on the other hand, consume or process artifacts during database scanning. The database consumers are split up
- into two types: the unprocessed artifacts consumers and the artifact cleanup consumers.
-
- [[1]] Unprocessed Artifacts Consumers
-
- These are consumers for those artifacts already in the index that haven't been processed yet, meaning the details about the artifact
- are not yet processed and stored in the database. There are 6 unprocessed artifact consumers which can be configured in the
- Database page:
-
- * <validate-repository-metadata> - Verifies repository metadata files against database.
-
- * <index-archive-toc> - Indexes the archiva table of contents for full text search.
-
- * <index-artifact> - Indexes the artifact for the 'Find Artifact' functionality.
-
- * <update-db-project> - Gets the details of the artifact from the pom and saves it into the database (as a project model)
-
- * <index-public-methods> - Indexes the java public methods for full text search. This has been removed since 1.2. Public
- methods are indexed by the <<<index-content>>> consumer.
-
- * <update-db-bytecode-stats> - Updates database with java bytecode stats.
-
- []
- []
- [[2]] Artifact Cleanup Consumers
-
- These are the consumers for cleaning up the database. There are 3 which can be configured in the Database page, and these are:
-
- * <not-present-remove-db-artifact> - Removes the artifact from the database if the artifact no longer exists in the file system.
-
- * <not-present-remove-indexed> - Removes the artifact from the index if the artifact no longer exists in the file system.
-
- * <not-present-remove-db-project> - Removes the project model of the artifact from the database if the artifact itself no longer exists in the file system.
-
- \ No newline at end of file
diff --git a/archiva-docs/src/site/apt/adminguide/customising-security.apt b/archiva-docs/src/site/apt/adminguide/customising-security.apt
index b74ad4d1a..7d8ae885f 100644
--- a/archiva-docs/src/site/apt/adminguide/customising-security.apt
+++ b/archiva-docs/src/site/apt/adminguide/customising-security.apt
@@ -66,5 +66,5 @@ security.policy.password.rule.nowhitespace.enabled=true
<<Note:>> If installed standalone, Archiva's list of configuration files is <itself> configurable, and
can be found in:
- <<<apps/archiva/WEB-INF/classes/META-INF/plexus/application.xml>>>
+ <<<apps/archiva/WEB-INF/applicationContext.xml>>>
diff --git a/archiva-docs/src/site/apt/adminguide/databases.apt b/archiva-docs/src/site/apt/adminguide/databases.apt
index ced4f145c..bb5efc27c 100644
--- a/archiva-docs/src/site/apt/adminguide/databases.apt
+++ b/archiva-docs/src/site/apt/adminguide/databases.apt
@@ -1,8 +1,9 @@
------
Apache Archiva Databases
------
+ Olivier Lamy
------
- 2011-09-16
+ 2011-09-29
------
~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -41,8 +42,6 @@ Apache Archiva Databases
Archiva uses JNDI data sources to locate the databases to use:
- * <<<jdbc/archiva>>> - the repository database
-
* <<<jdbc/users>>> - the user store
Configuring an external database for either or both of these sources depends is configured in <<<jetty.xml>>> if you are using the
@@ -57,27 +56,6 @@ Apache Archiva Databases
+------+
...
-<New id="archiva" class="org.mortbay.jetty.plus.naming.Resource">
- <Arg>jdbc/archiva</Arg>
- <Arg>
- <New class="org.apache.derby.jdbc.EmbeddedDataSource">
- <Set name="DatabaseName">/path/to/database/directory/archiva</Set>
- <Set name="user">sa</Set>
- <Set name="createDatabase">create</Set>
- </New>
- </Arg>
-</New>
-
-<New id="archivaShutdown" class="org.mortbay.jetty.plus.naming.Resource">
- <Arg>jdbc/archivaShutdown</Arg>
- <Arg>
- <New class="org.apache.derby.jdbc.EmbeddedDataSource">
- <Set name="DatabaseName">/path/to/database/directory/archiva</Set>
- <Set name="user">sa</Set>
- <Set name="shutdownDatabase">shutdown</Set>
- </New>
- </Arg>
-</New>
<New id="users" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>jdbc/users</Arg>
diff --git a/archiva-docs/src/site/apt/adminguide/repositories.apt b/archiva-docs/src/site/apt/adminguide/repositories.apt
index 184b99df2..fb555dfeb 100644
--- a/archiva-docs/src/site/apt/adminguide/repositories.apt
+++ b/archiva-docs/src/site/apt/adminguide/repositories.apt
@@ -2,8 +2,9 @@
Understanding Repository Configuration of Apache Archiva
------
Maria Odea Ching
+ Olivier Lamy
------
- 2011-09-27
+ 2011-09-29
------
~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -213,13 +214,3 @@ Artifacts in the repository:
It should be noted that this feature is entirely separate from the repository purge by number of days older and by
retention count.
-
-* Scanning a Database
-
- Another scanning process also occurs in Archiva, the database scanning. Same as with repository scanning,
- it can also be executed on schedule or explicitly. This can be configured in the 'Database' page, via the 'Database -
- Unprocessed Artifacts Scanning' section.
-
- It is essential that the database scan occur after the repo scan as this is where the pom information of the artifacts in
- the database will be processed by the consumers and in turn, added to the database (as ArchivaProjectModel objects). For
- more details about the different database consumers, please see the {{{./consumers.html} Consumers}} page. \ No newline at end of file
diff --git a/archiva-docs/src/site/apt/adminguide/standalone.apt b/archiva-docs/src/site/apt/adminguide/standalone.apt
index ade23d1a5..4b1e28f20 100644
--- a/archiva-docs/src/site/apt/adminguide/standalone.apt
+++ b/archiva-docs/src/site/apt/adminguide/standalone.apt
@@ -1,6 +1,10 @@
------
Installing Standalone Distribution of Apache Archiva
------
+ Olivier Lamy
+ ------
+ 2011-09-29
+ ------
~~ Licensed to the Apache Software Foundation (ASF) under one
~~ or more contributor license agreements. See the NOTICE file
@@ -117,31 +121,6 @@ Installing Standalone Distribution of Apache Archiva
+------+
...
- <!-- Archiva Database -->
-
- <New id="archiva" class="org.mortbay.jetty.plus.naming.Resource">
- <Arg>jdbc/archiva</Arg>
- <Arg>
- <New class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource">
- <Set name="serverName">localhost</Set>
- <Set name="databaseName">archiva</Set>
- <Set name="user">archiva</Set>
- <Set name="password">sa</Set>
- </New>
- </Arg>
- </New>
-
- <New id="archivaShutdown" class="org.mortbay.jetty.plus.naming.Resource">
- <Arg>jdbc/archivaShutdown</Arg>
- <Arg>
- <New class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource">
- <Set name="serverName">localhost</Set>
- <Set name="databaseName">archiva</Set>
- <Set name="user">archiva</Set>
- <Set name="password">sa</Set>
- </New>
- </Arg>
- </New>
<!-- Users / Security Database -->
diff --git a/archiva-docs/src/site/apt/adminguide/webapp.apt b/archiva-docs/src/site/apt/adminguide/webapp.apt
index d74b7b446..78615435a 100644
--- a/archiva-docs/src/site/apt/adminguide/webapp.apt
+++ b/archiva-docs/src/site/apt/adminguide/webapp.apt
@@ -1,6 +1,10 @@
------
Installing Apache Archiva as a Web Application
------
+ Olivier Lamy
+ ------
+ 2011-09-29
+ ------
~~ Licensed to the Apache Software Foundation (ASF) under one
~~ or more contributor license agreements. See the NOTICE file
@@ -51,12 +55,6 @@ To deploy Archiva on Tomcat 5.5 and Tomcat 6.0
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
url="jdbc:derby:/path/to/database/users;create=true" />
- <Resource name="jdbc/archiva" auth="Container" type="javax.sql.DataSource"
- username="sa"
- password=""
- driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
- url="jdbc:derby:/path/to/database/archiva;create=true" />
-
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"
mail.smtp.host="localhost"/>