BUG 2920: Extend and simplify netconf connector topology model.
[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-tcp</artifactId>
120     </dependency>
121     <dependency>
122       <groupId>${project.groupId}</groupId>
123       <artifactId>netconf-ssh</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.bouncycastle</groupId>
127       <artifactId>bcpkix-jdk15on</artifactId>
128     </dependency>
129     <dependency>
130       <groupId>org.bouncycastle</groupId>
131       <artifactId>bcprov-jdk15on</artifactId>
132     </dependency>
133
134     <dependency>
135       <groupId>${project.groupId}</groupId>
136       <artifactId>netconf-connector-config</artifactId>
137       <version>${netconf.version}</version>
138       <type>xml</type>
139       <classifier>config</classifier>
140     </dependency>
141
142     <!--
143       Optional TODO: Remove TODO comments.
144     -->
145     <!-- test to validate features.xml -->
146    <!--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)-->
147     <dependency>
148       <groupId>org.opendaylight.odlparent</groupId>
149       <artifactId>features-test</artifactId>
150       <scope>test</scope>
151     </dependency>
152     <!-- dependency for opendaylight-karaf-empty for use by testing -->
153     <dependency>
154       <groupId>org.opendaylight.controller</groupId>
155       <artifactId>opendaylight-karaf-empty</artifactId>
156       <version>${commons.opendaylight.version}</version>
157       <scope>test</scope>
158       <type>zip</type>
159     </dependency>
160     <!-- 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;
161     <dependency>
162       <groupId>org.slf4j</groupId>
163       <artifactId>slf4j-simple</artifactId>
164       <version>1.7.2</version>
165     </dependency>
166     -->
167
168    </dependencies>
169    <build>
170       <resources>
171          <resource>
172             <directory>src/main/resources</directory>
173             <filtering>true</filtering>
174          </resource>
175       </resources>
176       <plugins>
177          <plugin>
178             <groupId>org.apache.maven.plugins</groupId>
179             <artifactId>maven-resources-plugin</artifactId>
180             <executions>
181                <execution>
182                   <id>filter</id>
183                   <phase>generate-resources</phase>
184                   <goals>
185                      <goal>resources</goal>
186                   </goals>
187                </execution>
188             </executions>
189          </plugin>
190          <plugin>
191             <groupId>org.codehaus.mojo</groupId>
192             <artifactId>build-helper-maven-plugin</artifactId>
193             <executions>
194                <execution>
195                   <id>attach-artifacts</id>
196                   <phase>package</phase>
197                   <goals>
198                      <goal>attach-artifact</goal>
199                   </goals>
200                   <configuration>
201                      <artifacts>
202                         <artifact>
203                            <file>${project.build.directory}/classes/${features.file}</file>
204                            <type>xml</type>
205                            <classifier>features</classifier>
206                         </artifact>
207                      </artifacts>
208                   </configuration>
209                </execution>
210             </executions>
211          </plugin>
212          <plugin>
213             <groupId>org.apache.maven.plugins</groupId>
214             <artifactId>maven-surefire-plugin</artifactId>
215             <configuration>
216               <systemPropertyVariables>
217                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
218                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
219                 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
220               </systemPropertyVariables>
221               <dependenciesToScan>
222                <dependency>org.opendaylight.odlparent:features-test</dependency>
223               </dependenciesToScan>
224             </configuration>
225           </plugin>
226       </plugins>
227    </build>
228    <scm>
229       <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
230       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
231       <tag>HEAD</tag>
232       <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
233    </scm>
234 </project>