Add AuthHandler to stresstool
[controller.git] / opendaylight / netconf / netconf-testtool / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4   ~
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
8   -->
9
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>
13
14     <parent>
15         <groupId>org.opendaylight.controller</groupId>
16         <artifactId>netconf-subsystem</artifactId>
17         <version>0.4.0-SNAPSHOT</version>
18     </parent>
19
20     <artifactId>netconf-testtool</artifactId>
21     <name>${project.artifactId}</name>
22
23     <dependencies>
24         <dependency>
25             <groupId>net.sourceforge.argparse4j</groupId>
26             <artifactId>argparse4j</artifactId>
27             <version>0.4.3</version>
28         </dependency>
29         <dependency>
30             <groupId>ch.qos.logback</groupId>
31             <artifactId>logback-classic</artifactId>
32             <scope>compile</scope>
33         </dependency>
34         <dependency>
35             <groupId>org.bouncycastle</groupId>
36             <artifactId>bcpkix-jdk15on</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.bouncycastle</groupId>
40             <artifactId>bcprov-jdk15on</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>${project.groupId}</groupId>
44             <artifactId>netconf-netty-util</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>${project.groupId}</groupId>
48             <artifactId>netconf-auth</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>commons.logback_settings</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.controller</groupId>
56             <artifactId>config-netconf-connector</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.controller</groupId>
60             <artifactId>netconf-connector-config</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.controller</groupId>
64             <artifactId>sal-netconf-connector</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.controller</groupId>
68             <artifactId>logback-config</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>org.opendaylight.yangtools</groupId>
72             <artifactId>mockito-configuration</artifactId>
73         </dependency>
74         <dependency>
75             <groupId>org.slf4j</groupId>
76             <artifactId>slf4j-api</artifactId>
77         </dependency>
78         <dependency>
79             <groupId>xmlunit</groupId>
80             <artifactId>xmlunit</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>com.google.guava</groupId>
84             <artifactId>guava</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>${project.groupId}</groupId>
88             <artifactId>config-util</artifactId>
89         </dependency>
90         <dependency>
91             <groupId>${project.groupId}</groupId>
92             <artifactId>netconf-api</artifactId>
93         </dependency>
94         <dependency>
95             <groupId>org.opendaylight.controller</groupId>
96             <artifactId>ietf-netconf-monitoring</artifactId>
97         </dependency>
98         <dependency>
99             <groupId>org.opendaylight.controller</groupId>
100             <artifactId>ietf-netconf-monitoring-extension</artifactId>
101         </dependency>
102         <dependency>
103             <groupId>${project.groupId}</groupId>
104             <artifactId>netconf-client</artifactId>
105         </dependency>
106         <dependency>
107             <groupId>org.opendaylight.yangtools.model</groupId>
108             <artifactId>ietf-yang-types</artifactId>
109         </dependency>
110         <dependency>
111             <groupId>org.opendaylight.yangtools.model</groupId>
112             <artifactId>ietf-inet-types</artifactId>
113         </dependency>
114         <dependency>
115             <groupId>${project.groupId}</groupId>
116             <artifactId>netconf-impl</artifactId>
117         </dependency>
118         <dependency>
119             <groupId>${project.groupId}</groupId>
120             <artifactId>netconf-mapping-api</artifactId>
121         </dependency>
122         <dependency>
123             <groupId>${project.groupId}</groupId>
124             <artifactId>netconf-monitoring</artifactId>
125         </dependency>
126         <dependency>
127             <groupId>${project.groupId}</groupId>
128             <artifactId>netconf-ssh</artifactId>
129         </dependency>
130         <dependency>
131             <groupId>${project.groupId}</groupId>
132             <artifactId>netty-config-api</artifactId>
133         </dependency>
134
135     </dependencies>
136
137     <build>
138         <plugins>
139             <plugin>
140                 <groupId>org.apache.maven.plugins</groupId>
141                 <artifactId>maven-dependency-plugin</artifactId>
142                 <executions>
143                     <execution>
144                         <id>stress-client dependency copy</id>
145                         <goals>
146                             <goal>copy</goal>
147                         </goals>
148                         <configuration>
149                             <artifactItems>
150                                 <artifactItem>
151                                     <groupId>org.bouncycastle</groupId>
152                                     <artifactId>bcpkix-jdk15on</artifactId>
153                                     <outputDirectory>${project.build.directory}/lib</outputDirectory>
154                                     <overWrite>true</overWrite>
155                                     <destFileName>bcpkix-jdk15on.jar</destFileName>
156                                 </artifactItem>
157                                 <artifactItem>
158                                     <groupId>org.bouncycastle</groupId>
159                                     <artifactId>bcprov-jdk15on</artifactId>
160                                     <outputDirectory>${project.build.directory}/lib</outputDirectory>
161                                     <overWrite>true</overWrite>
162                                     <destFileName>bcprov-jdk15on.jar</destFileName>
163                                 </artifactItem>
164                             </artifactItems>
165                         </configuration>
166                     </execution>
167                 </executions>
168             </plugin>
169             <plugin>
170                 <groupId>org.apache.maven.plugins</groupId>
171                 <artifactId>maven-shade-plugin</artifactId>
172                 <configuration></configuration>
173                 <executions>
174                     <execution>
175                         <goals>
176                             <goal>shade</goal>
177                         </goals>
178                         <phase>package</phase>
179                         <configuration>
180                             <!-- TODO investigate why jar fails without this filter-->
181                             <filters>
182                                 <filter>
183                                     <artifact>*:*</artifact>
184                                     <excludes>
185                                         <exclude>META-INF/*.SF</exclude>
186                                         <exclude>META-INF/*.DSA</exclude>
187                                         <exclude>META-INF/*.RSA</exclude>
188                                     </excludes>
189                                 </filter>
190                             </filters>
191                             <transformers>
192                                 <transformer
193                                         implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
194                                     <mainClass>org.opendaylight.controller.netconf.test.tool.Main</mainClass>
195                                 </transformer>
196                             </transformers>
197                             <shadedArtifactAttached>true</shadedArtifactAttached>
198                             <shadedClassifierName>executable</shadedClassifierName>
199                         </configuration>
200                     </execution>
201
202                     <execution>
203                         <id>stress-client</id>
204                         <goals>
205                             <goal>shade</goal>
206                         </goals>
207                         <phase>package</phase>
208                         <configuration>
209                             <shadedArtifactId>stress-client</shadedArtifactId>
210                             <filters>
211                                 <filter>
212                                     <artifact>*:*</artifact>
213                                     <excludes>
214                                         <exclude>META-INF/*.SF</exclude>
215                                         <exclude>META-INF/*.DSA</exclude>
216                                         <exclude>META-INF/*.RSA</exclude>
217                                     </excludes>
218                                 </filter>
219                             </filters>
220                             <artifactSet>
221                                 <excludes>
222                                     <exclude>org.bouncycastle:*</exclude>
223                                 </excludes>
224                             </artifactSet>
225                             <transformers>
226                                 <transformer
227                                         implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
228                                     <manifestEntries>
229                                         <Main-Class>org.opendaylight.controller.netconf.test.tool.client.stress.StressClient</Main-Class>
230                                         <Class-Path>. lib lib/bcprov-jdk15on.jar lib/bcpkix-jdk15on.jar</Class-Path>
231                                     </manifestEntries>
232                                 </transformer>
233                             </transformers>
234                             <shadedArtifactAttached>true</shadedArtifactAttached>
235                             <shadedClassifierName>executable</shadedClassifierName>
236                         </configuration>
237                     </execution>
238                 </executions>
239             </plugin>
240         </plugins>
241     </build>
242
243 </project>