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>4.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>org.codehaus.janino</groupId>
32 <artifactId>janino</artifactId>
33 <version>3.1.4</version>
36 <groupId>net.sourceforge.argparse4j</groupId>
37 <artifactId>argparse4j</artifactId>
40 <groupId>ch.qos.logback</groupId>
41 <artifactId>logback-classic</artifactId>
42 <scope>compile</scope>
45 <groupId>org.bouncycastle</groupId>
46 <artifactId>bcpkix-jdk18on</artifactId>
49 <groupId>org.bouncycastle</groupId>
50 <artifactId>bcprov-jdk18on</artifactId>
53 <groupId>${project.groupId}</groupId>
54 <artifactId>netconf-netty-util</artifactId>
57 <groupId>${project.groupId}</groupId>
58 <artifactId>netconf-auth</artifactId>
61 <groupId>${project.groupId}</groupId>
62 <artifactId>sal-netconf-connector</artifactId>
65 <groupId>org.opendaylight.yangtools</groupId>
66 <artifactId>mockito-configuration</artifactId>
69 <groupId>org.slf4j</groupId>
70 <artifactId>slf4j-api</artifactId>
73 <groupId>com.google.guava</groupId>
74 <artifactId>guava</artifactId>
77 <groupId>${project.groupId}</groupId>
78 <artifactId>netconf-api</artifactId>
81 <groupId>${project.groupId}</groupId>
82 <artifactId>ietf-netconf-monitoring</artifactId>
85 <groupId>${project.groupId}</groupId>
86 <artifactId>ietf-netconf-monitoring-extension</artifactId>
89 <groupId>${project.groupId}</groupId>
90 <artifactId>netconf-client</artifactId>
93 <groupId>com.guicedee.services</groupId>
94 <artifactId>javax.inject</artifactId>
95 <optional>true</optional>
98 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
99 <artifactId>rfc6991</artifactId>
102 <groupId>${project.groupId}</groupId>
103 <artifactId>netconf-impl</artifactId>
106 <groupId>${project.groupId}</groupId>
107 <artifactId>netconf-mapping-api</artifactId>
110 <groupId>org.opendaylight.netconf</groupId>
111 <artifactId>mdsal-netconf-monitoring</artifactId>
114 <groupId>org.opendaylight.mdsal</groupId>
115 <artifactId>mdsal-dom-broker</artifactId>
118 <groupId>org.opendaylight.mdsal</groupId>
119 <artifactId>mdsal-dom-inmemory-datastore</artifactId>
122 <groupId>org.opendaylight.netconf</groupId>
123 <artifactId>mdsal-netconf-connector</artifactId>
126 <groupId>${project.groupId}</groupId>
127 <artifactId>mdsal-netconf-ssh</artifactId>
130 <groupId>org.apache.karaf.features</groupId>
131 <artifactId>org.apache.karaf.features.core</artifactId>
134 <groupId>org.xmlunit</groupId>
135 <artifactId>xmlunit-core</artifactId>
138 <groupId>org.xmlunit</groupId>
139 <artifactId>xmlunit-assertj</artifactId>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-dependency-plugin</artifactId>
150 <id>stress-client dependency copy</id>
157 <groupId>org.bouncycastle</groupId>
158 <artifactId>bcpkix-jdk18on</artifactId>
159 <outputDirectory>${project.build.directory}/lib</outputDirectory>
160 <overWrite>true</overWrite>
161 <destFileName>bcpkix-jdk18on.jar</destFileName>
164 <groupId>org.bouncycastle</groupId>
165 <artifactId>bcprov-jdk18on</artifactId>
166 <outputDirectory>${project.build.directory}/lib</outputDirectory>
167 <overWrite>true</overWrite>
168 <destFileName>bcprov-jdk18on.jar</destFileName>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-shade-plugin</artifactId>
178 <configuration></configuration>
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>