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.netconf</groupId>
16 <artifactId>netconf-parent</artifactId>
17 <version>1.8.0-SNAPSHOT</version>
18 <relativePath>../../netconf-parent</relativePath>
21 <groupId>org.opendaylight.netconf</groupId>
22 <artifactId>netconf-testtool</artifactId>
23 <name>${project.artifactId}</name>
24 <version>1.8.0-SNAPSHOT</version>
25 <packaging>jar</packaging>
28 <sonar.skip>true</sonar.skip>
29 <xmlunit.version>2.6.3</xmlunit.version>
34 <groupId>org.codehaus.janino</groupId>
35 <artifactId>janino</artifactId>
36 <version>2.6.1</version>
39 <groupId>net.sourceforge.argparse4j</groupId>
40 <artifactId>argparse4j</artifactId>
41 <version>0.8.1</version>
44 <groupId>ch.qos.logback</groupId>
45 <artifactId>logback-classic</artifactId>
46 <scope>compile</scope>
49 <groupId>com.ning</groupId>
50 <artifactId>async-http-client</artifactId>
51 <version>1.9.40</version>
54 <groupId>org.bouncycastle</groupId>
55 <artifactId>bcpkix-jdk15on</artifactId>
58 <groupId>org.bouncycastle</groupId>
59 <artifactId>bcprov-jdk15on</artifactId>
62 <groupId>${project.groupId}</groupId>
63 <artifactId>netconf-netty-util</artifactId>
66 <groupId>${project.groupId}</groupId>
67 <artifactId>netconf-auth</artifactId>
70 <groupId>${project.groupId}</groupId>
71 <artifactId>sal-netconf-connector</artifactId>
74 <groupId>org.opendaylight.yangtools</groupId>
75 <artifactId>mockito-configuration</artifactId>
78 <groupId>org.slf4j</groupId>
79 <artifactId>slf4j-api</artifactId>
82 <groupId>com.google.guava</groupId>
83 <artifactId>guava</artifactId>
86 <groupId>${project.groupId}</groupId>
87 <artifactId>netconf-api</artifactId>
90 <groupId>${project.groupId}</groupId>
91 <artifactId>ietf-netconf-monitoring</artifactId>
94 <groupId>${project.groupId}</groupId>
95 <artifactId>ietf-netconf-monitoring-extension</artifactId>
98 <groupId>${project.groupId}</groupId>
99 <artifactId>netconf-client</artifactId>
102 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
103 <artifactId>rfc6991</artifactId>
106 <groupId>${project.groupId}</groupId>
107 <artifactId>netconf-impl</artifactId>
110 <groupId>${project.groupId}</groupId>
111 <artifactId>netconf-mapping-api</artifactId>
114 <groupId>org.opendaylight.netconf</groupId>
115 <artifactId>mdsal-netconf-monitoring</artifactId>
118 <groupId>org.opendaylight.mdsal</groupId>
119 <artifactId>mdsal-dom-broker</artifactId>
122 <groupId>org.opendaylight.mdsal</groupId>
123 <artifactId>mdsal-dom-inmemory-datastore</artifactId>
126 <groupId>org.opendaylight.netconf</groupId>
127 <artifactId>mdsal-netconf-connector</artifactId>
130 <groupId>${project.groupId}</groupId>
131 <artifactId>mdsal-netconf-ssh</artifactId>
134 <groupId>org.apache.karaf.features</groupId>
135 <artifactId>org.apache.karaf.features.core</artifactId>
136 <version>${karaf.version}</version>
139 <groupId>org.xmlunit</groupId>
140 <artifactId>xmlunit-core</artifactId>
141 <version>${xmlunit.version}</version>
145 <groupId>org.xmlunit</groupId>
146 <artifactId>xmlunit-assertj</artifactId>
147 <version>${xmlunit.version}</version>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-dependency-plugin</artifactId>
159 <id>stress-client dependency copy</id>
166 <groupId>org.bouncycastle</groupId>
167 <artifactId>bcpkix-jdk15on</artifactId>
168 <outputDirectory>${project.build.directory}/lib</outputDirectory>
169 <overWrite>true</overWrite>
170 <destFileName>bcpkix-jdk15on.jar</destFileName>
173 <groupId>org.bouncycastle</groupId>
174 <artifactId>bcprov-jdk15on</artifactId>
175 <outputDirectory>${project.build.directory}/lib</outputDirectory>
176 <overWrite>true</overWrite>
177 <destFileName>bcprov-jdk15on.jar</destFileName>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-shade-plugin</artifactId>
187 <configuration></configuration>
193 <phase>package</phase>
195 <!-- TODO investigate why jar fails without this filter-->
198 <artifact>*:*</artifact>
200 <exclude>META-INF/*.SF</exclude>
201 <exclude>META-INF/*.DSA</exclude>
202 <exclude>META-INF/*.RSA</exclude>
203 <exclude>org.opendaylight.netconf.test.tool.client</exclude>
209 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
210 <mainClass>org.opendaylight.netconf.test.tool.Main</mainClass>
213 <shadedArtifactAttached>true</shadedArtifactAttached>
214 <shadedClassifierName>executable</shadedClassifierName>
219 <id>stress-client</id>
223 <phase>package</phase>
225 <shadedArtifactId>stress-client</shadedArtifactId>
228 <artifact>*:*</artifact>
230 <exclude>META-INF/*.SF</exclude>
231 <exclude>META-INF/*.DSA</exclude>
232 <exclude>META-INF/*.RSA</exclude>
233 <exclude>org.opendaylight.netconf.test.tool.client.http</exclude>
234 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
235 <exclude>AcceptingAuthProvider</exclude>
236 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
237 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
238 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
239 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
245 <exclude>org.bouncycastle:*</exclude>
250 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
252 <Main-Class>org.opendaylight.netconf.test.tool.client.stress.StressClient</Main-Class>
253 <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
257 <shadedArtifactAttached>true</shadedArtifactAttached>
258 <shadedClassifierName>stress-client</shadedClassifierName>
263 <id>restconf-perf-client</id>
267 <phase>package</phase>
269 <shadedArtifactId>rest-perf-client</shadedArtifactId>
272 <artifact>*:*</artifact>
274 <exclude>META-INF/*.SF</exclude>
275 <exclude>META-INF/*.DSA</exclude>
276 <exclude>META-INF/*.RSA</exclude>
277 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
278 <exclude>AcceptingAuthProvider</exclude>
279 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
280 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
281 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
282 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
288 <exclude>org.bouncycastle:*</exclude>
289 <exclude>com.google:*</exclude>
290 <exclude>org.opendaylight.yangtools</exclude>
291 <exclude>org.opendaylight.yang</exclude>
296 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
297 <mainClass>org.opendaylight.netconf.test.tool.client.http.perf.RestPerfClient</mainClass>
300 <shadedArtifactAttached>true</shadedArtifactAttached>
301 <shadedClassifierName>rest-perf-client</shadedClassifierName>
310 <phase>package</phase>
312 <shadedArtifactId>scale-util</shadedArtifactId>
315 <artifact>*:*</artifact>
317 <exclude>META-INF/*.SF</exclude>
318 <exclude>META-INF/*.DSA</exclude>
319 <exclude>META-INF/*.RSA</exclude>
325 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
327 <Main-Class>org.opendaylight.netconf.test.tool.ScaleUtil</Main-Class>
328 <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
332 <shadedArtifactAttached>true</shadedArtifactAttached>
333 <shadedClassifierName>scale-util</shadedClassifierName>
339 <artifactId>maven-assembly-plugin</artifactId>
342 <descriptor>src/main/assembly/stress-client.xml</descriptor>
344 <finalName>stress-client-${project.version}-package</finalName>
348 <id>make-assembly</id>
349 <phase>package</phase>
357 <artifactId>maven-surefire-plugin</artifactId>
359 <reportFormat>plain</reportFormat>