BUG-3335 Disable keepalives in netconf testtool
[controller.git] / opendaylight / netconf / netconf-testtool / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4   ~
5   ~ This program and the accompanying materials are made available under the
6   ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
7   ~ and is available at http://www.eclipse.org/legal/epl-v10.html
8   -->
9
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13
14     <parent>
15         <groupId>org.opendaylight.controller</groupId>
16         <artifactId>netconf-subsystem</artifactId>
17         <version>0.3.0-SNAPSHOT</version>
18     </parent>
19
20     <artifactId>netconf-testtool</artifactId>
21     <name>${project.artifactId}</name>
22
23     <dependencies>
24         <dependency>
25             <groupId>net.sourceforge.argparse4j</groupId>
26             <artifactId>argparse4j</artifactId>
27             <version>0.4.3</version>
28         </dependency>
29         <dependency>
30             <groupId>ch.qos.logback</groupId>
31             <artifactId>logback-classic</artifactId>
32             <scope>compile</scope>
33         </dependency>
34         <dependency>
35             <groupId>org.bouncycastle</groupId>
36             <artifactId>bcpkix-jdk15on</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.bouncycastle</groupId>
40             <artifactId>bcprov-jdk15on</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>${project.groupId}</groupId>
44             <artifactId>netconf-netty-util</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>${project.groupId}</groupId>
48             <artifactId>netconf-auth</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>commons.logback_settings</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.controller</groupId>
56             <artifactId>config-netconf-connector</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.controller</groupId>
60             <artifactId>sal-netconf-connector</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.controller</groupId>
64             <artifactId>logback-config</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.yangtools</groupId>
68             <artifactId>mockito-configuration</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>org.slf4j</groupId>
72             <artifactId>slf4j-api</artifactId>
73         </dependency>
74         <dependency>
75             <groupId>xmlunit</groupId>
76             <artifactId>xmlunit</artifactId>
77         </dependency>
78         <dependency>
79             <groupId>com.google.guava</groupId>
80             <artifactId>guava</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>${project.groupId}</groupId>
84             <artifactId>config-util</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>${project.groupId}</groupId>
88             <artifactId>netconf-api</artifactId>
89         </dependency>
90         <dependency>
91             <groupId>org.opendaylight.controller</groupId>
92             <artifactId>ietf-netconf-monitoring</artifactId>
93         </dependency>
94         <dependency>
95             <groupId>org.opendaylight.controller</groupId>
96             <artifactId>ietf-netconf-monitoring-extension</artifactId>
97         </dependency>
98         <dependency>
99             <groupId>${project.groupId}</groupId>
100             <artifactId>netconf-client</artifactId>
101         </dependency>
102         <dependency>
103             <groupId>org.opendaylight.yangtools.model</groupId>
104             <artifactId>ietf-yang-types</artifactId>
105         </dependency>
106         <dependency>
107             <groupId>org.opendaylight.yangtools.model</groupId>
108             <artifactId>ietf-inet-types</artifactId>
109         </dependency>
110         <dependency>
111             <groupId>${project.groupId}</groupId>
112             <artifactId>netconf-impl</artifactId>
113         </dependency>
114         <dependency>
115             <groupId>${project.groupId}</groupId>
116             <artifactId>netconf-mapping-api</artifactId>
117         </dependency>
118         <dependency>
119             <groupId>${project.groupId}</groupId>
120             <artifactId>netconf-monitoring</artifactId>
121         </dependency>
122         <dependency>
123             <groupId>${project.groupId}</groupId>
124             <artifactId>netconf-ssh</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>${project.groupId}</groupId>
128             <artifactId>netty-config-api</artifactId>
129         </dependency>
130
131     </dependencies>
132
133     <build>
134         <plugins>
135             <plugin>
136                 <groupId>org.apache.maven.plugins</groupId>
137                 <artifactId>maven-dependency-plugin</artifactId>
138                 <executions>
139                     <execution>
140                         <id>stress-client dependency copy</id>
141                         <goals>
142                             <goal>copy</goal>
143                         </goals>
144                         <configuration>
145                             <artifactItems>
146                                 <artifactItem>
147                                     <groupId>org.bouncycastle</groupId>
148                                     <artifactId>bcpkix-jdk15on</artifactId>
149                                     <outputDirectory>${project.build.directory}/lib</outputDirectory>
150                                     <overWrite>true</overWrite>
151                                     <destFileName>bcpkix-jdk15on.jar</destFileName>
152                                 </artifactItem>
153                                 <artifactItem>
154                                     <groupId>org.bouncycastle</groupId>
155                                     <artifactId>bcprov-jdk15on</artifactId>
156                                     <outputDirectory>${project.build.directory}/lib</outputDirectory>
157                                     <overWrite>true</overWrite>
158                                     <destFileName>bcprov-jdk15on.jar</destFileName>
159                                 </artifactItem>
160                             </artifactItems>
161                         </configuration>
162                     </execution>
163                 </executions>
164             </plugin>
165             <plugin>
166                 <groupId>org.apache.maven.plugins</groupId>
167                 <artifactId>maven-shade-plugin</artifactId>
168                 <configuration></configuration>
169                 <executions>
170                     <execution>
171                         <goals>
172                             <goal>shade</goal>
173                         </goals>
174                         <phase>package</phase>
175                         <configuration>
176                             <!-- TODO investigate why jar fails without this filter-->
177                             <filters>
178                                 <filter>
179                                     <artifact>*:*</artifact>
180                                     <excludes>
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
189                                         implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
190                                     <mainClass>org.opendaylight.controller.netconf.test.tool.Main</mainClass>
191                                 </transformer>
192                             </transformers>
193                             <shadedArtifactAttached>true</shadedArtifactAttached>
194                             <shadedClassifierName>executable</shadedClassifierName>
195                         </configuration>
196                     </execution>
197
198                     <execution>
199                         <id>stress-client</id>
200                         <goals>
201                             <goal>shade</goal>
202                         </goals>
203                         <phase>package</phase>
204                         <configuration>
205                             <shadedArtifactId>stress-client</shadedArtifactId>
206                             <filters>
207                                 <filter>
208                                     <artifact>*:*</artifact>
209                                     <excludes>
210                                         <exclude>META-INF/*.SF</exclude>
211                                         <exclude>META-INF/*.DSA</exclude>
212                                         <exclude>META-INF/*.RSA</exclude>
213                                     </excludes>
214                                 </filter>
215                             </filters>
216                             <artifactSet>
217                                 <excludes>
218                                     <exclude>org.bouncycastle:*</exclude>
219                                 </excludes>
220                             </artifactSet>
221                             <transformers>
222                                 <transformer
223                                         implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
224                                     <manifestEntries>
225                                         <Main-Class>org.opendaylight.controller.netconf.test.tool.client.stress.StressClient</Main-Class>
226                                         <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
227                                     </manifestEntries>
228                                 </transformer>
229                             </transformers>
230                             <shadedArtifactAttached>true</shadedArtifactAttached>
231                             <shadedClassifierName>stress-client</shadedClassifierName>
232                         </configuration>
233                     </execution>
234                 </executions>
235             </plugin>
236         </plugins>
237     </build>
238
239 </project>