be372411368d82e6e7aae7d797bab285d5bd0eaf
[bgpcep.git] / bgp / 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     <scm>
16         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
17         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
18         <url>https://wiki.opendaylight.org/display/ODL/BGPCEP</url>
19         <tag>HEAD</tag>
20     </scm>
21     <parent>
22         <groupId>org.opendaylight.bgpcep</groupId>
23         <artifactId>testtool-parent</artifactId>
24         <version>0.21.6-SNAPSHOT</version>
25         <relativePath>../../testtool-parent</relativePath>
26     </parent>
27
28     <artifactId>bgp-testtool</artifactId>
29     <version>0.21.6-SNAPSHOT</version>
30     <packaging>jar</packaging>
31     <description>BGP Interop Testing Tool</description>
32     <name>${project.artifactId}</name>
33
34     <properties>
35         <!-- We are shading things, override defaults -->
36         <odlparent.dependency.enforce>false</odlparent.dependency.enforce>
37     </properties>
38
39     <dependencies>
40         <dependency>
41             <groupId>${project.groupId}</groupId>
42             <artifactId>bgp-concepts</artifactId>
43         </dependency>
44         <dependency>
45             <groupId>${project.groupId}</groupId>
46             <artifactId>bgp-linkstate</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>${project.groupId}</groupId>
50             <artifactId>bgp-parser-api</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>${project.groupId}</groupId>
54             <artifactId>bgp-parser-spi</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>${project.groupId}</groupId>
58             <artifactId>bgp-parser-impl</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>${project.groupId}</groupId>
62             <artifactId>concepts</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>bgp-rib-api</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>${project.groupId}</groupId>
70             <artifactId>bgp-rib-spi</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>${project.groupId}</groupId>
74             <artifactId>bgp-rib-impl</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>${project.groupId}</groupId>
78             <artifactId>testtool-util</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.opendaylight.yangtools</groupId>
82             <artifactId>yang-common</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>org.opendaylight.mdsal</groupId>
86             <artifactId>yang-binding</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
90             <artifactId>rfc6991-ietf-inet-types</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>${project.groupId}</groupId>
94             <artifactId>bgp-inet</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>${project.groupId}</groupId>
98             <artifactId>bgp-evpn</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>${project.groupId}</groupId>
102             <artifactId>bgp-flowspec</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>${project.groupId}</groupId>
106             <artifactId>bgp-labeled-unicast</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>${project.groupId}</groupId>
110             <artifactId>bgp-l3vpn</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>${project.groupId}</groupId>
114             <artifactId>bgp-route-target</artifactId>
115         </dependency>
116         <dependency>
117             <groupId>${project.groupId}</groupId>
118             <artifactId>util</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>io.netty</groupId>
122             <artifactId>netty-common</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>io.netty</groupId>
126             <artifactId>netty-transport</artifactId>
127         </dependency>
128         <dependency>
129             <groupId>org.slf4j</groupId>
130             <artifactId>slf4j-api</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>com.google.guava</groupId>
134             <artifactId>guava</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>ch.qos.logback</groupId>
138             <artifactId>logback-classic</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>org.opendaylight.mdsal</groupId>
142             <artifactId>mdsal-common-api</artifactId>
143         </dependency>
144         <dependency>
145             <groupId>net.sourceforge.argparse4j</groupId>
146             <artifactId>argparse4j</artifactId>
147             <version>0.9.0</version>
148         </dependency>
149     </dependencies>
150
151     <build>
152         <plugins>
153             <plugin>
154                 <groupId>org.apache.maven.plugins</groupId>
155                 <artifactId>maven-jar-plugin</artifactId>
156                 <configuration>
157                     <archive>
158                         <manifest>
159                             <mainClass>org.opendaylight.protocol.bgp.testtool.Main</mainClass>
160                         </manifest>
161                     </archive>
162                 </configuration>
163             </plugin>
164             <plugin>
165                 <groupId>org.apache.maven.plugins</groupId>
166                 <artifactId>maven-shade-plugin</artifactId>
167                 <configuration>
168                 </configuration>
169                 <executions>
170                     <execution>
171                         <phase>package</phase>
172                         <goals>
173                             <goal>shade</goal>
174                         </goals>
175                         <configuration>
176                             <filters>
177                                 <filter>
178                                     <artifact>*:*</artifact>
179                                     <excludes>
180                                         <exclude>org/datanucleus/**</exclude>
181                                         <exclude>META-INF/*.SF</exclude>
182                                         <exclude>META-INF/*.DSA</exclude>
183                                         <exclude>META-INF/*.RSA</exclude>
184                                     </excludes>
185                                 </filter>
186                             </filters>
187                             <transformers>
188                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
189                                     <mainClass>org.opendaylight.protocol.bgp.testtool.Main</mainClass>
190                                 </transformer>
191                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
192                             </transformers>
193                             <shadedArtifactAttached>true</shadedArtifactAttached>
194                             <shadedClassifierName>executable</shadedClassifierName>
195                         </configuration>
196                     </execution>
197                 </executions>
198             </plugin>
199         </plugins>
200     </build>
201 </project>