| Dave Borowitz | 09ff62b | 2012-12-17 14:09:16 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright 2012 Google Inc. All Rights Reserved. |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations 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 Borowitz | 9fea507 | 2013-06-18 23:44:50 -0700 | [diff] [blame^] | 35 | <properties> |
| 36 | <jettyVersion>8.1.7.v20120910</jettyVersion> |
| 37 | </properties> |
| 38 | |
| Dave Borowitz | 09ff62b | 2012-12-17 14:09:16 -0800 | [diff] [blame] | 39 | <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 Borowitz | 9fea507 | 2013-06-18 23:44:50 -0700 | [diff] [blame^] | 47 | <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 Borowitz | 09ff62b | 2012-12-17 14:09:16 -0800 | [diff] [blame] | 54 | </dependency> |
| 55 | |
| 56 | <dependency> |
| 57 | <groupId>org.eclipse.jetty</groupId> |
| Dave Borowitz | 09ff62b | 2012-12-17 14:09:16 -0800 | [diff] [blame] | 58 | <artifactId>jetty-servlet</artifactId> |
| 59 | <version>${jettyVersion}</version> |
| 60 | </dependency> |
| Dave Borowitz | 661ac2e | 2013-01-11 12:23:22 -0800 | [diff] [blame] | 61 | |
| 62 | <dependency> |
| Dave Borowitz | 9fea507 | 2013-06-18 23:44:50 -0700 | [diff] [blame^] | 63 | <groupId>org.eclipse.jetty</groupId> |
| 64 | <artifactId>jetty-server</artifactId> |
| 65 | <version>${jettyVersion}</version> |
| 66 | </dependency> |
| 67 | |
| 68 | <dependency> |
| Dave Borowitz | 661ac2e | 2013-01-11 12:23:22 -0800 | [diff] [blame] | 69 | <groupId>org.slf4j</groupId> |
| 70 | <artifactId>slf4j-simple</artifactId> |
| 71 | <version>${slf4jVersion}</version> |
| 72 | <scope>runtime</scope> |
| 73 | </dependency> |
| Dave Borowitz | 09ff62b | 2012-12-17 14:09:16 -0800 | [diff] [blame] | 74 | </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 Borowitz | 231b454 | 2013-01-10 20:30:48 -0800 | [diff] [blame] | 89 | <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 Borowitz | 09ff62b | 2012-12-17 14:09:16 -0800 | [diff] [blame] | 99 | </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> |