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