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