[MRM-688] remove the plexus configuration

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@642251 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2008-03-28 15:03:15 +00:00
parent 96ab31fcbf
commit a7f5cbd245
11 changed files with 0 additions and 593 deletions

View File

@ -1,61 +0,0 @@
<?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.1-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>

View File

@ -1,51 +0,0 @@
<?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>${jetty.port}</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>

View File

@ -1,21 +0,0 @@
<?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/>

View File

@ -1,22 +0,0 @@
#
# 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

View File

@ -1,178 +0,0 @@
<?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.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>archiva-plexus-runtime</artifactId>
<name>Archiva Web :: Runtime Generator</name>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-api</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-appserver-host</artifactId>
</dependency>
<!-- Services -->
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-appserver-service-jetty</artifactId>
<type>plexus-service</type>
</dependency>
<!-- Plexus applications -->
<dependency>
<groupId>org.apache.maven.archiva</groupId>
<artifactId>archiva-plexus-application</artifactId>
<type>plexus-application</type>
</dependency>
<dependency>
<groupId>org.apache.maven.archiva</groupId>
<artifactId>archiva-docs</artifactId>
<type>zip</type>
<classifier>docs</classifier>
</dependency>
<!-- Additional Core Artifacts -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-naming</artifactId>
<scope>runtime</scope>
<exclusions>
<exclusion>
<artifactId>hsqldb</artifactId>
<groupId>hsqldb</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-contextualizer</artifactId>
<version>1.0-alpha-1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-appserver-maven-plugin</artifactId>
<version>2.0-alpha-8</version>
<extensions>true</extensions>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>assemble-runtime</goal>
<goal>add-services</goal>
<goal>add-apps</goal>
</goals>
</execution>
</executions>
<configuration>
<runtimeConfiguration>src/conf/plexus.xml</runtimeConfiguration>
<runtimeConfigurationProperties>src/plexus.properties</runtimeConfigurationProperties>
<runtimePath>target/plexus-archiva-runtime</runtimePath>
<additionalCoreArtifacts>
<additionalCoreArtifact>commons-logging:commons-logging-api</additionalCoreArtifact>
<additionalCoreArtifact>log4j:log4j</additionalCoreArtifact>
<additionalCoreArtifact>org.apache.derby:derby</additionalCoreArtifact>
<additionalCoreArtifact>org.codehaus.plexus:plexus-naming</additionalCoreArtifact>
<additionalCoreArtifact>commons-pool:commons-pool</additionalCoreArtifact>
<additionalCoreArtifact>commons-dbcp:commons-dbcp</additionalCoreArtifact>
<additionalCoreArtifact>commons-collections:commons-collections</additionalCoreArtifact>
<additionalCoreArtifact>directory-naming:naming-core</additionalCoreArtifact>
<additionalCoreArtifact>directory-naming:naming-factory</additionalCoreArtifact>
<additionalCoreArtifact>directory-naming:naming-java</additionalCoreArtifact>
<additionalCoreArtifact>directory-naming:naming-config</additionalCoreArtifact>
<additionalCoreArtifact>javax.mail:mail</additionalCoreArtifact>
<additionalCoreArtifact>javax.activation:activation</additionalCoreArtifact>
<additionalCoreArtifact>org.codehaus.plexus:plexus-contextualizer</additionalCoreArtifact>
</additionalCoreArtifacts>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptor>src/main/assembly/bin.xml</descriptor>
<finalName>apache-archiva-${version}</finalName>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>config</id>
<phase>process-resources</phase>
<configuration>
<tasks>
<copy todir="target/plexus-archiva-runtime/conf">
<fileset dir="src/main/appserver/conf" />
</copy>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,127 +0,0 @@
<?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>
<load-on-start>
<component>
<role>org.codehaus.plexus.naming.Naming</role>
<role-hint>dataSources</role-hint>
</component>
<component>
<role>org.codehaus.plexus.contextualizer.Contextualizer</role>
<role-hint>jettyConfiguration</role-hint>
</component>
</load-on-start>
<components>
<component>
<role>org.codehaus.plexus.naming.Naming</role>
<implementation>org.codehaus.plexus.naming.DefaultNaming</implementation>
<role-hint>dataSources</role-hint>
<configuration>
<!-- Example override:
<environments>
<environment>
<name>org/apache/maven/archiva/indexPath</name>
<value>${user.home}/.m2/my-index</value>
<type>java.lang.String</type>
</environment>
</environments>
-->
<resources>
<!--
Mail Session
-->
<resource>
<name>mail/Session</name>
<type>javax.mail.Session</type>
<properties>
<property>
<name>mail.smtp.host</name>
<value>localhost</value>
</property>
<property>
<name>mail.smtp.port</name>
<value>25</value>
</property>
</properties>
</resource>
<!--
Datasources
-->
<resource>
<name>jdbc/users</name>
<type>javax.sql.DataSource</type>
<properties>
<property>
<name>driverClassName</name>
<value>org.apache.derby.jdbc.EmbeddedDriver</value>
</property>
<property>
<name>url</name>
<value>jdbc:derby:${appserver.base}/data/users/database;create=true</value>
</property>
<property>
<name>username</name>
<value>sa</value>
</property>
<property>
<name>password</name>
<value></value>
</property>
</properties>
</resource>
<resource>
<name>jdbc/archiva</name>
<type>javax.sql.DataSource</type>
<properties>
<property>
<name>driverClassName</name>
<value>org.apache.derby.jdbc.EmbeddedDriver</value>
</property>
<property>
<name>url</name>
<value>jdbc:derby:${appserver.base}/data/archiva/database;create=true</value>
</property>
<property>
<name>username</name>
<value>sa</value>
</property>
<property>
<name>password</name>
<value></value>
</property>
</properties>
</resource>
</resources>
</configuration>
</component>
<component>
<role>org.codehaus.plexus.contextualizer.Contextualizer</role>
<role-hint>jettyConfiguration</role-hint>
<implementation>org.codehaus.plexus.contextualizer.DefaultContextualizer</implementation>
<configuration>
<contextValues>
<jetty.port>8080</jetty.port>
</contextValues>
</configuration>
</component>
</components>
</plexus>

View File

@ -1,107 +0,0 @@
<!--
~ 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.
-->
<assembly>
<id>bin</id>
<formats>
<format>tar.gz</format>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<!-- TODO: use expressions instead: ${project.build.directory}, ${project.build.finalName}, or have a <build /> tag to include the built artifact -->
<directory>target/plexus-archiva-runtime/apps</directory>
<outputDirectory>apps</outputDirectory>
</fileSet>
<fileSet>
<directory>target/plexus-archiva-runtime/conf</directory>
<outputDirectory>conf</outputDirectory>
</fileSet>
<fileSet>
<directory>target/plexus-archiva-runtime/core</directory>
<outputDirectory>core</outputDirectory>
</fileSet>
<fileSet>
<directory>target/plexus-archiva-runtime/logs</directory>
<outputDirectory>logs</outputDirectory>
</fileSet>
<fileSet>
<directory>target/plexus-archiva-runtime/services</directory>
<outputDirectory>services</outputDirectory>
</fileSet>
<fileSet>
<directory>target/plexus-archiva-runtime/temp</directory>
<outputDirectory>temp</outputDirectory>
</fileSet>
<fileSet>
<directory>target/plexus-archiva-runtime/bin</directory>
<outputDirectory>bin</outputDirectory>
<includes>
<include>**/*.sh</include>
</includes>
<lineEnding>unix</lineEnding>
<fileMode>0755</fileMode>
</fileSet>
<fileSet>
<directory>target/plexus-archiva-runtime/bin</directory>
<outputDirectory>bin</outputDirectory>
<includes>
<include>*/wrapper.conf</include>
</includes>
</fileSet>
<fileSet>
<directory>target/plexus-archiva-runtime/bin</directory>
<outputDirectory>bin</outputDirectory>
<includes>
<include>*/libwrapper.jnilib</include>
<include>*/libwrapper.so</include>
<include>*/wrapper</include>
<include>*/wrapper.exe</include>
<include>*/wrapper.dll</include>
</includes>
<fileMode>0755</fileMode>
</fileSet>
<fileSet>
<directory>target/plexus-archiva-runtime/bin</directory>
<outputDirectory>bin</outputDirectory>
<includes>
<include>**/*.bat</include>
</includes>
<fileMode>0755</fileMode>
<lineEnding>dos</lineEnding>
</fileSet>
<fileSet>
<directory>target/maven-shared-archive-resources/META-INF/</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>NOTICE</include>
<include>LICENSE</include>
</includes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<unpack>true</unpack>
<includes>
<include>org.apache.maven.archiva:archiva-docs:zip:docs</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>

View File

@ -1,22 +0,0 @@
#
# 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

View File

@ -29,8 +29,6 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>archiva-plexus-application</module>
<module>archiva-plexus-runtime</module>
<module>archiva-jetty</module> <module>archiva-jetty</module>
</modules> </modules>
</project> </project>