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>5.0.1-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>org.opendaylight.netconf</groupId>
62 <artifactId>netconf-topology</artifactId>
65 <groupId>${project.groupId}</groupId>
66 <artifactId>sal-netconf-connector</artifactId>
69 <groupId>org.opendaylight.yangtools</groupId>
70 <artifactId>mockito-configuration</artifactId>
73 <groupId>org.slf4j</groupId>
74 <artifactId>slf4j-api</artifactId>
77 <groupId>com.google.guava</groupId>
78 <artifactId>guava</artifactId>
81 <groupId>${project.groupId}</groupId>
82 <artifactId>netconf-api</artifactId>
85 <groupId>org.opendaylight.netconf.model</groupId>
86 <artifactId>rfc6022</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>
179 <createDependencyReducedPom>false</createDependencyReducedPom>
186 <phase>package</phase>
188 <!-- TODO investigate why jar fails without this filter-->
191 <artifact>*:*</artifact>
193 <exclude>META-INF/*.SF</exclude>
194 <exclude>META-INF/*.DSA</exclude>
195 <exclude>META-INF/*.RSA</exclude>
196 <exclude>org.opendaylight.netconf.test.tool.client</exclude>
202 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
203 <mainClass>org.opendaylight.netconf.test.tool.Main</mainClass>
206 <shadedArtifactAttached>true</shadedArtifactAttached>
207 <shadedClassifierName>executable</shadedClassifierName>
212 <id>stress-client</id>
216 <phase>package</phase>
218 <shadedArtifactId>stress-client</shadedArtifactId>
221 <artifact>*:*</artifact>
223 <exclude>META-INF/*.SF</exclude>
224 <exclude>META-INF/*.DSA</exclude>
225 <exclude>META-INF/*.RSA</exclude>
226 <exclude>org.opendaylight.netconf.test.tool.client.http</exclude>
227 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
228 <exclude>AcceptingAuthProvider</exclude>
229 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
230 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
231 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
232 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
238 <exclude>org.bouncycastle:*</exclude>
243 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
245 <Main-Class>org.opendaylight.netconf.test.tool.client.stress.StressClient</Main-Class>
246 <Class-Path>. lib lib/bcprov-jdk18on.jar lib/bcpkix-jdk18on.jar</Class-Path>
250 <shadedArtifactAttached>true</shadedArtifactAttached>
251 <shadedClassifierName>stress-client</shadedClassifierName>
256 <id>restconf-perf-client</id>
260 <phase>package</phase>
262 <shadedArtifactId>rest-perf-client</shadedArtifactId>
265 <artifact>*:*</artifact>
267 <exclude>META-INF/*.SF</exclude>
268 <exclude>META-INF/*.DSA</exclude>
269 <exclude>META-INF/*.RSA</exclude>
270 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
271 <exclude>AcceptingAuthProvider</exclude>
272 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
273 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
274 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
275 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
281 <exclude>org.bouncycastle:*</exclude>
282 <exclude>com.google:*</exclude>
283 <exclude>org.opendaylight.yangtools</exclude>
284 <exclude>org.opendaylight.yang</exclude>
289 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
290 <mainClass>org.opendaylight.netconf.test.tool.client.http.perf.RestPerfClient</mainClass>
293 <shadedArtifactAttached>true</shadedArtifactAttached>
294 <shadedClassifierName>rest-perf-client</shadedClassifierName>
303 <phase>package</phase>
305 <shadedArtifactId>scale-util</shadedArtifactId>
308 <artifact>*:*</artifact>
310 <exclude>META-INF/*.SF</exclude>
311 <exclude>META-INF/*.DSA</exclude>
312 <exclude>META-INF/*.RSA</exclude>
318 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
320 <Main-Class>org.opendaylight.netconf.test.tool.ScaleUtil</Main-Class>
321 <Class-Path>. lib lib/bcprov-jdk18on.jar lib/bcpkix-jdk18on.jar</Class-Path>
325 <shadedArtifactAttached>true</shadedArtifactAttached>
326 <shadedClassifierName>scale-util</shadedClassifierName>
332 <artifactId>maven-assembly-plugin</artifactId>
335 <descriptor>src/main/assembly/stress-client.xml</descriptor>
337 <finalName>stress-client-${project.version}-package</finalName>
341 <id>make-assembly</id>
342 <phase>package</phase>
350 <artifactId>maven-surefire-plugin</artifactId>
352 <reportFormat>plain</reportFormat>