Thomas Vachuska | 1eff3a6 | 2016-05-03 01:07:24 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2015-present Open Networking Laboratory |
| 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" |
| 18 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | |
| 22 | <parent> |
| 23 | <groupId>org.onosproject</groupId> |
| 24 | <artifactId>onlab-utils</artifactId> |
| 25 | <version>1.6.0-SNAPSHOT</version> |
| 26 | <relativePath>../pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>onlab-warden</artifactId> |
| 30 | <packaging>jar</packaging> |
| 31 | |
| 32 | <description>System Test Cell Warden</description> |
| 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>org.eclipse.jetty</groupId> |
| 37 | <artifactId>jetty-server</artifactId> |
| 38 | <version>8.1.18.v20150929</version> |
| 39 | </dependency> |
| 40 | <dependency> |
| 41 | <groupId>org.eclipse.jetty</groupId> |
| 42 | <artifactId>jetty-servlet</artifactId> |
| 43 | <version>8.1.18.v20150929</version> |
| 44 | </dependency> |
| 45 | </dependencies> |
| 46 | |
| 47 | <build> |
| 48 | <plugins> |
| 49 | <plugin> |
| 50 | <groupId>org.apache.maven.plugins</groupId> |
| 51 | <artifactId>maven-shade-plugin</artifactId> |
| 52 | <version>2.4.3</version> |
| 53 | <configuration> |
| 54 | <transformers> |
| 55 | <transformer |
| 56 | implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 57 | <mainClass>org.onlab.warden.Main</mainClass> |
| 58 | </transformer> |
| 59 | </transformers> |
| 60 | <filters> |
| 61 | <filter> |
| 62 | <artifact>*:*</artifact> |
| 63 | <excludes> |
| 64 | <exclude>META-INF/*.SF</exclude> |
| 65 | <exclude>META-INF/*.DSA</exclude> |
| 66 | <exclude>META-INF/*.RSA</exclude> |
| 67 | </excludes> |
| 68 | </filter> |
| 69 | </filters> |
| 70 | </configuration> |
| 71 | <executions> |
| 72 | <execution> |
| 73 | <phase>package</phase> |
| 74 | <goals> |
| 75 | <goal>shade</goal> |
| 76 | </goals> |
| 77 | </execution> |
| 78 | </executions> |
| 79 | </plugin> |
| 80 | </plugins> |
| 81 | </build> |
| 82 | |
| 83 | </project> |