Remove netconf from commons/opendaylight pom
[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     <dependency>
89       <groupId>org.opendaylight.controller</groupId>
90       <artifactId>messagebus-netconf</artifactId>
91       <version>${netconf.version}</version>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.controller</groupId>
95       <artifactId>messagebus-netconf</artifactId>
96       <version>${netconf.version}</version>
97       <type>xml</type>
98       <classifier>config</classifier>
99     </dependency>
100
101     <!--
102       Optional TODO: Remove TODO comments.
103     -->
104     <!-- test to validate features.xml -->
105    <!--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)-->
106     <dependency>
107       <groupId>org.opendaylight.odlparent</groupId>
108       <artifactId>features-test</artifactId>
109       <scope>test</scope>
110     </dependency>
111     <!-- dependency for opendaylight-karaf-empty for use by testing -->
112     <dependency>
113       <groupId>org.opendaylight.controller</groupId>
114       <artifactId>opendaylight-karaf-empty</artifactId>
115       <version>${commons.opendaylight.version}</version>
116       <type>zip</type>
117     </dependency>
118     <!-- 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;
119     <dependency>
120       <groupId>org.slf4j</groupId>
121       <artifactId>slf4j-simple</artifactId>
122       <version>1.7.2</version>
123     </dependency>
124     -->
125
126    </dependencies>
127    <build>
128       <resources>
129          <resource>
130             <directory>src/main/resources</directory>
131             <filtering>true</filtering>
132          </resource>
133       </resources>
134       <plugins>
135          <plugin>
136             <groupId>org.apache.maven.plugins</groupId>
137             <artifactId>maven-resources-plugin</artifactId>
138             <executions>
139                <execution>
140                   <id>filter</id>
141                   <phase>generate-resources</phase>
142                   <goals>
143                      <goal>resources</goal>
144                   </goals>
145                </execution>
146             </executions>
147          </plugin>
148          <plugin>
149             <groupId>org.codehaus.mojo</groupId>
150             <artifactId>build-helper-maven-plugin</artifactId>
151             <executions>
152                <execution>
153                   <id>attach-artifacts</id>
154                   <phase>package</phase>
155                   <goals>
156                      <goal>attach-artifact</goal>
157                   </goals>
158                   <configuration>
159                      <artifacts>
160                         <artifact>
161                            <file>${project.build.directory}/classes/${features.file}</file>
162                            <type>xml</type>
163                            <classifier>features</classifier>
164                         </artifact>
165                      </artifacts>
166                   </configuration>
167                </execution>
168             </executions>
169          </plugin>
170          <plugin>
171             <groupId>org.apache.maven.plugins</groupId>
172             <artifactId>maven-surefire-plugin</artifactId>
173             <configuration>
174               <systemPropertyVariables>
175                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
176                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
177                 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
178               </systemPropertyVariables>
179               <dependenciesToScan>
180                <dependency>org.opendaylight.odlparent:features-test</dependency>
181               </dependenciesToScan>
182             </configuration>
183           </plugin>
184       </plugins>
185    </build>
186    <scm>
187       <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
188       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
189       <tag>HEAD</tag>
190       <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
191    </scm>
192 </project>