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>3.0.5-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>
38 <version>0.9.0</version>
41 <groupId>ch.qos.logback</groupId>
42 <artifactId>logback-classic</artifactId>
43 <scope>compile</scope>
46 <groupId>org.bouncycastle</groupId>
47 <artifactId>bcpkix-jdk18on</artifactId>
50 <groupId>org.bouncycastle</groupId>
51 <artifactId>bcprov-jdk18on</artifactId>
54 <groupId>${project.groupId}</groupId>
55 <artifactId>netconf-netty-util</artifactId>
58 <groupId>${project.groupId}</groupId>
59 <artifactId>netconf-auth</artifactId>
62 <groupId>${project.groupId}</groupId>
63 <artifactId>sal-netconf-connector</artifactId>
66 <groupId>org.opendaylight.yangtools</groupId>
67 <artifactId>mockito-configuration</artifactId>
70 <groupId>org.slf4j</groupId>
71 <artifactId>slf4j-api</artifactId>
74 <groupId>com.google.guava</groupId>
75 <artifactId>guava</artifactId>
78 <groupId>${project.groupId}</groupId>
79 <artifactId>netconf-api</artifactId>
82 <groupId>${project.groupId}</groupId>
83 <artifactId>ietf-netconf-monitoring</artifactId>
86 <groupId>${project.groupId}</groupId>
87 <artifactId>ietf-netconf-monitoring-extension</artifactId>
90 <groupId>${project.groupId}</groupId>
91 <artifactId>netconf-client</artifactId>
94 <groupId>com.guicedee.services</groupId>
95 <artifactId>javax.inject</artifactId>
96 <optional>true</optional>
99 <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
100 <artifactId>rfc6991</artifactId>
103 <groupId>${project.groupId}</groupId>
104 <artifactId>netconf-impl</artifactId>
107 <groupId>${project.groupId}</groupId>
108 <artifactId>netconf-mapping-api</artifactId>
111 <groupId>org.opendaylight.netconf</groupId>
112 <artifactId>mdsal-netconf-monitoring</artifactId>
115 <groupId>org.opendaylight.mdsal</groupId>
116 <artifactId>mdsal-dom-broker</artifactId>
119 <groupId>org.opendaylight.mdsal</groupId>
120 <artifactId>mdsal-dom-inmemory-datastore</artifactId>
123 <groupId>org.opendaylight.netconf</groupId>
124 <artifactId>mdsal-netconf-connector</artifactId>
127 <groupId>${project.groupId}</groupId>
128 <artifactId>mdsal-netconf-ssh</artifactId>
131 <groupId>org.apache.karaf.features</groupId>
132 <artifactId>org.apache.karaf.features.core</artifactId>
133 <version>${karaf.version}</version>
136 <groupId>org.xmlunit</groupId>
137 <artifactId>xmlunit-core</artifactId>
140 <groupId>org.xmlunit</groupId>
141 <artifactId>xmlunit-assertj</artifactId>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-dependency-plugin</artifactId>
152 <id>stress-client dependency copy</id>
159 <groupId>org.bouncycastle</groupId>
160 <artifactId>bcpkix-jdk18on</artifactId>
161 <outputDirectory>${project.build.directory}/lib</outputDirectory>
162 <overWrite>true</overWrite>
163 <destFileName>bcpkix-jdk18on.jar</destFileName>
166 <groupId>org.bouncycastle</groupId>
167 <artifactId>bcprov-jdk18on</artifactId>
168 <outputDirectory>${project.build.directory}/lib</outputDirectory>
169 <overWrite>true</overWrite>
170 <destFileName>bcprov-jdk18on.jar</destFileName>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-shade-plugin</artifactId>
180 <configuration></configuration>
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>