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>7.0.4-SNAPSHOT</version>
18 <relativePath>../../../parent</relativePath>
21 <artifactId>netconf-testtool</artifactId>
22 <name>${project.artifactId}</name>
23 <packaging>jar</packaging>
26 <sonar.skip>true</sonar.skip>
31 <groupId>com.github.spotbugs</groupId>
32 <artifactId>spotbugs-annotations</artifactId>
33 <optional>true</optional>
36 <groupId>org.codehaus.janino</groupId>
37 <artifactId>janino</artifactId>
38 <version>3.1.4</version>
41 <groupId>net.sourceforge.argparse4j</groupId>
42 <artifactId>argparse4j</artifactId>
45 <groupId>ch.qos.logback</groupId>
46 <artifactId>logback-classic</artifactId>
47 <scope>compile</scope>
50 <groupId>org.bouncycastle</groupId>
51 <artifactId>bcpkix-jdk18on</artifactId>
54 <groupId>org.bouncycastle</groupId>
55 <artifactId>bcprov-jdk18on</artifactId>
58 <groupId>${project.groupId}</groupId>
59 <artifactId>netconf-netty-util</artifactId>
62 <groupId>${project.groupId}</groupId>
63 <artifactId>netconf-auth</artifactId>
66 <groupId>org.opendaylight.netconf</groupId>
67 <artifactId>netconf-topology</artifactId>
70 <groupId>${project.groupId}</groupId>
71 <artifactId>netconf-client-mdsal</artifactId>
74 <groupId>org.slf4j</groupId>
75 <artifactId>slf4j-api</artifactId>
78 <groupId>com.google.guava</groupId>
79 <artifactId>guava</artifactId>
82 <groupId>${project.groupId}</groupId>
83 <artifactId>netconf-api</artifactId>
86 <groupId>org.opendaylight.netconf.model</groupId>
87 <artifactId>rfc6022</artifactId>
90 <groupId>${project.groupId}</groupId>
91 <artifactId>netconf-client</artifactId>
94 <groupId>${project.groupId}</groupId>
95 <artifactId>netconf-server</artifactId>
98 <groupId>com.guicedee.services</groupId>
99 <artifactId>javax.inject</artifactId>
100 <optional>true</optional>
103 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
104 <artifactId>rfc6991-ietf-inet-types</artifactId>
107 <groupId>org.opendaylight.mdsal</groupId>
108 <artifactId>mdsal-dom-broker</artifactId>
111 <groupId>org.opendaylight.mdsal</groupId>
112 <artifactId>mdsal-dom-inmemory-datastore</artifactId>
115 <groupId>org.opendaylight.netconf</groupId>
116 <artifactId>netconf-server-mdsal</artifactId>
119 <groupId>org.apache.karaf.features</groupId>
120 <artifactId>org.apache.karaf.features.core</artifactId>
124 <groupId>org.opendaylight.yangtools</groupId>
125 <artifactId>mockito-configuration</artifactId>
128 <groupId>org.xmlunit</groupId>
129 <artifactId>xmlunit-core</artifactId>
132 <groupId>org.xmlunit</groupId>
133 <artifactId>xmlunit-assertj</artifactId>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-dependency-plugin</artifactId>
144 <id>stress-client dependency copy</id>
151 <groupId>org.bouncycastle</groupId>
152 <artifactId>bcpkix-jdk18on</artifactId>
153 <outputDirectory>${project.build.directory}/lib</outputDirectory>
154 <overWrite>true</overWrite>
155 <destFileName>bcpkix-jdk18on.jar</destFileName>
158 <groupId>org.bouncycastle</groupId>
159 <artifactId>bcprov-jdk18on</artifactId>
160 <outputDirectory>${project.build.directory}/lib</outputDirectory>
161 <overWrite>true</overWrite>
162 <destFileName>bcprov-jdk18on.jar</destFileName>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-shade-plugin</artifactId>
173 <createDependencyReducedPom>false</createDependencyReducedPom>
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-jdk18on.jar lib/bcpkix-jdk18on.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-jdk18on.jar lib/bcpkix-jdk18on.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 <overrideGid>0</overrideGid>
332 <overrideUid>0</overrideUid>
333 <finalName>stress-client-${project.version}-package</finalName>
337 <id>make-assembly</id>
338 <phase>package</phase>
346 <artifactId>maven-surefire-plugin</artifactId>
348 <reportFormat>plain</reportFormat>