Switch to controller-provided protocol framework
[bgpcep.git] / pcep / testtool / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
6     <modelVersion>4.0.0</modelVersion>
7     <scm>
8         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
9         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
10         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
11         <tag>HEAD</tag>
12     </scm>
13     <parent>
14         <groupId>org.opendaylight.bgpcep</groupId>
15         <artifactId>pcep-parent</artifactId>
16         <version>0.3.0-SNAPSHOT</version>
17     </parent>
18
19     <artifactId>pcep-testtool</artifactId>
20     <description>PCEP Interop Testing Tool</description>
21     <packaging>jar</packaging>
22     <name>${project.artifactId}</name>
23     <prerequisites>
24         <maven>3.0.4</maven>
25     </prerequisites>
26
27     <dependencies>
28         <dependency>
29             <groupId>${project.groupId}</groupId>
30             <artifactId>pcep-api</artifactId>
31         </dependency>
32         <dependency>
33             <groupId>${project.groupId}</groupId>
34             <artifactId>pcep-impl</artifactId>
35         </dependency>
36
37         <dependency>
38             <groupId>${project.groupId}</groupId>
39             <artifactId>concepts</artifactId>
40         </dependency>
41
42         <dependency>
43             <groupId>org.opendaylight.controller</groupId>
44             <artifactId>protocol-framework</artifactId>
45         </dependency>
46
47         <dependency>
48             <groupId>io.netty</groupId>
49             <artifactId>netty-common</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>io.netty</groupId>
53             <artifactId>netty-transport</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>com.google.guava</groupId>
57             <artifactId>guava</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.slf4j</groupId>
61             <artifactId>slf4j-api</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>ch.qos.logback</groupId>
65             <artifactId>logback-classic</artifactId>
66             <version>${logback.version}</version>
67             <scope>runtime</scope>
68         </dependency>
69
70         <!-- Testing dependencies -->
71         <dependency>
72             <groupId>junit</groupId>
73             <artifactId>junit</artifactId>
74         </dependency>
75     </dependencies>
76
77     <build>
78         <plugins>
79             <plugin>
80                 <groupId>org.apache.maven.plugins</groupId>
81                 <artifactId>maven-jar-plugin</artifactId>
82                 <configuration>
83                     <archive>
84                         <manifest>
85                             <mainClass>org.opendaylight.protocol.pcep.testtool.Main</mainClass>
86                         </manifest>
87                     </archive>
88                 </configuration>
89             </plugin>
90             <plugin>
91                 <groupId>org.apache.maven.plugins</groupId>
92                 <artifactId>maven-shade-plugin</artifactId>
93                 <version>${maven.shade.version}</version>
94                 <configuration>
95                 </configuration>
96                 <executions>
97                     <execution>
98                         <phase>package</phase>
99                         <goals>
100                             <goal>shade</goal>
101                         </goals>
102                         <configuration>
103                             <transformers>
104                                 <transformer
105                                     implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
106                                     <mainClass>org.opendaylight.protocol.pcep.testtool.Main</mainClass>
107                                 </transformer>
108                             </transformers>
109                             <shadedArtifactAttached>true</shadedArtifactAttached>
110                             <shadedClassifierName>executable</shadedClassifierName>
111                         </configuration>
112                     </execution>
113                 </executions>
114             </plugin>
115         </plugins>
116     </build>
117
118 </project>