1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Licensed to the Apache Software Foundation (ASF) under one
4 ~ or more contributor license agreements. See the NOTICE file
5 ~ distributed with this work for additional information
6 ~ regarding copyright ownership. The ASF licenses this file
7 ~ to you under the Apache License, Version 2.0 (the
8 ~ "License"); you may not use this file except in compliance
9 ~ with the License. You may obtain a copy of the License at
11 ~ http://www.apache.org/licenses/LICENSE-2.0
13 ~ Unless required by applicable law or agreed to in writing,
14 ~ software distributed under the License is distributed on an
15 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 ~ KIND, either express or implied. See the License for the
17 ~ specific language governing permissions and limitations
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.apache.maven.archiva</groupId>
26 <artifactId>archiva</artifactId>
27 <version>1.0-SNAPSHOT</version>
29 <artifactId>archiva-webapp</artifactId>
30 <packaging>war</packaging>
31 <name>Archiva Web Application</name>
34 <groupId>javax.servlet</groupId>
35 <artifactId>servlet-api</artifactId>
36 <version>2.4</version>
37 <scope>provided</scope>
40 <groupId>javax.servlet</groupId>
41 <artifactId>jsp-api</artifactId>
42 <version>2.0</version>
43 <scope>provided</scope>
46 <groupId>opensymphony</groupId>
47 <artifactId>sitemesh</artifactId>
48 <version>2.2.1</version>
51 <groupId>taglibs</groupId>
52 <artifactId>standard</artifactId>
53 <version>1.1.2</version>
56 <groupId>javax.servlet</groupId>
57 <artifactId>jstl</artifactId>
58 <version>1.1.2</version>
61 <groupId>org.apache.maven.shared</groupId>
62 <artifactId>maven-app-configuration-model</artifactId>
65 <groupId>org.apache.maven.shared</groupId>
66 <artifactId>maven-app-configuration-web</artifactId>
69 <groupId>org.codehaus.plexus</groupId>
70 <artifactId>plexus-log4j-logging</artifactId>
71 <version>1.1-alpha-2</version>
72 <scope>runtime</scope>
75 <groupId>commons-logging</groupId>
76 <artifactId>commons-logging</artifactId>
77 <version>1.0.4</version>
78 <scope>runtime</scope>
81 <groupId>commons-lang</groupId>
82 <artifactId>commons-lang</artifactId>
83 <version>2.2</version>
86 <groupId>org.apache.maven.wagon</groupId>
87 <artifactId>wagon-http-lightweight</artifactId>
88 <scope>runtime</scope>
91 <groupId>org.apache.maven.wagon</groupId>
92 <artifactId>wagon-file</artifactId>
93 <scope>runtime</scope>
96 <groupId>opensymphony</groupId>
97 <artifactId>webwork</artifactId>
98 <version>2.2.4</version>
101 <groupId>org.codehaus.plexus.registry</groupId>
102 <artifactId>plexus-registry-commons</artifactId>
103 <version>1.0-SNAPSHOT</version>
106 <groupId>org.codehaus.plexus</groupId>
107 <artifactId>plexus-component-api</artifactId>
110 <groupId>org.codehaus.plexus</groupId>
111 <artifactId>plexus-container-default</artifactId>
114 <groupId>org.apache.maven.archiva</groupId>
115 <artifactId>archiva-proxy</artifactId>
118 <groupId>org.apache.maven.archiva</groupId>
119 <artifactId>archiva-core</artifactId>
122 <groupId>org.apache.maven.archiva</groupId>
123 <artifactId>archiva-common</artifactId>
126 <groupId>org.apache.maven.archiva</groupId>
127 <artifactId>archiva-security</artifactId>
130 <groupId>org.apache.maven.archiva</groupId>
131 <artifactId>archiva-applet</artifactId>
132 <!-- TODO: actually, just exclude from WAR plugin -->
133 <scope>provided</scope>
136 <groupId>org.apache.maven</groupId>
137 <artifactId>maven-project</artifactId>
140 <groupId>org.apache.maven.shared</groupId>
141 <artifactId>maven-dependency-tree</artifactId>
142 <version>1.0-alpha-2</version>
144 <!-- Plexus Security Dependencies -->
146 <groupId>org.codehaus.plexus.security</groupId>
147 <artifactId>plexus-security-ui-web</artifactId>
149 <scope>runtime</scope>
152 <groupId>org.codehaus.plexus.security</groupId>
153 <artifactId>plexus-security-ui-web-taglib</artifactId>
155 <!-- Other dependencies -->
157 <groupId>org.codehaus.plexus.webdav</groupId>
158 <artifactId>plexus-webdav-simple</artifactId>
159 <version>1.0-alpha-1-SNAPSHOT</version>
162 <groupId>org.codehaus.plexus</groupId>
163 <artifactId>plexus-xwork-integration</artifactId>
164 <version>1.0-alpha-5</version>
167 <groupId>org.codehaus.plexus</groupId>
168 <artifactId>plexus-utils</artifactId>
171 <groupId>org.apache.derby</groupId>
172 <artifactId>derby</artifactId>
173 <version>10.1.3.1</version>
174 <scope>provided</scope>
177 <groupId>javax.mail</groupId>
178 <artifactId>mail</artifactId>
179 <version>1.4</version>
180 <scope>provided</scope>
183 <groupId>javax.activation</groupId>
184 <artifactId>activation</artifactId>
185 <version>1.1</version>
186 <scope>provided</scope>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-clean-plugin</artifactId>
194 <version>2.1.1</version>
195 <!-- This configuration is added to cleanup from war:inplace -->
199 <directory>${basedir}/src/main/webapp</directory>
201 <!-- TODO: META-INF shouldn't be required, seems to be an issue with the current war plugin -->
202 <include>META-INF</include>
203 <include>images/pss</include>
204 <!-- Images from other wars -->
205 <include>template/pss</include>
206 <!-- Templates from other wars -->
207 <include>WEB-INF/classes</include>
208 <!-- Classes and Resources from other wars -->
209 <include>WEB-INF/lib</include>
210 <!-- Dependencies from other wars -->
211 <include>WEB-INF/database</include>
212 <!-- Database location configured in application.xml -->
213 <include>WEB-INF/logs</include>
214 <!-- Log file location specified in application.xml -->
215 <include>pss</include>
216 <!-- plexus-security css and javascript -->
217 <include>css/pss</include>
218 <include>WEB-INF/jsp/pss</include>
219 <!-- plexus-security jsps -->
220 <include>WEB-INF/template/pss</include>
221 <!-- plexus-security xwork templates -->
222 <include>WEB-INF/logs</include>
223 <!-- Directory created by jetty:run -->
224 <include>WEB-INF/temp</include>
225 <!-- Directory created by jetty:run -->
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-war-plugin</artifactId>
234 <version>2.0.1</version>
236 <!-- Some versions of maven-war-plugin (snapshots) have this incorrectly defaulted to true.
237 Specifically setting this to false to avoid accidental jar file creation. -->
238 <archiveClasses>false</archiveClasses>
239 <dependentWarExcludes>META-INF/**,WEB-INF/web.xml,WEB-INF/classes/xwork.xml</dependentWarExcludes>
241 <!-- TODO: would be good to make the jetty plugin aware of these and remove the below -->
244 <phase>compile</phase>
246 <!-- Needed to get the plexus-security war overlay to do its thing before jetty:run -->
253 <groupId>org.mortbay.jetty</groupId>
254 <artifactId>maven-jetty-plugin</artifactId>
255 <version>6.1.1</version>
257 <scanIntervalSeconds>10</scanIntervalSeconds>
258 <contextPath>/</contextPath>
259 <jettyEnvXml>src/jetty-env.xml</jettyEnvXml>
261 <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
263 <maxIdleTime>60000</maxIdleTime>
268 <name>appserver.base</name>
269 <value>${project.build.directory}/appserver-base</value>
272 <name>derby.system.home</name>
273 <value>${project.build.directory}/appserver-base/logs</value>
279 <groupId>org.apache.derby</groupId>
280 <artifactId>derby</artifactId>
281 <version>10.1.3.1</version>
286 <groupId>org.codehaus.mojo</groupId>
287 <artifactId>dependency-maven-plugin</artifactId>
291 <phase>process-resources</phase>
298 <groupId>${project.groupId}</groupId>
299 <artifactId>archiva-applet</artifactId>
300 <version>${project.version}</version>
301 <outputDirectory>src/main/webapp</outputDirectory>
302 <destFileName>archiva-applet.jar</destFileName>
310 <groupId>org.codehaus.plexus</groupId>
311 <artifactId>plexus-maven-plugin</artifactId>
315 <role>com.opensymphony.xwork.Action</role>
316 <instantiation-strategy>per-lookup</instantiation-strategy>
322 <groupId>org.codehaus.mojo</groupId>
323 <artifactId>cobertura-maven-plugin</artifactId>
327 <exclude>**/**</exclude>