CDS: Add stress test RPC to the cars model
[controller.git] / opendaylight / netconf / features / netconf-connector / 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 --><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9    <modelVersion>4.0.0</modelVersion>
10     <parent>
11         <groupId>org.opendaylight.controller</groupId>
12         <artifactId>netconf-subsystem</artifactId>
13         <version>0.4.0-SNAPSHOT</version>
14         <relativePath>../../</relativePath>
15     </parent>
16    <artifactId>features-netconf-connector</artifactId>
17
18     <!-- Preserve mdsal version-->
19    <version>${mdsal.version}</version>
20    <packaging>jar</packaging>
21    <properties>
22       <features.file>features.xml</features.file>
23    </properties>
24    <dependencies>
25     <dependency>
26           <groupId>org.opendaylight.yangtools</groupId>
27           <artifactId>features-yangtools</artifactId>
28           <version>${yangtools.version}</version>
29           <classifier>features</classifier>
30           <type>xml</type>
31         </dependency>
32         <dependency>
33           <groupId>org.opendaylight.controller</groupId>
34           <artifactId>features-mdsal</artifactId>
35           <version>${mdsal.version}</version>
36           <classifier>features</classifier>
37           <type>xml</type>
38         </dependency>
39         <dependency>
40           <groupId>org.opendaylight.controller</groupId>
41           <artifactId>features-netconf</artifactId>
42           <classifier>features</classifier>
43           <type>xml</type>
44         </dependency>
45         <dependency>
46           <groupId>org.opendaylight.aaa</groupId>
47           <artifactId>features-aaa</artifactId>
48           <version>${aaa.version}</version>
49           <classifier>features</classifier>
50           <type>xml</type>
51         </dependency>
52     <dependency>
53       <groupId>org.opendaylight.controller</groupId>
54       <artifactId>sal-netconf-connector</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>org.opendaylight.controller.model</groupId>
58       <artifactId>model-inventory</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.controller</groupId>
62       <artifactId>netconf-config-dispatcher</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.controller</groupId>
66       <artifactId>netconf-tcp</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>org.opendaylight.controller</groupId>
70       <artifactId>netconf-ssh</artifactId>
71     </dependency>
72     <dependency>
73       <groupId>org.bouncycastle</groupId>
74       <artifactId>bcpkix-jdk15on</artifactId>
75     </dependency>
76     <dependency>
77       <groupId>org.bouncycastle</groupId>
78       <artifactId>bcprov-jdk15on</artifactId>
79     </dependency>
80
81     <dependency>
82       <groupId>org.opendaylight.controller</groupId>
83       <artifactId>netconf-connector-config</artifactId>
84       <version>${netconf.version}</version>
85       <type>xml</type>
86       <classifier>config</classifier>
87     </dependency>
88
89     <!--
90       Optional TODO: Remove TODO comments.
91     -->
92     <!-- test to validate features.xml -->
93    <!--FIXME BUG-2195 When running single feature tests for netconf connector, features including ssh proxy server always fail (this behavior does not appear when running karaf distro directly)-->
94     <dependency>
95       <groupId>org.opendaylight.odlparent</groupId>
96       <artifactId>features-test</artifactId>
97       <scope>test</scope>
98     </dependency>
99     <!-- dependency for opendaylight-karaf-empty for use by testing -->
100     <dependency>
101       <groupId>org.opendaylight.controller</groupId>
102       <artifactId>opendaylight-karaf-empty</artifactId>
103       <version>${commons.opendaylight.version}</version>
104       <type>zip</type>
105     </dependency>
106     <!-- Uncomment this if you get an error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
107     <dependency>
108       <groupId>org.slf4j</groupId>
109       <artifactId>slf4j-simple</artifactId>
110       <version>1.7.2</version>
111     </dependency>
112     -->
113
114    </dependencies>
115    <build>
116       <resources>
117          <resource>
118             <directory>src/main/resources</directory>
119             <filtering>true</filtering>
120          </resource>
121       </resources>
122       <plugins>
123          <plugin>
124             <groupId>org.apache.maven.plugins</groupId>
125             <artifactId>maven-resources-plugin</artifactId>
126             <executions>
127                <execution>
128                   <id>filter</id>
129                   <phase>generate-resources</phase>
130                   <goals>
131                      <goal>resources</goal>
132                   </goals>
133                </execution>
134             </executions>
135          </plugin>
136          <plugin>
137             <groupId>org.codehaus.mojo</groupId>
138             <artifactId>build-helper-maven-plugin</artifactId>
139             <executions>
140                <execution>
141                   <id>attach-artifacts</id>
142                   <phase>package</phase>
143                   <goals>
144                      <goal>attach-artifact</goal>
145                   </goals>
146                   <configuration>
147                      <artifacts>
148                         <artifact>
149                            <file>${project.build.directory}/classes/${features.file}</file>
150                            <type>xml</type>
151                            <classifier>features</classifier>
152                         </artifact>
153                      </artifacts>
154                   </configuration>
155                </execution>
156             </executions>
157          </plugin>
158          <plugin>
159             <groupId>org.apache.maven.plugins</groupId>
160             <artifactId>maven-surefire-plugin</artifactId>
161             <configuration>
162               <systemPropertyVariables>
163                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
164                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
165                 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
166               </systemPropertyVariables>
167               <dependenciesToScan>
168                <dependency>org.opendaylight.odlparent:features-test</dependency>
169               </dependenciesToScan>
170             </configuration>
171           </plugin>
172       </plugins>
173    </build>
174    <scm>
175       <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
176       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
177       <tag>HEAD</tag>
178       <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
179    </scm>
180 </project>