Cleanup RpcRoutingStrategy definition
[controller.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.controller</groupId>
12     <artifactId>sal-parent</artifactId>
13     <version>1.2.0-SNAPSHOT</version>
14     <relativePath>../../opendaylight/md-sal</relativePath>
15    </parent>
16    <!--
17     Necessary TODO: Hookup your parent pom here, else you will not get necessary versions,
18     maven repos etc.  If you run this archetype in a subdirectory of your project, it
19     will pick the pom.xml from the parent directory as the parent pom, which may or may
20     not be correct.
21   -->
22    <artifactId>features-netconf-connector</artifactId>
23    <!-- Optional TODO: Uncomment version if you are not using a parent pom.xml
24    <version>1.1.0-SNAPSHOT</version>
25    -->
26    <packaging>jar</packaging>
27    <properties>
28       <features.file>features.xml</features.file>
29    </properties>
30    <dependencies>
31     <!--
32       Necessary TODO: Put dependencies on any feature repos
33       you use in your features.xml file.
34
35       Note: they will need to be <type>xml</xml>
36       and <classifier>features</classifier>.
37       One other thing to watch for is to make sure they are
38       <scope>compile</compile>, which they should be by default,
39       but be cautious lest they be at a different scope in a parent pom.
40
41       Examples:
42         <dependency>
43           <groupId>org.opendaylight.yangtools</groupId>
44           <artifactId>features-yangtools</artifactId>
45           <version>0.7.0-SNAPSHOT</version>
46           <classifier>features</classifier>
47           <type>xml</type>
48         </dependency>
49         <dependency>
50           <groupId>org.opendaylight.controller</groupId>
51           <artifactId>features-mdsal</artifactId>
52           <version>1.2.0-SNAPSHOT</version>
53           <classifier>features</classifier>
54           <type>xml</type>
55         </dependency>
56         <dependency>
57           <groupId>org.opendaylight.openflowplugin</groupId>
58           <artifactId>features-openflowplugin</artifactId>
59           <version>0.1.0-SNAPSHOT</version>
60           <classifier>features</classifier>
61           <type>xml</type>
62         </dependency>
63     -->
64     <dependency>
65           <groupId>org.opendaylight.yangtools</groupId>
66           <artifactId>features-yangtools</artifactId>
67           <version>${yangtools.version}</version>
68           <classifier>features</classifier>
69           <type>xml</type>
70         </dependency>
71         <dependency>
72           <groupId>org.opendaylight.controller</groupId>
73           <artifactId>features-mdsal</artifactId>
74           <version>${mdsal.version}</version>
75           <classifier>features</classifier>
76           <type>xml</type>
77         </dependency>
78         <dependency>
79           <groupId>org.opendaylight.controller</groupId>
80           <artifactId>features-netconf</artifactId>
81           <version>${netconf.version}</version>
82           <classifier>features</classifier>
83           <type>xml</type>
84         </dependency>
85         <dependency>
86           <groupId>org.opendaylight.aaa</groupId>
87           <artifactId>features-aaa</artifactId>
88           <version>${aaa.version}</version>
89           <classifier>features</classifier>
90           <type>xml</type>
91         </dependency>
92
93     <!--
94       Necessary TODO: Put dependencies for bundles directly referenced
95       in your features.xml file.  For every <bundle> reference in your
96       features.xml file, you need a corresponding dependency here.
97
98       Examples:
99       <dependency>
100         <groupId>org.opendaylight.controller</groupId>
101         <artifactId>controller-provider</artifactId>
102         <version>${project.version}</version>
103       </dependency>
104       <dependency>
105         <groupId>org.opendaylight.controller</groupId>
106         <artifactId>controller-model</artifactId>
107         <version>${project.version}</version>
108       </dependency>
109     -->
110     <dependency>
111       <groupId>org.opendaylight.controller</groupId>
112       <artifactId>sal-netconf-connector</artifactId>
113     </dependency>
114     <dependency>
115       <groupId>org.opendaylight.controller.model</groupId>
116       <artifactId>model-inventory</artifactId>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.controller</groupId>
120       <artifactId>netconf-config-dispatcher</artifactId>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.controller</groupId>
124       <artifactId>netconf-tcp</artifactId>
125     </dependency>
126     <dependency>
127       <groupId>org.opendaylight.controller</groupId>
128       <artifactId>netconf-ssh</artifactId>
129     </dependency>
130     <dependency>
131       <groupId>org.bouncycastle</groupId>
132       <artifactId>bcpkix-jdk15on</artifactId>
133     </dependency>
134     <dependency>
135       <groupId>org.bouncycastle</groupId>
136       <artifactId>bcprov-jdk15on</artifactId>
137     </dependency>
138     <dependency>
139       <groupId>org.opendaylight.controller</groupId>
140       <artifactId>netconf-connector-config</artifactId>
141       <version>${netconf.version}</version>
142       <type>xml</type>
143       <classifier>config</classifier>
144     </dependency>
145
146     <!--
147       Necessary TODO: Put dependencies for configfiles directly referenced
148       in your features.xml file.  For every <configfile> reference in your
149       features.xml file, you need a corresponding dependency here.
150
151       Example (presuming here version is coming from the parent pom):
152       <dependency>
153         <groupId>org.opendaylight.controller</groupId>
154         <artifactId>controller-config</artifactId>
155         <version>${project.version}</version>
156         <type>xml</type>
157         <classifier>config</classifier>
158       </dependency>
159     -->
160
161     <!--
162       Optional TODO: Remove TODO comments.
163     -->
164     <!-- test to validate features.xml -->
165     <dependency>
166       <groupId>org.opendaylight.yangtools</groupId>
167       <artifactId>features-test</artifactId>
168       <version>${yangtools.version}</version>
169       <scope>test</scope>
170     </dependency>
171     <!-- dependency for opendaylight-karaf-empty for use by testing -->
172     <dependency>
173       <groupId>org.opendaylight.controller</groupId>
174       <artifactId>opendaylight-karaf-empty</artifactId>
175       <version>${commons.opendaylight.version}</version>
176       <type>zip</type>
177     </dependency>
178     <!-- 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;
179     <dependency>
180       <groupId>org.slf4j</groupId>
181       <artifactId>slf4j-simple</artifactId>
182       <version>1.7.2</version>
183     </dependency>
184     -->
185
186    </dependencies>
187    <build>
188       <resources>
189          <resource>
190             <directory>src/main/resources</directory>
191             <filtering>true</filtering>
192          </resource>
193       </resources>
194       <plugins>
195          <plugin>
196             <groupId>org.apache.maven.plugins</groupId>
197             <artifactId>maven-resources-plugin</artifactId>
198             <executions>
199                <execution>
200                   <id>filter</id>
201                   <phase>generate-resources</phase>
202                   <goals>
203                      <goal>resources</goal>
204                   </goals>
205                </execution>
206             </executions>
207          </plugin>
208          <plugin>
209             <groupId>org.codehaus.mojo</groupId>
210             <artifactId>build-helper-maven-plugin</artifactId>
211             <executions>
212                <execution>
213                   <id>attach-artifacts</id>
214                   <phase>package</phase>
215                   <goals>
216                      <goal>attach-artifact</goal>
217                   </goals>
218                   <configuration>
219                      <artifacts>
220                         <artifact>
221                            <file>${project.build.directory}/classes/${features.file}</file>
222                            <type>xml</type>
223                            <classifier>features</classifier>
224                         </artifact>
225                      </artifacts>
226                   </configuration>
227                </execution>
228             </executions>
229          </plugin>
230          <plugin>
231             <groupId>org.apache.maven.plugins</groupId>
232             <artifactId>maven-surefire-plugin</artifactId>
233             <configuration>
234               <systemPropertyVariables>
235                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
236                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
237                 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
238               </systemPropertyVariables>
239               <dependenciesToScan>
240                <dependency>org.opendaylight.yangtools:features-test</dependency>
241               </dependenciesToScan>
242             </configuration>
243           </plugin>
244       </plugins>
245    </build>
246    <scm>
247       <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
248       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
249       <tag>HEAD</tag>
250       <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>
251    </scm>
252 </project>