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.odlparent</groupId>
16 <artifactId>odlparent</artifactId>
17 <version>2.0.5</version>
21 <groupId>org.opendaylight.netconf</groupId>
22 <artifactId>netconf-testtool</artifactId>
23 <name>${project.artifactId}</name>
24 <version>1.3.1</version>
25 <packaging>jar</packaging>
28 <sonar.skip>true</sonar.skip>
31 <dependencyManagement>
34 <groupId>org.opendaylight.netconf</groupId>
35 <artifactId>netconf-artifacts</artifactId>
36 <version>${project.version}</version>
41 <groupId>org.opendaylight.yangtools</groupId>
42 <artifactId>yangtools-artifacts</artifactId>
43 <version>1.2.1</version>
48 <groupId>org.opendaylight.controller</groupId>
49 <artifactId>config-artifacts</artifactId>
50 <version>0.7.1</version>
55 <groupId>org.opendaylight.controller</groupId>
56 <artifactId>mdsal-artifacts</artifactId>
57 <version>1.6.1</version>
62 <groupId>org.opendaylight.mdsal.model</groupId>
63 <artifactId>mdsal-model-artifacts</artifactId>
64 <version>0.11.1</version>
69 </dependencyManagement>
73 <groupId>org.codehaus.janino</groupId>
74 <artifactId>janino</artifactId>
75 <version>2.6.1</version>
78 <groupId>net.sourceforge.argparse4j</groupId>
79 <artifactId>argparse4j</artifactId>
80 <version>0.4.3</version>
83 <groupId>ch.qos.logback</groupId>
84 <artifactId>logback-classic</artifactId>
85 <scope>compile</scope>
88 <groupId>com.ning</groupId>
89 <artifactId>async-http-client</artifactId>
90 <version>1.9.24</version>
93 <groupId>org.bouncycastle</groupId>
94 <artifactId>bcpkix-jdk15on</artifactId>
97 <groupId>org.bouncycastle</groupId>
98 <artifactId>bcprov-jdk15on</artifactId>
101 <groupId>${project.groupId}</groupId>
102 <artifactId>netconf-netty-util</artifactId>
105 <groupId>${project.groupId}</groupId>
106 <artifactId>netconf-auth</artifactId>
109 <groupId>${project.groupId}</groupId>
110 <artifactId>config-netconf-connector</artifactId>
113 <groupId>${project.groupId}</groupId>
114 <artifactId>sal-netconf-connector</artifactId>
117 <groupId>org.opendaylight.yangtools</groupId>
118 <artifactId>mockito-configuration</artifactId>
121 <groupId>org.slf4j</groupId>
122 <artifactId>slf4j-api</artifactId>
125 <groupId>com.google.guava</groupId>
126 <artifactId>guava</artifactId>
129 <groupId>${project.groupId}</groupId>
130 <artifactId>netconf-api</artifactId>
133 <groupId>${project.groupId}</groupId>
134 <artifactId>ietf-netconf-monitoring</artifactId>
137 <groupId>${project.groupId}</groupId>
138 <artifactId>ietf-netconf-monitoring-extension</artifactId>
141 <groupId>${project.groupId}</groupId>
142 <artifactId>netconf-client</artifactId>
145 <groupId>org.opendaylight.mdsal.model</groupId>
146 <artifactId>ietf-yang-types-20130715</artifactId>
149 <groupId>org.opendaylight.mdsal.model</groupId>
150 <artifactId>ietf-inet-types-2013-07-15</artifactId>
153 <groupId>${project.groupId}</groupId>
154 <artifactId>netconf-impl</artifactId>
157 <groupId>${project.groupId}</groupId>
158 <artifactId>netconf-mapping-api</artifactId>
161 <groupId>${project.groupId}</groupId>
162 <artifactId>netconf-monitoring</artifactId>
165 <groupId>${project.groupId}</groupId>
166 <artifactId>netconf-ssh</artifactId>
169 <groupId>org.opendaylight.controller</groupId>
170 <artifactId>netty-config-api</artifactId>
173 <groupId>org.opendaylight.controller</groupId>
174 <artifactId>sal-inmemory-datastore</artifactId>
177 <groupId>org.opendaylight.netconf</groupId>
178 <artifactId>mdsal-netconf-connector</artifactId>
181 <groupId>org.apache.karaf.features</groupId>
182 <artifactId>org.apache.karaf.features.core</artifactId>
183 <version>${karaf.version}</version>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-dependency-plugin</artifactId>
194 <id>stress-client dependency copy</id>
201 <groupId>org.bouncycastle</groupId>
202 <artifactId>bcpkix-jdk15on</artifactId>
203 <outputDirectory>${project.build.directory}/lib</outputDirectory>
204 <overWrite>true</overWrite>
205 <destFileName>bcpkix-jdk15on.jar</destFileName>
208 <groupId>org.bouncycastle</groupId>
209 <artifactId>bcprov-jdk15on</artifactId>
210 <outputDirectory>${project.build.directory}/lib</outputDirectory>
211 <overWrite>true</overWrite>
212 <destFileName>bcprov-jdk15on.jar</destFileName>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-shade-plugin</artifactId>
222 <configuration></configuration>
228 <phase>package</phase>
230 <!-- TODO investigate why jar fails without this filter-->
233 <artifact>*:*</artifact>
235 <exclude>META-INF/*.SF</exclude>
236 <exclude>META-INF/*.DSA</exclude>
237 <exclude>META-INF/*.RSA</exclude>
238 <exclude>org.opendaylight.netconf.test.tool.client</exclude>
244 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
245 <mainClass>org.opendaylight.netconf.test.tool.Main</mainClass>
248 <shadedArtifactAttached>true</shadedArtifactAttached>
249 <shadedClassifierName>executable</shadedClassifierName>
254 <id>stress-client</id>
258 <phase>package</phase>
260 <shadedArtifactId>stress-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.client.http</exclude>
269 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
270 <exclude>AcceptingAuthProvider</exclude>
271 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
272 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
273 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
274 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
280 <exclude>org.bouncycastle:*</exclude>
285 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
287 <Main-Class>org.opendaylight.netconf.test.tool.client.stress.StressClient</Main-Class>
288 <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
292 <shadedArtifactAttached>true</shadedArtifactAttached>
293 <shadedClassifierName>stress-client</shadedClassifierName>
298 <id>restconf-perf-client</id>
302 <phase>package</phase>
304 <shadedArtifactId>rest-perf-client</shadedArtifactId>
307 <artifact>*:*</artifact>
309 <exclude>META-INF/*.SF</exclude>
310 <exclude>META-INF/*.DSA</exclude>
311 <exclude>META-INF/*.RSA</exclude>
312 <exclude>org.opendaylight.netconf.test.tool.rpc</exclude>
313 <exclude>AcceptingAuthProvider</exclude>
314 <exclude>org.opendaylight.netconf.test.tool.DummyMonitoringService</exclude>
315 <exclude>org.opendaylight.netconf.test.tool.FakeCapability</exclude>
316 <exclude>org.opendaylight.netconf.test.tool.Main</exclude>
317 <exclude>org.opendaylight.netconf.test.tool.NetconfDeviceSimulator</exclude>
323 <exclude>org.bouncycastle:*</exclude>
324 <exclude>com.google:*</exclude>
325 <exclude>org.opendaylight.yangtools</exclude>
326 <exclude>org.opendaylight.yang</exclude>
331 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
332 <mainClass>org.opendaylight.netconf.test.tool.client.http.perf.RestPerfClient</mainClass>
335 <shadedArtifactAttached>true</shadedArtifactAttached>
336 <shadedClassifierName>rest-perf-client</shadedClassifierName>
345 <phase>package</phase>
347 <shadedArtifactId>scale-util</shadedArtifactId>
350 <artifact>*:*</artifact>
352 <exclude>META-INF/*.SF</exclude>
353 <exclude>META-INF/*.DSA</exclude>
354 <exclude>META-INF/*.RSA</exclude>
360 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
362 <Main-Class>org.opendaylight.netconf.test.tool.ScaleUtil</Main-Class>
363 <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
367 <shadedArtifactAttached>true</shadedArtifactAttached>
368 <shadedClassifierName>scale-util</shadedClassifierName>
374 <artifactId>maven-assembly-plugin</artifactId>
377 <descriptor>src/main/assembly/stress-client.xml</descriptor>
379 <finalName>stress-client-${project.version}-package</finalName>
383 <id>make-assembly</id>
384 <phase>package</phase>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-checkstyle-plugin</artifactId>
395 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>