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