c196095726314d2cd30cd6f90553c36aed30a660
[controller.git] / opendaylight / md-sal / sal-netconf-connector / pom.xml
1 <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">
2     <modelVersion>4.0.0</modelVersion>
3     <parent>
4         <groupId>org.opendaylight.controller</groupId>
5         <artifactId>sal-parent</artifactId>
6         <version>1.1-SNAPSHOT</version>
7     </parent>
8
9     <artifactId>sal-netconf-connector</artifactId>
10     <scm>
11         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
14       <tag>HEAD</tag>
15   </scm>
16
17     <dependencies>
18         <dependency>
19             <groupId>${project.groupId}</groupId>
20             <artifactId>sal-connector-api</artifactId>
21         </dependency>
22         <dependency>
23             <groupId>${project.groupId}</groupId>
24             <artifactId>sal-common-util</artifactId>
25             <version>1.1-SNAPSHOT</version>
26         </dependency>
27         <dependency>
28             <groupId>org.eclipse.xtend</groupId>
29             <artifactId>org.eclipse.xtend.lib</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.controller</groupId>
33             <artifactId>netty-threadgroup-config</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.controller</groupId>
37             <artifactId>netconf-client</artifactId>
38             <version>${netconf.version}</version>
39         </dependency>
40         <dependency>
41             <groupId>org.opendaylight.yangtools</groupId>
42             <artifactId>yang-data-impl</artifactId>
43         </dependency>
44         <dependency>
45             <groupId>org.opendaylight.controller</groupId>
46             <artifactId>sal-broker-impl</artifactId>
47             <version>1.1-SNAPSHOT</version>
48             <scope>test</scope>
49             <type>jar</type>
50         </dependency>
51         <dependency>
52             <groupId>junit</groupId>
53             <artifactId>junit</artifactId>
54             <scope>test</scope>
55         </dependency>
56         <dependency>
57             <groupId>${project.groupId}</groupId>
58             <artifactId>yang-test</artifactId>
59             <version>${netconf.version}</version>
60             <scope>test</scope>
61         </dependency>
62         <dependency>
63             <groupId>${project.groupId}</groupId>
64             <artifactId>config-api</artifactId>
65             <version>${netconf.version}</version>
66             <scope>provided</scope>
67         </dependency>
68         <dependency>
69             <groupId>${project.groupId}</groupId>
70             <artifactId>config-util</artifactId>
71             <version>${netconf.version}</version>
72             <scope>test</scope>
73         </dependency>
74         <dependency>
75             <groupId>${project.groupId}</groupId>
76             <artifactId>yang-store-api</artifactId>
77             <version>${netconf.version}</version>
78             <scope>test</scope>
79         </dependency>
80         <dependency>
81             <groupId>${project.groupId}</groupId>
82             <artifactId>netconf-client</artifactId>
83             <version>${netconf.version}</version>
84         </dependency>
85         <dependency>
86             <groupId>${project.groupId}</groupId>
87             <artifactId>config-netconf-connector</artifactId>
88             <scope>test</scope>
89             <version>${netconf.version}</version>
90         </dependency>
91         <dependency>
92             <groupId>${project.groupId}</groupId>
93             <artifactId>config-manager</artifactId>
94             <scope>test</scope>
95             <version>${netconf.version}</version>
96         </dependency>
97         <dependency>
98             <groupId>${project.groupId}</groupId>
99             <artifactId>config-persister-impl</artifactId>
100             <scope>test</scope>
101             <version>${netconf.version}</version>
102         </dependency>
103         <dependency>
104             <groupId>${project.groupId}</groupId>
105             <artifactId>config-manager</artifactId>
106             <scope>test</scope>
107             <type>test-jar</type>
108             <version>${netconf.version}</version>
109         </dependency>
110         <dependency>
111             <groupId>${project.groupId}</groupId>
112             <artifactId>netconf-impl</artifactId>
113             <scope>test</scope>
114             <version>${netconf.version}</version>
115         </dependency>
116         <dependency>
117             <groupId>${project.groupId}</groupId>
118             <artifactId>netconf-mapping-api</artifactId>
119             <scope>test</scope>
120             <version>${netconf.version}</version>
121         </dependency>
122         <dependency>
123             <groupId>${project.groupId}</groupId>
124             <artifactId>netconf-util</artifactId>
125             <scope>test</scope>
126             <type>test-jar</type>
127             <version>${netconf.version}</version>
128         </dependency>
129         <dependency>
130             <groupId>${project.groupId}</groupId>
131             <artifactId>yang-store-impl</artifactId>
132             <scope>test</scope>
133             <version>${netconf.version}</version>
134         </dependency>
135         <dependency>
136             <groupId>${project.groupId}</groupId>
137             <artifactId>yang-store-impl</artifactId>
138             <scope>test</scope>
139             <type>test-jar</type>
140             <version>${netconf.version}</version>
141         </dependency>
142         <dependency>
143             <groupId>org.opendaylight.controller</groupId>
144             <artifactId>logback-config</artifactId>
145             <scope>test</scope>
146         </dependency>
147         <dependency>
148             <groupId>org.mockito</groupId>
149             <artifactId>mockito-all</artifactId>
150             <scope>test</scope>
151         </dependency>
152         <dependency>
153             <groupId>org.slf4j</groupId>
154             <artifactId>slf4j-api</artifactId>
155         </dependency>
156         <dependency>
157             <groupId>org.opendaylight.controller</groupId>
158             <artifactId>sal-binding-broker-impl</artifactId>
159             <scope>test</scope>
160         </dependency>
161         <dependency>
162            <groupId>org.opendaylight.controller</groupId>
163            <artifactId>sal-binding-broker-impl</artifactId>
164            <type>test-jar</type>
165            <scope>test</scope>
166         </dependency>
167         <dependency>
168         <groupId>org.opendaylight.controller</groupId>
169         <artifactId>ietf-netconf-monitoring</artifactId>
170         </dependency>
171         <dependency>
172             <groupId>org.opendaylight.yangtools.model</groupId>
173             <artifactId>ietf-inet-types</artifactId>
174         </dependency>
175         <dependency>
176             <groupId>org.opendaylight.controller</groupId>
177             <artifactId>threadpool-config-api</artifactId>
178         </dependency>
179         <dependency>
180             <groupId>org.opendaylight.controller</groupId>
181             <artifactId>netty-config-api</artifactId>
182         </dependency>
183     </dependencies>
184
185     <packaging>bundle</packaging>
186
187     <build>
188         <plugins>
189             <plugin>
190                 <groupId>org.apache.felix</groupId>
191                 <artifactId>maven-bundle-plugin</artifactId>
192                 <configuration>
193                     <instructions>
194                         <Import-Package>
195                             *
196                         </Import-Package>
197                     </instructions>
198                 </configuration>
199             </plugin>
200             <plugin>
201                 <groupId>org.opendaylight.yangtools</groupId>
202                 <artifactId>yang-maven-plugin</artifactId>
203                 <version>${yangtools.version}</version>
204                 <executions>
205                     <execution>
206                         <goals>
207                             <goal>generate-sources</goal>
208                         </goals>
209                         <configuration>
210                             <codeGenerators>
211                                 <generator>
212                                     <codeGeneratorClass>
213                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
214                                     </codeGeneratorClass>
215                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
216                                     <additionalConfiguration>
217                                         <namespaceToPackage1>
218                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
219                                         </namespaceToPackage1>
220                                     </additionalConfiguration>
221                                 </generator>
222                                 <generator>
223                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
224                                     <outputBaseDir>target/site/models</outputBaseDir>
225                                 </generator>
226                             </codeGenerators>
227                             <inspectDependencies>true</inspectDependencies>
228                         </configuration>
229                     </execution>
230                 </executions>
231                 <dependencies>
232                     <dependency>
233                         <groupId>org.opendaylight.controller</groupId>
234                         <artifactId>yang-jmx-generator-plugin</artifactId>
235                         <version>${config.version}</version>
236                     </dependency>
237                     <dependency>
238                         <groupId>org.opendaylight.yangtools</groupId>
239                         <artifactId>maven-sal-api-gen-plugin</artifactId>
240                         <version>${yangtools.version}</version>
241                         <type>jar</type>
242                     </dependency>
243                 </dependencies>
244             </plugin>
245             <plugin>
246                 <groupId>org.codehaus.mojo</groupId>
247                 <artifactId>build-helper-maven-plugin</artifactId>
248                 <version>1.8</version>
249                 <executions>
250                     <execution>
251                         <id>add-source</id>
252                         <phase>generate-sources</phase>
253                         <goals>
254                             <goal>add-source</goal>
255                         </goals>
256                         <configuration>
257                             <sources>
258                                 <source>${project.build.directory}/generated-sources/config</source>
259                                 <source>src/main/xtend-gen</source>
260                             </sources>
261                         </configuration>
262                     </execution>
263                 </executions>
264             </plugin>
265
266             <plugin>
267                 <groupId>org.eclipse.xtend</groupId>
268                 <artifactId>xtend-maven-plugin</artifactId>
269             </plugin>
270         </plugins>
271     </build>
272 </project>