blob: e89732a4136f664b5a255fe6d777e1acbc3ba1e6 [file] [log] [blame]
Dave Borowitz09ff62b2012-12-17 14:09:16 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3Copyright 2012 Google Inc. All Rights Reserved.
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16-->
17<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
19 <modelVersion>4.0.0</modelVersion>
20
21 <parent>
22 <groupId>com.google.gitiles</groupId>
23 <artifactId>gitiles-parent</artifactId>
24 <version>1.0-SNAPSHOT</version>
25 </parent>
26
27 <artifactId>gitiles-dev</artifactId>
28 <packaging>jar</packaging>
29 <name>Gitiles - Development</name>
30
31 <description>
32 Gitiles running with an embedded Jetty server.
33 </description>
34
Dave Borowitz9fea5072013-06-18 23:44:50 -070035 <properties>
36 <jettyVersion>8.1.7.v20120910</jettyVersion>
37 </properties>
38
Dave Borowitz09ff62b2012-12-17 14:09:16 -080039 <dependencies>
40 <dependency>
41 <groupId>com.google.gitiles</groupId>
42 <artifactId>gitiles-servlet</artifactId>
43 <version>${project.version}</version>
44 </dependency>
45
46 <dependency>
Dave Borowitz9fea5072013-06-18 23:44:50 -070047 <groupId>org.eclipse.jetty.orbit</groupId>
48 <artifactId>javax.servlet</artifactId>
49 <!-- The bulk of Gitiles is designed to compile and run against Servlet API
50 2.5, but the embedded Jetty 8 in this module only requires Servlet API
51 3.0. -->
52 <version>3.0.0.v201112011016</version>
53 <scope>compile</scope>
Dave Borowitz09ff62b2012-12-17 14:09:16 -080054 </dependency>
55
56 <dependency>
57 <groupId>org.eclipse.jetty</groupId>
Dave Borowitz09ff62b2012-12-17 14:09:16 -080058 <artifactId>jetty-servlet</artifactId>
59 <version>${jettyVersion}</version>
60 </dependency>
Dave Borowitz661ac2e2013-01-11 12:23:22 -080061
62 <dependency>
Dave Borowitz9fea5072013-06-18 23:44:50 -070063 <groupId>org.eclipse.jetty</groupId>
64 <artifactId>jetty-server</artifactId>
65 <version>${jettyVersion}</version>
66 </dependency>
67
68 <dependency>
Dave Borowitz661ac2e2013-01-11 12:23:22 -080069 <groupId>org.slf4j</groupId>
70 <artifactId>slf4j-simple</artifactId>
71 <version>${slf4jVersion}</version>
72 <scope>runtime</scope>
73 </dependency>
Dave Borowitz09ff62b2012-12-17 14:09:16 -080074 </dependencies>
75
76 <build>
77 <plugins>
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-shade-plugin</artifactId>
81 <version>1.7.1</version>
82 <configuration>
83 <transformers>
84 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
85 <mainClass>com.google.gitiles.dev.Main</mainClass>
86 </transformer>
87 </transformers>
88 <createDependencyReducedPom>false</createDependencyReducedPom>
Dave Borowitz231b4542013-01-10 20:30:48 -080089 <filters>
90 <filter>
91 <artifact>*:*</artifact>
92 <excludes>
93 <exclude>META-INF/*.SF</exclude>
94 <exclude>META-INF/*.DSA</exclude>
95 <exclude>META-INF/*.RSA</exclude>
96 </excludes>
97 </filter>
98 </filters>
Dave Borowitz09ff62b2012-12-17 14:09:16 -080099 </configuration>
100 <executions>
101 <execution>
102 <phase>package</phase>
103 <goals>
104 <goal>shade</goal>
105 </goals>
106 </execution>
107 </executions>
108 </plugin>
109 </plugins>
110 </build>
111</project>