blob: 9a447f7c5ec768266376072682edbdc2c8123f62 [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
35 <dependencies>
36 <dependency>
37 <groupId>com.google.gitiles</groupId>
38 <artifactId>gitiles-servlet</artifactId>
39 <version>${project.version}</version>
40 </dependency>
41
42 <dependency>
43 <groupId>org.apache.tomcat</groupId>
44 <artifactId>servlet-api</artifactId>
45 <scope>provided</scope>
46 </dependency>
47
48 <dependency>
49 <groupId>org.eclipse.jetty</groupId>
Dave Borowitz09ff62b2012-12-17 14:09:16 -080050 <artifactId>jetty-servlet</artifactId>
51 <version>${jettyVersion}</version>
52 </dependency>
Dave Borowitz661ac2e2013-01-11 12:23:22 -080053
54 <dependency>
55 <groupId>org.slf4j</groupId>
56 <artifactId>slf4j-simple</artifactId>
57 <version>${slf4jVersion}</version>
58 <scope>runtime</scope>
59 </dependency>
Dave Borowitz09ff62b2012-12-17 14:09:16 -080060 </dependencies>
61
62 <build>
63 <plugins>
64 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-shade-plugin</artifactId>
67 <version>1.7.1</version>
68 <configuration>
69 <transformers>
70 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
71 <mainClass>com.google.gitiles.dev.Main</mainClass>
72 </transformer>
73 </transformers>
74 <createDependencyReducedPom>false</createDependencyReducedPom>
Dave Borowitz231b4542013-01-10 20:30:48 -080075 <filters>
76 <filter>
77 <artifact>*:*</artifact>
78 <excludes>
79 <exclude>META-INF/*.SF</exclude>
80 <exclude>META-INF/*.DSA</exclude>
81 <exclude>META-INF/*.RSA</exclude>
82 </excludes>
83 </filter>
84 </filters>
Dave Borowitz09ff62b2012-12-17 14:09:16 -080085 </configuration>
86 <executions>
87 <execution>
88 <phase>package</phase>
89 <goals>
90 <goal>shade</goal>
91 </goals>
92 </execution>
93 </executions>
94 </plugin>
95 </plugins>
96 </build>
97</project>