| 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 | |
| 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 Borowitz | 09ff62b | 2012-12-17 14:09:16 -0800 | [diff] [blame] | 50 | <artifactId>jetty-servlet</artifactId> |
| 51 | <version>${jettyVersion}</version> |
| 52 | </dependency> |
| Dave Borowitz | 661ac2e | 2013-01-11 12:23:22 -0800 | [diff] [blame^] | 53 | |
| 54 | <dependency> |
| 55 | <groupId>org.slf4j</groupId> |
| 56 | <artifactId>slf4j-simple</artifactId> |
| 57 | <version>${slf4jVersion}</version> |
| 58 | <scope>runtime</scope> |
| 59 | </dependency> |
| Dave Borowitz | 09ff62b | 2012-12-17 14:09:16 -0800 | [diff] [blame] | 60 | </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 Borowitz | 231b454 | 2013-01-10 20:30:48 -0800 | [diff] [blame] | 75 | <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 Borowitz | 09ff62b | 2012-12-17 14:09:16 -0800 | [diff] [blame] | 85 | </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> |