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