diff options
author | Joakim Erdfelt <joakime@apache.org> | 2007-03-22 21:06:07 +0000 |
---|---|---|
committer | Joakim Erdfelt <joakime@apache.org> | 2007-03-22 21:06:07 +0000 |
commit | 10a02b2cb1b5ad3583842c6602a6dd11a6ae95f0 (patch) | |
tree | 60f1bac479b7e7f72037fc57993a0e8692e60b47 /archiva-web/archiva-standalone/archiva-plexus-runtime/src | |
parent | 8910ed421460b02ec2d5e855113c0ce81fcb2667 (diff) | |
download | archiva-10a02b2cb1b5ad3583842c6602a6dd11a6ae95f0.tar.gz archiva-10a02b2cb1b5ad3583842c6602a6dd11a6ae95f0.zip |
More directory moves
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@521466 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-web/archiva-standalone/archiva-plexus-runtime/src')
5 files changed, 227 insertions, 0 deletions
diff --git a/archiva-web/archiva-standalone/archiva-plexus-runtime/src/conf/plexus.xml b/archiva-web/archiva-standalone/archiva-plexus-runtime/src/conf/plexus.xml new file mode 100644 index 000000000..87a99722b --- /dev/null +++ b/archiva-web/archiva-standalone/archiva-plexus-runtime/src/conf/plexus.xml @@ -0,0 +1,113 @@ +<?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> + </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:${plexus.home}/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:${plexus.home}/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> + </components> +</plexus> + diff --git a/archiva-web/archiva-standalone/archiva-plexus-runtime/src/main/appserver/conf/archiva.xml b/archiva-web/archiva-standalone/archiva-plexus-runtime/src/main/appserver/conf/archiva.xml new file mode 100644 index 000000000..9afb83352 --- /dev/null +++ b/archiva-web/archiva-standalone/archiva-plexus-runtime/src/main/appserver/conf/archiva.xml @@ -0,0 +1 @@ +<configuration /> diff --git a/archiva-web/archiva-standalone/archiva-plexus-runtime/src/main/appserver/conf/shared.xml b/archiva-web/archiva-standalone/archiva-plexus-runtime/src/main/appserver/conf/shared.xml new file mode 100644 index 000000000..9afb83352 --- /dev/null +++ b/archiva-web/archiva-standalone/archiva-plexus-runtime/src/main/appserver/conf/shared.xml @@ -0,0 +1 @@ +<configuration /> diff --git a/archiva-web/archiva-standalone/archiva-plexus-runtime/src/main/assembly/bin.xml b/archiva-web/archiva-standalone/archiva-plexus-runtime/src/main/assembly/bin.xml new file mode 100644 index 000000000..42484eff1 --- /dev/null +++ b/archiva-web/archiva-standalone/archiva-plexus-runtime/src/main/assembly/bin.xml @@ -0,0 +1,90 @@ +<!-- + ~ 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> + </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> + </fileSets> +</assembly> + diff --git a/archiva-web/archiva-standalone/archiva-plexus-runtime/src/plexus.properties b/archiva-web/archiva-standalone/archiva-plexus-runtime/src/plexus.properties new file mode 100644 index 000000000..3451f745c --- /dev/null +++ b/archiva-web/archiva-standalone/archiva-plexus-runtime/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 |