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.0-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>${project.groupId}</groupId>
120 <artifactId>netconf-nb</artifactId>
123 <groupId>org.apache.karaf.features</groupId>
124 <artifactId>org.apache.karaf.features.core</artifactId>
128 <groupId>org.opendaylight.yangtools</groupId>
129 <artifactId>mockito-configuration</artifactId>
132 <groupId>org.xmlunit</groupId>
133 <artifactId>xmlunit-core</artifactId>
136 <groupId>org.xmlunit</groupId>
137 <artifactId>xmlunit-assertj</artifactId>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-dependency-plugin</artifactId>
148 <id>stress-client dependency copy</id>
155 <groupId>org.bouncycastle</groupId>
156 <artifactId>bcpkix-jdk18on</artifactId>
157 <outputDirectory>${project.build.directory}/lib</outputDirectory>
158 <overWrite>true</overWrite>
159 <destFileName>bcpkix-jdk18on.jar</destFileName>
162 <groupId>org.bouncycastle</groupId>
163 <artifactId>bcprov-jdk18on</artifactId>
164 <outputDirectory>${project.build.directory}/lib</outputDirectory>
165 <overWrite>true</overWrite>
166 <destFileName>bcprov-jdk18on.jar</destFileName>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-shade-plugin</artifactId>
177 <createDependencyReducedPom>false</createDependencyReducedPom>
184 <phase>package</phase>
186 <!-- TODO investigate why jar fails without this filter-->
189 <artifact>*:*</artifact>
191 <exclude>META-INF/*.SF</exclude>
192 <exclude>META-INF/*.DSA</exclude>
193 <exclude>META-INF/*.RSA</exclude>
194 <exclude>org.opendaylight.netconf.test.tool.client</exclude>
200 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
201 <mainClass>org.opendaylight.netconf.test.tool.Main</mainClass>
204 <shadedArtifactAttached>true</shadedArtifactAttached>
205 <shadedClassifierName>executable</shadedClassifierName>
210 <id>stress-client</id>
214 <phase>package</phase>
216 <shadedArtifactId>stress-client</shadedArtifactId>
219 <artifact>*:*</artifact>
221 <exclude>META-INF/*.SF</exclude>
222 <exclude>META-INF/*.DSA</exclude>
223 <exclude>META-INF/*.RSA</exclude>
224 <exclude>org.opendaylight.netconf.test.tool.client.http</exclude>
225 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
226 <exclude>AcceptingAuthProvider</exclude>
227 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
228 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
229 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
230 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
236 <exclude>org.bouncycastle:*</exclude>
241 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
243 <Main-Class>org.opendaylight.netconf.test.tool.client.stress.StressClient</Main-Class>
244 <Class-Path>. lib lib/bcprov-jdk18on.jar lib/bcpkix-jdk18on.jar</Class-Path>
248 <shadedArtifactAttached>true</shadedArtifactAttached>
249 <shadedClassifierName>stress-client</shadedClassifierName>
254 <id>restconf-perf-client</id>
258 <phase>package</phase>
260 <shadedArtifactId>rest-perf-client</shadedArtifactId>
263 <artifact>*:*</artifact>
265 <exclude>META-INF/*.SF</exclude>
266 <exclude>META-INF/*.DSA</exclude>
267 <exclude>META-INF/*.RSA</exclude>
268 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
269 <exclude>AcceptingAuthProvider</exclude>
270 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
271 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
272 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
273 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
279 <exclude>org.bouncycastle:*</exclude>
280 <exclude>com.google:*</exclude>
281 <exclude>org.opendaylight.yangtools</exclude>
282 <exclude>org.opendaylight.yang</exclude>
287 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
288 <mainClass>org.opendaylight.netconf.test.tool.client.http.perf.RestPerfClient</mainClass>
291 <shadedArtifactAttached>true</shadedArtifactAttached>
292 <shadedClassifierName>rest-perf-client</shadedClassifierName>
301 <phase>package</phase>
303 <shadedArtifactId>scale-util</shadedArtifactId>
306 <artifact>*:*</artifact>
308 <exclude>META-INF/*.SF</exclude>
309 <exclude>META-INF/*.DSA</exclude>
310 <exclude>META-INF/*.RSA</exclude>
316 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
318 <Main-Class>org.opendaylight.netconf.test.tool.ScaleUtil</Main-Class>
319 <Class-Path>. lib lib/bcprov-jdk18on.jar lib/bcpkix-jdk18on.jar</Class-Path>
323 <shadedArtifactAttached>true</shadedArtifactAttached>
324 <shadedClassifierName>scale-util</shadedClassifierName>
330 <artifactId>maven-assembly-plugin</artifactId>
333 <descriptor>src/main/assembly/stress-client.xml</descriptor>
335 <finalName>stress-client-${project.version}-package</finalName>
339 <id>make-assembly</id>
340 <phase>package</phase>
348 <artifactId>maven-surefire-plugin</artifactId>
350 <reportFormat>plain</reportFormat>