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.5.1-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.5.1-SNAPSHOT</version>
25 <packaging>jar</packaging>
28 <sonar.skip>true</sonar.skip>
33 <groupId>org.codehaus.janino</groupId>
34 <artifactId>janino</artifactId>
35 <version>2.6.1</version>
38 <groupId>net.sourceforge.argparse4j</groupId>
39 <artifactId>argparse4j</artifactId>
40 <version>0.4.3</version>
43 <groupId>ch.qos.logback</groupId>
44 <artifactId>logback-classic</artifactId>
45 <scope>compile</scope>
48 <groupId>com.ning</groupId>
49 <artifactId>async-http-client</artifactId>
50 <version>1.9.24</version>
53 <groupId>org.bouncycastle</groupId>
54 <artifactId>bcpkix-jdk15on</artifactId>
57 <groupId>org.bouncycastle</groupId>
58 <artifactId>bcprov-jdk15on</artifactId>
61 <groupId>${project.groupId}</groupId>
62 <artifactId>netconf-netty-util</artifactId>
65 <groupId>${project.groupId}</groupId>
66 <artifactId>netconf-auth</artifactId>
69 <groupId>${project.groupId}</groupId>
70 <artifactId>sal-netconf-connector</artifactId>
73 <groupId>org.opendaylight.yangtools</groupId>
74 <artifactId>mockito-configuration</artifactId>
77 <groupId>org.slf4j</groupId>
78 <artifactId>slf4j-api</artifactId>
81 <groupId>com.google.guava</groupId>
82 <artifactId>guava</artifactId>
85 <groupId>${project.groupId}</groupId>
86 <artifactId>netconf-api</artifactId>
89 <groupId>${project.groupId}</groupId>
90 <artifactId>ietf-netconf-monitoring</artifactId>
93 <groupId>${project.groupId}</groupId>
94 <artifactId>ietf-netconf-monitoring-extension</artifactId>
97 <groupId>${project.groupId}</groupId>
98 <artifactId>netconf-client</artifactId>
101 <groupId>org.opendaylight.mdsal.model</groupId>
102 <artifactId>ietf-yang-types-20130715</artifactId>
105 <groupId>org.opendaylight.mdsal.model</groupId>
106 <artifactId>ietf-inet-types-2013-07-15</artifactId>
109 <groupId>${project.groupId}</groupId>
110 <artifactId>netconf-impl</artifactId>
113 <groupId>${project.groupId}</groupId>
114 <artifactId>netconf-mapping-api</artifactId>
117 <groupId>${project.groupId}</groupId>
118 <artifactId>netconf-monitoring</artifactId>
121 <groupId>${project.groupId}</groupId>
122 <artifactId>netconf-ssh</artifactId>
125 <groupId>org.opendaylight.controller</groupId>
126 <artifactId>sal-inmemory-datastore</artifactId>
129 <groupId>org.opendaylight.netconf</groupId>
130 <artifactId>mdsal-netconf-connector</artifactId>
133 <groupId>org.apache.karaf.features</groupId>
134 <artifactId>org.apache.karaf.features.core</artifactId>
135 <version>${karaf.version}</version>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-dependency-plugin</artifactId>
146 <id>stress-client dependency copy</id>
153 <groupId>org.bouncycastle</groupId>
154 <artifactId>bcpkix-jdk15on</artifactId>
155 <outputDirectory>${project.build.directory}/lib</outputDirectory>
156 <overWrite>true</overWrite>
157 <destFileName>bcpkix-jdk15on.jar</destFileName>
160 <groupId>org.bouncycastle</groupId>
161 <artifactId>bcprov-jdk15on</artifactId>
162 <outputDirectory>${project.build.directory}/lib</outputDirectory>
163 <overWrite>true</overWrite>
164 <destFileName>bcprov-jdk15on.jar</destFileName>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-shade-plugin</artifactId>
174 <configuration></configuration>
180 <phase>package</phase>
182 <!-- TODO investigate why jar fails without this filter-->
185 <artifact>*:*</artifact>
187 <exclude>META-INF/*.SF</exclude>
188 <exclude>META-INF/*.DSA</exclude>
189 <exclude>META-INF/*.RSA</exclude>
190 <exclude>org.opendaylight.netconf.test.tool.client</exclude>
196 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
197 <mainClass>org.opendaylight.netconf.test.tool.Main</mainClass>
200 <shadedArtifactAttached>true</shadedArtifactAttached>
201 <shadedClassifierName>executable</shadedClassifierName>
206 <id>stress-client</id>
210 <phase>package</phase>
212 <shadedArtifactId>stress-client</shadedArtifactId>
215 <artifact>*:*</artifact>
217 <exclude>META-INF/*.SF</exclude>
218 <exclude>META-INF/*.DSA</exclude>
219 <exclude>META-INF/*.RSA</exclude>
220 <exclude>org.opendaylight.netconf.test.tool.client.http</exclude>
221 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
222 <exclude>AcceptingAuthProvider</exclude>
223 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
224 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
225 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
226 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
232 <exclude>org.bouncycastle:*</exclude>
237 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
239 <Main-Class>org.opendaylight.netconf.test.tool.client.stress.StressClient</Main-Class>
240 <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
244 <shadedArtifactAttached>true</shadedArtifactAttached>
245 <shadedClassifierName>stress-client</shadedClassifierName>
250 <id>restconf-perf-client</id>
254 <phase>package</phase>
256 <shadedArtifactId>rest-perf-client</shadedArtifactId>
259 <artifact>*:*</artifact>
261 <exclude>META-INF/*.SF</exclude>
262 <exclude>META-INF/*.DSA</exclude>
263 <exclude>META-INF/*.RSA</exclude>
264 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
265 <exclude>AcceptingAuthProvider</exclude>
266 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
267 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
268 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
269 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
275 <exclude>org.bouncycastle:*</exclude>
276 <exclude>com.google:*</exclude>
277 <exclude>org.opendaylight.yangtools</exclude>
278 <exclude>org.opendaylight.yang</exclude>
283 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
284 <mainClass>org.opendaylight.netconf.test.tool.client.http.perf.RestPerfClient</mainClass>
287 <shadedArtifactAttached>true</shadedArtifactAttached>
288 <shadedClassifierName>rest-perf-client</shadedClassifierName>
297 <phase>package</phase>
299 <shadedArtifactId>scale-util</shadedArtifactId>
302 <artifact>*:*</artifact>
304 <exclude>META-INF/*.SF</exclude>
305 <exclude>META-INF/*.DSA</exclude>
306 <exclude>META-INF/*.RSA</exclude>
312 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
314 <Main-Class>org.opendaylight.netconf.test.tool.ScaleUtil</Main-Class>
315 <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
319 <shadedArtifactAttached>true</shadedArtifactAttached>
320 <shadedClassifierName>scale-util</shadedClassifierName>
326 <artifactId>maven-assembly-plugin</artifactId>
329 <descriptor>src/main/assembly/stress-client.xml</descriptor>
331 <finalName>stress-client-${project.version}-package</finalName>
335 <id>make-assembly</id>
336 <phase>package</phase>