1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
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>
15 <groupId>org.opendaylight.odlparent</groupId>
16 <artifactId>odlparent</artifactId>
17 <version>1.7.0-SNAPSHOT</version>
21 <groupId>org.opendaylight.netconf</groupId>
22 <artifactId>netconf-testtool</artifactId>
23 <name>${project.artifactId}</name>
24 <version>1.1.0-SNAPSHOT</version>
25 <packaging>jar</packaging>
28 <sonar.skip>true</sonar.skip>
31 <dependencyManagement>
34 <groupId>org.opendaylight.netconf</groupId>
35 <artifactId>netconf-subsystem</artifactId>
36 <version>${project.version}</version>
41 </dependencyManagement>
45 <groupId>org.codehaus.janino</groupId>
46 <artifactId>janino</artifactId>
47 <version>2.6.1</version>
50 <groupId>net.sourceforge.argparse4j</groupId>
51 <artifactId>argparse4j</artifactId>
52 <version>0.4.3</version>
55 <groupId>ch.qos.logback</groupId>
56 <artifactId>logback-classic</artifactId>
57 <scope>compile</scope>
60 <groupId>com.ning</groupId>
61 <artifactId>async-http-client</artifactId>
62 <version>1.9.24</version>
65 <groupId>org.bouncycastle</groupId>
66 <artifactId>bcpkix-jdk15on</artifactId>
69 <groupId>org.bouncycastle</groupId>
70 <artifactId>bcprov-jdk15on</artifactId>
73 <groupId>${project.groupId}</groupId>
74 <artifactId>netconf-netty-util</artifactId>
77 <groupId>${project.groupId}</groupId>
78 <artifactId>netconf-auth</artifactId>
81 <groupId>${project.groupId}</groupId>
82 <artifactId>config-netconf-connector</artifactId>
85 <groupId>${project.groupId}</groupId>
86 <artifactId>sal-netconf-connector</artifactId>
89 <groupId>org.opendaylight.controller</groupId>
90 <artifactId>logback-config</artifactId>
93 <groupId>org.opendaylight.yangtools</groupId>
94 <artifactId>mockito-configuration</artifactId>
97 <groupId>org.slf4j</groupId>
98 <artifactId>slf4j-api</artifactId>
101 <groupId>com.google.guava</groupId>
102 <artifactId>guava</artifactId>
105 <groupId>org.opendaylight.controller</groupId>
106 <artifactId>config-util</artifactId>
109 <groupId>${project.groupId}</groupId>
110 <artifactId>netconf-api</artifactId>
113 <groupId>${project.groupId}</groupId>
114 <artifactId>ietf-netconf-monitoring</artifactId>
117 <groupId>${project.groupId}</groupId>
118 <artifactId>ietf-netconf-monitoring-extension</artifactId>
121 <groupId>${project.groupId}</groupId>
122 <artifactId>netconf-client</artifactId>
125 <groupId>org.opendaylight.mdsal.model</groupId>
126 <artifactId>ietf-yang-types-20130715</artifactId>
129 <groupId>org.opendaylight.mdsal.model</groupId>
130 <artifactId>ietf-inet-types-2013-07-15</artifactId>
133 <groupId>${project.groupId}</groupId>
134 <artifactId>netconf-impl</artifactId>
137 <groupId>${project.groupId}</groupId>
138 <artifactId>netconf-mapping-api</artifactId>
141 <groupId>${project.groupId}</groupId>
142 <artifactId>netconf-monitoring</artifactId>
145 <groupId>${project.groupId}</groupId>
146 <artifactId>netconf-ssh</artifactId>
149 <groupId>org.opendaylight.controller</groupId>
150 <artifactId>netty-config-api</artifactId>
153 <groupId>org.opendaylight.controller</groupId>
154 <artifactId>sal-inmemory-datastore</artifactId>
157 <groupId>org.opendaylight.netconf</groupId>
158 <artifactId>mdsal-netconf-connector</artifactId>
161 <groupId>org.apache.karaf.features</groupId>
162 <artifactId>org.apache.karaf.features.core</artifactId>
163 <version>3.0.3</version>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-dependency-plugin</artifactId>
174 <id>stress-client dependency copy</id>
181 <groupId>org.bouncycastle</groupId>
182 <artifactId>bcpkix-jdk15on</artifactId>
183 <outputDirectory>${project.build.directory}/lib</outputDirectory>
184 <overWrite>true</overWrite>
185 <destFileName>bcpkix-jdk15on.jar</destFileName>
188 <groupId>org.bouncycastle</groupId>
189 <artifactId>bcprov-jdk15on</artifactId>
190 <outputDirectory>${project.build.directory}/lib</outputDirectory>
191 <overWrite>true</overWrite>
192 <destFileName>bcprov-jdk15on.jar</destFileName>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-shade-plugin</artifactId>
202 <configuration></configuration>
208 <phase>package</phase>
210 <!-- TODO investigate why jar fails without this filter-->
213 <artifact>*:*</artifact>
215 <exclude>META-INF/*.SF</exclude>
216 <exclude>META-INF/*.DSA</exclude>
217 <exclude>META-INF/*.RSA</exclude>
218 <exclude>org.opendaylight.netconf.test.tool.client</exclude>
224 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
225 <mainClass>org.opendaylight.netconf.test.tool.Main</mainClass>
228 <shadedArtifactAttached>true</shadedArtifactAttached>
229 <shadedClassifierName>executable</shadedClassifierName>
234 <id>stress-client</id>
238 <phase>package</phase>
240 <shadedArtifactId>stress-client</shadedArtifactId>
243 <artifact>*:*</artifact>
245 <exclude>META-INF/*.SF</exclude>
246 <exclude>META-INF/*.DSA</exclude>
247 <exclude>META-INF/*.RSA</exclude>
248 <exclude>org.opendaylight.netconf.test.tool.client.http</exclude>
249 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
250 <exclude>AcceptingAuthProvider</exclude>
251 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
252 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
253 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
254 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
260 <exclude>org.bouncycastle:*</exclude>
265 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
267 <Main-Class>org.opendaylight.netconf.test.tool.client.stress.StressClient</Main-Class>
268 <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
272 <shadedArtifactAttached>true</shadedArtifactAttached>
273 <shadedClassifierName>stress-client</shadedClassifierName>
278 <id>restconf-perf-client</id>
282 <phase>package</phase>
284 <shadedArtifactId>rest-perf-client</shadedArtifactId>
287 <artifact>*:*</artifact>
289 <exclude>META-INF/*.SF</exclude>
290 <exclude>META-INF/*.DSA</exclude>
291 <exclude>META-INF/*.RSA</exclude>
292 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
293 <exclude>AcceptingAuthProvider</exclude>
294 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
295 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
296 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
297 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
303 <exclude>org.bouncycastle:*</exclude>
304 <exclude>com.google:*</exclude>
305 <exclude>org.opendaylight.yangtools</exclude>
306 <exclude>org.opendaylight.yang</exclude>
311 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
312 <mainClass>org.opendaylight.netconf.test.tool.client.http.perf.RestPerfClient</mainClass>
315 <shadedArtifactAttached>true</shadedArtifactAttached>
316 <shadedClassifierName>rest-perf-client</shadedClassifierName>
325 <phase>package</phase>
327 <shadedArtifactId>scale-util</shadedArtifactId>
330 <artifact>*:*</artifact>
332 <exclude>META-INF/*.SF</exclude>
333 <exclude>META-INF/*.DSA</exclude>
334 <exclude>META-INF/*.RSA</exclude>
340 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
342 <Main-Class>org.opendaylight.netconf.test.tool.ScaleUtil</Main-Class>
343 <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
347 <shadedArtifactAttached>true</shadedArtifactAttached>
348 <shadedClassifierName>scale-util</shadedClassifierName>
354 <artifactId>maven-assembly-plugin</artifactId>
357 <descriptor>src/main/assembly/stress-client.xml</descriptor>
359 <finalName>stress-client-${project.version}-package</finalName>
363 <id>make-assembly</id>
364 <phase>package</phase>