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>
27 <dependencyManagement>
30 <groupId>org.opendaylight.netconf</groupId>
31 <artifactId>netconf-subsystem</artifactId>
32 <version>${project.version}</version>
37 </dependencyManagement>
41 <groupId>net.sourceforge.argparse4j</groupId>
42 <artifactId>argparse4j</artifactId>
43 <version>0.4.3</version>
46 <groupId>ch.qos.logback</groupId>
47 <artifactId>logback-classic</artifactId>
48 <scope>compile</scope>
51 <groupId>com.ning</groupId>
52 <artifactId>async-http-client</artifactId>
53 <version>1.9.24</version>
56 <groupId>org.bouncycastle</groupId>
57 <artifactId>bcpkix-jdk15on</artifactId>
60 <groupId>org.bouncycastle</groupId>
61 <artifactId>bcprov-jdk15on</artifactId>
64 <groupId>${project.groupId}</groupId>
65 <artifactId>netconf-netty-util</artifactId>
68 <groupId>${project.groupId}</groupId>
69 <artifactId>netconf-auth</artifactId>
72 <groupId>${project.groupId}</groupId>
73 <artifactId>config-netconf-connector</artifactId>
76 <groupId>${project.groupId}</groupId>
77 <artifactId>sal-netconf-connector</artifactId>
80 <groupId>org.opendaylight.controller</groupId>
81 <artifactId>logback-config</artifactId>
84 <groupId>org.opendaylight.yangtools</groupId>
85 <artifactId>mockito-configuration</artifactId>
88 <groupId>org.slf4j</groupId>
89 <artifactId>slf4j-api</artifactId>
92 <groupId>com.google.guava</groupId>
93 <artifactId>guava</artifactId>
96 <groupId>org.opendaylight.controller</groupId>
97 <artifactId>config-util</artifactId>
100 <groupId>${project.groupId}</groupId>
101 <artifactId>netconf-api</artifactId>
104 <groupId>${project.groupId}</groupId>
105 <artifactId>ietf-netconf-monitoring</artifactId>
108 <groupId>${project.groupId}</groupId>
109 <artifactId>ietf-netconf-monitoring-extension</artifactId>
112 <groupId>${project.groupId}</groupId>
113 <artifactId>netconf-client</artifactId>
116 <groupId>org.opendaylight.mdsal.model</groupId>
117 <artifactId>ietf-yang-types</artifactId>
120 <groupId>org.opendaylight.mdsal.model</groupId>
121 <artifactId>ietf-inet-types</artifactId>
124 <groupId>${project.groupId}</groupId>
125 <artifactId>netconf-impl</artifactId>
128 <groupId>${project.groupId}</groupId>
129 <artifactId>netconf-mapping-api</artifactId>
132 <groupId>${project.groupId}</groupId>
133 <artifactId>netconf-monitoring</artifactId>
136 <groupId>${project.groupId}</groupId>
137 <artifactId>netconf-ssh</artifactId>
140 <groupId>org.opendaylight.controller</groupId>
141 <artifactId>netty-config-api</artifactId>
144 <groupId>org.opendaylight.controller</groupId>
145 <artifactId>sal-inmemory-datastore</artifactId>
148 <groupId>org.opendaylight.netconf</groupId>
149 <artifactId>mdsal-netconf-connector</artifactId>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-dependency-plugin</artifactId>
160 <id>stress-client dependency copy</id>
167 <groupId>org.bouncycastle</groupId>
168 <artifactId>bcpkix-jdk15on</artifactId>
169 <outputDirectory>${project.build.directory}/lib</outputDirectory>
170 <overWrite>true</overWrite>
171 <destFileName>bcpkix-jdk15on.jar</destFileName>
174 <groupId>org.bouncycastle</groupId>
175 <artifactId>bcprov-jdk15on</artifactId>
176 <outputDirectory>${project.build.directory}/lib</outputDirectory>
177 <overWrite>true</overWrite>
178 <destFileName>bcprov-jdk15on.jar</destFileName>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-shade-plugin</artifactId>
188 <configuration></configuration>
194 <phase>package</phase>
196 <!-- TODO investigate why jar fails without this filter-->
199 <artifact>*:*</artifact>
201 <exclude>META-INF/*.SF</exclude>
202 <exclude>META-INF/*.DSA</exclude>
203 <exclude>META-INF/*.RSA</exclude>
204 <exclude>org.opendaylight.netconf.test.tool.client</exclude>
210 <exclude>com.ning</exclude>
215 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
216 <mainClass>org.opendaylight.netconf.test.tool.Main</mainClass>
219 <shadedArtifactAttached>true</shadedArtifactAttached>
220 <shadedClassifierName>executable</shadedClassifierName>
225 <id>stress-client</id>
229 <phase>package</phase>
231 <shadedArtifactId>stress-client</shadedArtifactId>
234 <artifact>*:*</artifact>
236 <exclude>META-INF/*.SF</exclude>
237 <exclude>META-INF/*.DSA</exclude>
238 <exclude>META-INF/*.RSA</exclude>
239 <exclude>org.opendaylight.netconf.test.tool.client.http</exclude>
240 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
241 <exclude>AcceptingAuthProvider</exclude>
242 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
243 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
244 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
245 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
251 <exclude>org.bouncycastle:*</exclude>
256 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
258 <Main-Class>org.opendaylight.netconf.test.tool.client.stress.StressClient</Main-Class>
259 <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
263 <shadedArtifactAttached>true</shadedArtifactAttached>
264 <shadedClassifierName>stress-client</shadedClassifierName>
269 <id>restconf-perf-client</id>
273 <phase>package</phase>
275 <shadedArtifactId>rest-perf-client</shadedArtifactId>
278 <artifact>*:*</artifact>
280 <exclude>META-INF/*.SF</exclude>
281 <exclude>META-INF/*.DSA</exclude>
282 <exclude>META-INF/*.RSA</exclude>
283 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
284 <exclude>AcceptingAuthProvider</exclude>
285 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
286 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
287 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
288 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
294 <exclude>org.bouncycastle:*</exclude>
295 <exclude>com.google:*</exclude>
296 <exclude>org.opendaylight.yangtools</exclude>
297 <exclude>org.opendaylight.yang</exclude>
302 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
303 <mainClass>org.opendaylight.netconf.test.tool.client.http.perf.RestPerfClient</mainClass>
306 <shadedArtifactAttached>true</shadedArtifactAttached>
307 <shadedClassifierName>rest-perf-client</shadedClassifierName>
316 <phase>package</phase>
318 <shadedArtifactId>scale-util</shadedArtifactId>
321 <artifact>*:*</artifact>
323 <exclude>META-INF/*.SF</exclude>
324 <exclude>META-INF/*.DSA</exclude>
325 <exclude>META-INF/*.RSA</exclude>
331 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
333 <Main-Class>org.opendaylight.netconf.test.tool.ScaleUtil</Main-Class>
334 <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
338 <shadedArtifactAttached>true</shadedArtifactAttached>
339 <shadedClassifierName>scale-util</shadedClassifierName>
345 <artifactId>maven-assembly-plugin</artifactId>
348 <descriptor>src/main/assembly/stress-client.xml</descriptor>
350 <finalName>stress-client-${project.version}-package</finalName>
354 <id>make-assembly</id>
355 <phase>package</phase>