diff options
author | Brett Porter <brett@apache.org> | 2009-10-16 11:30:46 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2009-10-16 11:30:46 +0000 |
commit | 4e4362191f12adbffc2af970b6e1e4affea94954 (patch) | |
tree | 83a64717895955a8c584970f0bed72b44708e5e1 /archiva-jetty | |
parent | e75014219beca14e8128dc65b28e838c96ba36d7 (diff) | |
parent | 61336c8774e7341d5d16d4adba809ef2ca54a969 (diff) | |
download | archiva-4e4362191f12adbffc2af970b6e1e4affea94954.tar.gz archiva-4e4362191f12adbffc2af970b6e1e4affea94954.zip |
recreate from trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825849 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-jetty')
-rw-r--r-- | archiva-jetty/pom.xml | 102 | ||||
-rw-r--r-- | archiva-jetty/src/main/conf/jetty-logging.xml | 32 |
2 files changed, 28 insertions, 106 deletions
diff --git a/archiva-jetty/pom.xml b/archiva-jetty/pom.xml index f4b421b2e..692937af0 100644 --- a/archiva-jetty/pom.xml +++ b/archiva-jetty/pom.xml @@ -1,9 +1,29 @@ +<?xml version="1.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. + --> + <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"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.archiva</groupId> <artifactId>archiva</artifactId> - <version>1.2-MRM1025-SNAPSHOT</version> + <version>1.2.3-SNAPSHOT</version> </parent> <artifactId>archiva-jetty</artifactId> <packaging>pom</packaging> @@ -39,13 +59,7 @@ </dependency> <dependency> <groupId>org.mortbay.jetty</groupId> - <artifactId>servlet-api-2.5</artifactId> - <version>${jetty.version}</version> - <scope>runtime</scope> - </dependency> - <dependency> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jsp-api-2.0</artifactId> + <artifactId>jsp-2.1-jetty</artifactId> <version>${jetty.version}</version> <scope>runtime</scope> </dependency> @@ -74,64 +88,6 @@ <scope>runtime</scope> </dependency> <dependency> - <groupId>commons-el</groupId> - <artifactId>commons-el</artifactId> - <version>1.0</version> - <scope>runtime</scope> - <exclusions> - <exclusion> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>tomcat</groupId> - <artifactId>jasper-compiler</artifactId> - <version>5.5.15</version> - <scope>runtime</scope> - <exclusions> - <exclusion> - <groupId>javax.servlet</groupId> - <artifactId>jsp-api</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>tomcat</groupId> - <artifactId>jasper-runtime</artifactId> - <version>5.5.15</version> - <scope>runtime</scope> - <exclusions> - <exclusion> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jcl104-over-slf4j</artifactId> - <scope>runtime</scope> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-simple</artifactId> - <scope>runtime</scope> - </dependency> - <dependency> - <groupId>tomcat</groupId> - <artifactId>jasper-compiler-jdt</artifactId> - <version>5.5.15</version> - <scope>runtime</scope> - <exclusions> - <exclusion> - <groupId>org.eclipse.jdt</groupId> - <artifactId>core</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> <groupId>commons-dbcp</groupId> <artifactId>commons-dbcp</artifactId> <version>1.2.1</version> @@ -142,7 +98,7 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin</artifactId> - <version>1.0-beta-2</version> + <version>1.0</version> <configuration> <daemons> <daemon> @@ -150,7 +106,6 @@ <mainClass>org.mortbay.start.Main</mainClass> <commandLineArguments> <commandLineArgument>conf/jetty.xml</commandLineArgument> - <commandLineArgument>conf/jetty-logging.xml</commandLineArgument> </commandLineArguments> <platforms> <platform>jsw</platform> @@ -173,15 +128,15 @@ </property> <property> <name>wrapper.logfile</name> - <value>%ARCHIVA_BASE%/logs/wrapper.log</value> + <value>%ARCHIVA_BASE%/logs/wrapper.YYYYMMDD.log</value> </property> <property> - <name>wrapper.app.parameter.2</name> - <value>%ARCHIVA_BASE%/conf/jetty.xml</value> + <name>wrapper.logfile.rollmode</name> + <value>DATE</value> </property> <property> - <name>wrapper.app.parameter.3</name> - <value>%ARCHIVA_BASE%/conf/jetty-logging.xml</value> + <name>wrapper.app.parameter.2</name> + <value>%ARCHIVA_BASE%/conf/jetty.xml</value> </property> <property> <name>app.base.envvar</name> @@ -239,7 +194,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>2.1</version> <executions> <execution> <phase>package</phase> diff --git a/archiva-jetty/src/main/conf/jetty-logging.xml b/archiva-jetty/src/main/conf/jetty-logging.xml deleted file mode 100644 index 3eedcd6bd..000000000 --- a/archiva-jetty/src/main/conf/jetty-logging.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"> - - -<!-- =============================================================== --> -<!-- Configure stderr and stdout to a Jetty rollover log file --> -<!-- this configuration file should be used in combination with --> -<!-- other configuration files. e.g. --> -<!-- java -jar start.jar etc/jetty-logging.xml etc/jetty.xml --> -<!-- =============================================================== --> -<Configure id="Server" class="org.mortbay.jetty.Server"> - - <New id="ServerLog" class="java.io.PrintStream"> - <Arg> - <New class="org.mortbay.util.RolloverFileOutputStream"> - <Arg><SystemProperty name="jetty.logs" default="./logs"/>/yyyy_mm_dd.stderrout.log</Arg> - <Arg type="boolean">false</Arg> - <Arg type="int">90</Arg> - <Arg><Call class="java.util.TimeZone" name="getTimeZone"><Arg>GMT</Arg></Call></Arg> - <Get id="ServerLogName" name="datedFilename"/> - </New> - </Arg> - </New> - - <Call class="org.mortbay.log.Log" name="info"><Arg>Redirecting stderr/stdout to <Ref id="ServerLogName"/></Arg></Call> - <Call class="java.lang.System" name="setErr"><Arg><Ref id="ServerLog"/></Arg></Call> - <Call class="java.lang.System" name="setOut"><Arg><Ref id="ServerLog"/></Arg></Call> - -</Configure> - - - |