Introduce testtool-parent
[bgpcep.git] / pcep / testtool / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10
11 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13
14     <modelVersion>4.0.0</modelVersion>
15     <parent>
16         <groupId>org.opendaylight.bgpcep</groupId>
17         <artifactId>testtool-parent</artifactId>
18         <version>0.9.0-SNAPSHOT</version>
19         <relativePath>../../testtool-parent</relativePath>
20     </parent>
21
22     <artifactId>pcep-testtool</artifactId>
23     <version>0.9.0-SNAPSHOT</version>
24     <description>PCEP Interop Testing Tool</description>
25     <packaging>jar</packaging>
26     <name>${project.artifactId}</name>
27
28     <dependencies>
29         <dependency>
30             <groupId>${project.groupId}</groupId>
31             <artifactId>pcep-api</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>${project.groupId}</groupId>
35             <artifactId>pcep-spi</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>${project.groupId}</groupId>
39             <artifactId>pcep-impl</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>${project.groupId}</groupId>
43             <artifactId>pcep-pcc-mock</artifactId>
44         </dependency>
45
46         <dependency>
47             <groupId>${project.groupId}</groupId>
48             <artifactId>pcep-ietf-stateful07</artifactId>
49         </dependency>
50
51         <dependency>
52             <groupId>io.netty</groupId>
53             <artifactId>netty-common</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>io.netty</groupId>
57             <artifactId>netty-transport</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>com.google.guava</groupId>
61             <artifactId>guava</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>org.slf4j</groupId>
65             <artifactId>slf4j-api</artifactId>
66         </dependency>
67         <dependency>
68             <groupId>ch.qos.logback</groupId>
69             <artifactId>logback-classic</artifactId>
70             <scope>runtime</scope>
71         </dependency>
72
73         <!-- Testing dependencies -->
74         <dependency>
75             <groupId>junit</groupId>
76             <artifactId>junit</artifactId>
77         </dependency>
78     </dependencies>
79
80     <build>
81         <plugins>
82             <plugin>
83                 <groupId>org.apache.maven.plugins</groupId>
84                 <artifactId>maven-jar-plugin</artifactId>
85                 <configuration>
86                     <archive>
87                         <manifest>
88                             <mainClass>org.opendaylight.protocol.pcep.testtool.Main</mainClass>
89                         </manifest>
90                     </archive>
91                 </configuration>
92             </plugin>
93             <plugin>
94                 <groupId>org.apache.maven.plugins</groupId>
95                 <artifactId>maven-shade-plugin</artifactId>
96                 <configuration>
97                 </configuration>
98                 <executions>
99                     <execution>
100                         <phase>package</phase>
101                         <goals>
102                             <goal>shade</goal>
103                         </goals>
104                         <configuration>
105                             <transformers>
106                                 <transformer
107                                         implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
108                                     <mainClass>org.opendaylight.protocol.pcep.testtool.Main</mainClass>
109                                 </transformer>
110                             </transformers>
111                             <shadedArtifactAttached>true</shadedArtifactAttached>
112                             <shadedClassifierName>executable</shadedClassifierName>
113                         </configuration>
114                     </execution>
115                 </executions>
116             </plugin>
117         </plugins>
118     </build>
119
120     <scm>
121         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
122         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
123         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
124         <tag>HEAD</tag>
125     </scm>
126 </project>