Clustered topology module
[netconf.git] / 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.netconf</groupId>
12         <artifactId>netconf-features-parent</artifactId>
13         <version>1.0.0-SNAPSHOT</version>
14         <relativePath>..</relativePath>
15     </parent>
16     <!-- FIXME: Convert to features-parent -->
17    <artifactId>features-netconf-connector</artifactId>
18
19    <packaging>jar</packaging>
20    <properties>
21       <features.file>features.xml</features.file>
22       <netconf.connector.version>1.3.0-SNAPSHOT</netconf.connector.version>
23    </properties>
24
25    <dependencyManagement>
26     <dependencies>
27       <dependency>
28         <groupId>org.opendaylight.netconf</groupId>
29         <artifactId>netconf-artifacts</artifactId>
30         <version>1.0.0-SNAPSHOT</version>
31         <type>pom</type>
32         <scope>import</scope>
33       </dependency>
34     </dependencies>
35    </dependencyManagement>
36
37    <dependencies>
38     <dependency>
39       <groupId>org.opendaylight.yangtools</groupId>
40       <artifactId>features-yangtools</artifactId>
41       <version>${yangtools.version}</version>
42       <classifier>features</classifier>
43       <type>xml</type>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.mdsal</groupId>
47       <artifactId>features-mdsal</artifactId>
48       <version>${mdsal.version}</version>
49       <classifier>features</classifier>
50       <type>xml</type>
51       <scope>runtime</scope>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.mdsal.model</groupId>
55       <artifactId>features-mdsal-model</artifactId>
56       <version>${mdsal.model.version}</version>
57       <classifier>features</classifier>
58       <type>xml</type>
59       <scope>runtime</scope>
60     </dependency>
61     <dependency>
62       <groupId>org.opendaylight.controller</groupId>
63       <artifactId>features-mdsal</artifactId>
64       <version>${controller.mdsal.version}</version>
65       <classifier>features</classifier>
66       <type>xml</type>
67     </dependency>
68     <dependency>
69       <groupId>${project.groupId}</groupId>
70       <artifactId>features-netconf</artifactId>
71       <classifier>features</classifier>
72       <type>xml</type>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.aaa</groupId>
76       <artifactId>features-aaa</artifactId>
77       <version>${aaa.version}</version>
78       <classifier>features</classifier>
79       <type>xml</type>
80     </dependency>
81     <dependency>
82       <groupId>${project.groupId}</groupId>
83       <artifactId>sal-netconf-connector</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.netconf</groupId>
87       <artifactId>messagebus-netconf</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.netconf</groupId>
91       <artifactId>messagebus-netconf</artifactId>
92       <type>xml</type>
93       <classifier>config</classifier>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.controller.model</groupId>
97       <artifactId>model-inventory</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>${project.groupId}</groupId>
101       <artifactId>netconf-config-dispatcher</artifactId>
102     </dependency>
103     <dependency>
104       <groupId>${project.groupId}</groupId>
105       <artifactId>netconf-connector-config</artifactId>
106     </dependency>
107     <dependency>
108        <groupId>${project.groupId}</groupId>
109        <artifactId>netconf-topology</artifactId>
110     </dependency>
111     <dependency>
112        <groupId>${project.groupId}</groupId>
113        <artifactId>netconf-topology-config</artifactId>
114        <classifier>config</classifier>
115        <type>xml</type>
116     </dependency>
117     <dependency>
118        <groupId>${project.groupId}</groupId>
119        <artifactId>netconf-topology-config</artifactId>
120        <classifier>clustered-config</classifier>
121        <type>xml</type>
122     </dependency>
123     <dependency>
124       <groupId>${project.groupId}</groupId>
125       <artifactId>netconf-tcp</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>${project.groupId}</groupId>
129       <artifactId>netconf-ssh</artifactId>
130     </dependency>
131     <dependency>
132       <groupId>org.bouncycastle</groupId>
133       <artifactId>bcpkix-jdk15on</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>org.bouncycastle</groupId>
137       <artifactId>bcprov-jdk15on</artifactId>
138     </dependency>
139
140     <dependency>
141       <groupId>${project.groupId}</groupId>
142       <artifactId>netconf-connector-config</artifactId>
143       <version>${netconf.version}</version>
144       <type>xml</type>
145       <classifier>config</classifier>
146     </dependency>
147
148     <!--
149       Optional TODO: Remove TODO comments.
150     -->
151     <!-- test to validate features.xml -->
152    <!--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)-->
153     <dependency>
154       <groupId>org.opendaylight.odlparent</groupId>
155       <artifactId>features-test</artifactId>
156       <scope>test</scope>
157     </dependency>
158     <!-- dependency for opendaylight-karaf-empty for use by testing -->
159     <dependency>
160       <groupId>org.opendaylight.controller</groupId>
161       <artifactId>opendaylight-karaf-empty</artifactId>
162       <version>${commons.opendaylight.version}</version>
163       <scope>test</scope>
164       <type>zip</type>
165     </dependency>
166     <!-- 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;
167     <dependency>
168       <groupId>org.slf4j</groupId>
169       <artifactId>slf4j-simple</artifactId>
170       <version>1.7.2</version>
171     </dependency>
172     -->
173
174    </dependencies>
175    <build>
176       <resources>
177          <resource>
178             <directory>src/main/resources</directory>
179             <filtering>true</filtering>
180          </resource>
181       </resources>
182       <plugins>
183          <plugin>
184             <groupId>org.apache.maven.plugins</groupId>
185             <artifactId>maven-resources-plugin</artifactId>
186             <executions>
187                <execution>
188                   <id>filter</id>
189                   <phase>generate-resources</phase>
190                   <goals>
191                      <goal>resources</goal>
192                   </goals>
193                </execution>
194             </executions>
195          </plugin>
196          <plugin>
197             <groupId>org.codehaus.mojo</groupId>
198             <artifactId>build-helper-maven-plugin</artifactId>
199             <executions>
200                <execution>
201                   <id>attach-artifacts</id>
202                   <phase>package</phase>
203                   <goals>
204                      <goal>attach-artifact</goal>
205                   </goals>
206                   <configuration>
207                      <artifacts>
208                         <artifact>
209                            <file>${project.build.directory}/classes/${features.file}</file>
210                            <type>xml</type>
211                            <classifier>features</classifier>
212                         </artifact>
213                      </artifacts>
214                   </configuration>
215                </execution>
216             </executions>
217          </plugin>
218          <plugin>
219             <groupId>org.apache.maven.plugins</groupId>
220             <artifactId>maven-surefire-plugin</artifactId>
221             <configuration>
222               <systemPropertyVariables>
223                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
224                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
225                 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
226               </systemPropertyVariables>
227               <dependenciesToScan>
228                <dependency>org.opendaylight.odlparent:features-test</dependency>
229               </dependenciesToScan>
230             </configuration>
231           </plugin>
232       </plugins>
233    </build>
234    <scm>
235       <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
236       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
237       <tag>HEAD</tag>
238       <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
239    </scm>
240 </project>