summaryrefslogtreecommitdiffstats
path: root/archiva-web/archiva-standalone/archiva-plexus-application
diff options
context:
space:
mode:
authorJoakim Erdfelt <joakime@apache.org>2007-05-01 13:53:14 +0000
committerJoakim Erdfelt <joakime@apache.org>2007-05-01 13:53:14 +0000
commit42ced36dd2b918a6229b371d18740254ad813fd4 (patch)
tree5f8d1b31b1e8b46c278bc2979b971835b40408d2 /archiva-web/archiva-standalone/archiva-plexus-application
parent9a692f3cc7acd9ad51e4fda442b2a4c858efa679 (diff)
parent4c9789b2284a3d8bde67405fe8651fbf674dbca8 (diff)
downloadarchiva-42ced36dd2b918a6229b371d18740254ad813fd4.tar.gz
archiva-42ced36dd2b918a6229b371d18740254ad813fd4.zip
Making archiva-jpox-database-refactor branch the new trunk.
See archiva-dev mailing list thread ... http://www.nabble.com/-VOTE--Merge-Archiva-Database-Branch-to-Trunk-tf3648867.html git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@534090 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-web/archiva-standalone/archiva-plexus-application')
-rw-r--r--archiva-web/archiva-standalone/archiva-plexus-application/pom.xml62
-rw-r--r--archiva-web/archiva-standalone/archiva-plexus-application/src/conf/application.xml51
-rw-r--r--archiva-web/archiva-standalone/archiva-plexus-application/src/conf/plexus.xml21
-rw-r--r--archiva-web/archiva-standalone/archiva-plexus-application/src/plexus.properties22
4 files changed, 156 insertions, 0 deletions
diff --git a/archiva-web/archiva-standalone/archiva-plexus-application/pom.xml b/archiva-web/archiva-standalone/archiva-plexus-application/pom.xml
new file mode 100644
index 000000000..cf44943fd
--- /dev/null
+++ b/archiva-web/archiva-standalone/archiva-plexus-application/pom.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.apache.maven.archiva</groupId>
+ <artifactId>archiva-web-standalone</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>archiva-plexus-application</artifactId>
+ <packaging>plexus-application</packaging>
+ <name>Archiva Web :: Plexus Application</name>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-appserver-maven-plugin</artifactId>
+ <version>2.0-alpha-8</version>
+ <extensions>true</extensions>
+ <configuration>
+ <applicationConfiguration>src/conf/application.xml</applicationConfiguration>
+ <configurationsDirectory>src/conf</configurationsDirectory>
+ <configurationProperties>src/plexus.properties</configurationProperties>
+ <applicationName>archiva</applicationName>
+ <runtimeConfiguration>src/conf/plexus.xml</runtimeConfiguration>
+ <runtimeConfigurationProperties>src/plexus.properties</runtimeConfigurationProperties>
+ <runtimePath>target/plexus-archiva-runtime</runtimePath>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.archiva</groupId>
+ <artifactId>archiva-webapp</artifactId>
+ <type>war</type>
+ </dependency>
+ </dependencies>
+ <!-- For filtering -->
+ <properties>
+ <archivaVersion>${project.version}</archivaVersion>
+ </properties>
+</project>
diff --git a/archiva-web/archiva-standalone/archiva-plexus-application/src/conf/application.xml b/archiva-web/archiva-standalone/archiva-plexus-application/src/conf/application.xml
new file mode 100644
index 000000000..37fcd4e36
--- /dev/null
+++ b/archiva-web/archiva-standalone/archiva-plexus-application/src/conf/application.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<application>
+
+ <services>
+ <service>
+ <id>jetty</id>
+ <configuration>
+ <webapps>
+ <webapp>
+ <file>${plexus.home}/lib/archiva-webapp-@archivaVersion@.war</file>
+ <context>/archiva</context>
+ <extraction-path>${plexus.home}/webapp</extraction-path>
+ <standardWebappClassloader>true</standardWebappClassloader>
+ <listeners>
+ <http-listener>
+ <port>8080</port>
+ </http-listener>
+ <!--
+ <proxy-http-listener>
+ <port>8090</port>
+ <proxy-host>localhost</proxy-host>
+ <proxy-port>80</proxy-port>
+ </proxy-http-listener>
+ -->
+ </listeners>
+ </webapp>
+ </webapps>
+ </configuration>
+ </service>
+ </services>
+
+</application>
diff --git a/archiva-web/archiva-standalone/archiva-plexus-application/src/conf/plexus.xml b/archiva-web/archiva-standalone/archiva-plexus-application/src/conf/plexus.xml
new file mode 100644
index 000000000..3c9ebd89a
--- /dev/null
+++ b/archiva-web/archiva-standalone/archiva-plexus-application/src/conf/plexus.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<plexus/>
diff --git a/archiva-web/archiva-standalone/archiva-plexus-application/src/plexus.properties b/archiva-web/archiva-standalone/archiva-plexus-application/src/plexus.properties
new file mode 100644
index 000000000..3451f745c
--- /dev/null
+++ b/archiva-web/archiva-standalone/archiva-plexus-application/src/plexus.properties
@@ -0,0 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+app.name = archiva
+app.long.name = Archiva
+app.description = Archiva - the Maven Repository Manager