Merge "Fixed publishDataChangeEvent in 2phase commit"
[controller.git] / opendaylight / netconf / 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
4     <parent>
5         <groupId>org.opendaylight.controller</groupId>
6         <artifactId>commons.opendaylight</artifactId>
7         <version>1.4.2-SNAPSHOT</version>
8         <relativePath>../commons/opendaylight</relativePath>
9     </parent>
10
11     <version>0.2.4-SNAPSHOT</version>
12     <artifactId>netconf-subsystem</artifactId>
13     <packaging>pom</packaging>
14     <name>${project.artifactId}</name>
15     <prerequisites>
16         <maven>3.0.4</maven>
17     </prerequisites>
18
19
20     <modules>
21         <module>netconf-api</module>
22         <module>netconf-impl</module>
23         <module>config-netconf-connector</module>
24         <module>netconf-util</module>
25         <module>config-persister-impl</module>
26         <module>netconf-mapping-api</module>
27         <module>netconf-client</module>
28         <module>netconf-ssh</module>
29         <module>netconf-monitoring</module>
30         <module>ietf-netconf-monitoring</module>
31         <module>ietf-netconf-monitoring-extension</module>
32     </modules>
33
34     <profiles>
35         <profile>
36            <id>integrationtests</id>
37            <activation>
38                <activeByDefault>false</activeByDefault>
39            </activation>
40             <modules>
41               <module>netconf-it</module>
42             </modules>
43         </profile>
44     </profiles>
45
46     <properties>
47         <osgi.version>5.0.0</osgi.version>
48         <maven.bundle.version>2.4.0</maven.bundle.version>
49         <slf4j.version>1.7.2</slf4j.version>
50         <netconf.netty.version>4.0.10.Final</netconf.netty.version>
51         <netconf.version>0.2.4-SNAPSHOT</netconf.version>
52         <config.version>0.2.4-SNAPSHOT</config.version>
53         <salGeneratorPath>${project.build.directory}/generated-sources/sal</salGeneratorPath>
54     </properties>
55
56     <dependencies>
57         <dependency>
58             <groupId>junit</groupId>
59             <artifactId>junit</artifactId>
60             <scope>test</scope>
61         </dependency>
62         <dependency>
63             <groupId>ch.qos.logback</groupId>
64             <artifactId>logback-classic</artifactId>
65             <scope>test</scope>
66         </dependency>
67     </dependencies>
68
69     <dependencyManagement>
70         <dependencies>
71             <dependency>
72                 <groupId>org.osgi</groupId>
73                 <artifactId>org.osgi.core</artifactId>
74                 <version>${osgi.version}</version>
75             </dependency>
76             <dependency>
77                 <groupId>${project.groupId}</groupId>
78                 <artifactId>config-api</artifactId>
79                 <version>${config.version}</version>
80             </dependency>
81             <dependency>
82                 <groupId>${project.groupId}</groupId>
83                 <artifactId>config-manager</artifactId>
84                 <version>${config.version}</version>
85             </dependency>
86             <dependency>
87                 <groupId>${project.groupId}</groupId>
88                 <artifactId>config-manager</artifactId>
89                 <version>${config.version}</version>
90                 <type>test-jar</type>
91             </dependency>
92             <dependency>
93                 <groupId>${project.groupId}</groupId>
94                 <artifactId>yang-jmx-generator</artifactId>
95                 <version>${config.version}</version>
96             </dependency>
97             <dependency>
98                 <groupId>${project.groupId}</groupId>
99                 <artifactId>config-util</artifactId>
100                 <version>${config.version}</version>
101             </dependency>
102             <dependency>
103                 <groupId>${project.groupId}</groupId>
104                 <artifactId>yang-store-api</artifactId>
105                 <version>${config.version}</version>
106             </dependency>
107             <dependency>
108                 <groupId>${project.groupId}</groupId>
109                 <artifactId>yang-store-impl</artifactId>
110                 <version>${config.version}</version>
111             </dependency>
112             <dependency>
113                 <groupId>${project.groupId}</groupId>
114                 <artifactId>yang-store-impl</artifactId>
115                 <version>${config.version}</version>
116                 <type>test-jar</type>
117             </dependency>
118             <dependency>
119                 <groupId>${project.groupId}</groupId>
120                 <artifactId>yang-test</artifactId>
121                 <version>${config.version}</version>
122             </dependency>
123             <dependency>
124                 <groupId>${project.groupId}</groupId>
125                 <artifactId>netconf-api</artifactId>
126                 <version>${netconf.version}</version>
127             </dependency>
128             <dependency>
129                 <groupId>${project.groupId}</groupId>
130                 <artifactId>netconf-util</artifactId>
131                 <version>${netconf.version}</version>
132             </dependency>
133             <dependency>
134                 <groupId>${project.groupId}</groupId>
135                 <artifactId>netconf-util</artifactId>
136                 <version>${netconf.version}</version>
137                 <type>test-jar</type>
138             </dependency>
139             <dependency>
140                 <groupId>${project.groupId}</groupId>
141                 <artifactId>netconf-ssh</artifactId>
142                 <version>${netconf.version}</version>
143             </dependency>
144             <dependency>
145                 <groupId>${project.groupId}</groupId>
146                 <artifactId>netconf-ssh</artifactId>
147                 <version>${netconf.version}</version>
148                 <type>test-jar</type>
149             </dependency>
150             <dependency>
151                 <groupId>${project.groupId}</groupId>
152                 <artifactId>netconf-mapping-api</artifactId>
153                 <version>${netconf.version}</version>
154             </dependency>
155             <dependency>
156                 <groupId>${project.groupId}</groupId>
157                 <artifactId>netconf-impl</artifactId>
158                 <version>${netconf.version}</version>
159             </dependency>
160             <dependency>
161                 <groupId>${project.groupId}</groupId>
162                 <artifactId>netconf-monitoring</artifactId>
163                 <version>${netconf.version}</version>
164             </dependency>
165             <dependency>
166                 <groupId>${project.groupId}</groupId>
167                 <artifactId>ietf-netconf-monitoring</artifactId>
168                 <version>${netconf.version}</version>
169             </dependency>
170             <dependency>
171                 <groupId>org.opendaylight.controller</groupId>
172                 <artifactId>config-persister-api</artifactId>
173                 <version>${config.version}</version>
174             </dependency>
175             <dependency>
176                 <groupId>org.opendaylight.controller</groupId>
177                 <artifactId>config-persister-file-adapter</artifactId>
178                 <version>${config.version}</version>
179             </dependency>
180             <dependency>
181                 <groupId>${project.groupId}</groupId>
182                 <artifactId>netconf-client</artifactId>
183                 <version>${netconf.version}</version>
184             </dependency>
185             <dependency>
186                 <groupId>xmlunit</groupId>
187                 <artifactId>xmlunit</artifactId>
188                 <version>1.4</version>
189             </dependency>
190             <dependency>
191                 <groupId>${project.groupId}</groupId>
192                 <artifactId>config-netconf-connector</artifactId>
193                 <version>${netconf.version}</version>
194             </dependency>
195             <dependency>
196                 <groupId>${project.groupId}</groupId>
197                 <artifactId>config-persister-impl</artifactId>
198                 <version>${netconf.version}</version>
199             </dependency>
200             <dependency>
201                 <groupId>org.opendaylight.controller</groupId>
202                 <artifactId>logback-config</artifactId>
203                 <version>${config.version}</version>
204             </dependency>
205         </dependencies>
206     </dependencyManagement>
207
208
209     <build>
210         <plugins>
211             <plugin>
212                 <groupId>org.apache.maven.plugins</groupId>
213                 <artifactId>maven-compiler-plugin</artifactId>
214             </plugin>
215         </plugins>
216         <pluginManagement>
217             <plugins>
218                 <plugin>
219                     <groupId>org.apache.felix</groupId>
220                     <artifactId>maven-bundle-plugin</artifactId>
221                     <version>${maven.bundle.version}</version>
222                     <extensions>true</extensions>
223                     <configuration>
224                         <instructions>
225                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
226                         </instructions>
227                     </configuration>
228                 </plugin>
229                 <plugin>
230                     <groupId>org.opendaylight.yangtools</groupId>
231                     <artifactId>yang-maven-plugin</artifactId>
232                     <version>${yangtools.version}</version>
233                     <executions>
234                         <execution>
235                             <goals>
236                                 <goal>generate-sources</goal>
237                             </goals>
238                             <configuration>
239                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
240                                 <codeGenerators>
241                                     <generator>
242                                         <codeGeneratorClass>
243                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
244                                         </codeGeneratorClass>
245                                         <outputBaseDir>
246                                             ${salGeneratorPath}
247                                         </outputBaseDir>
248                                     </generator>
249                                     <generator>
250                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
251                                         <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
252                                     </generator>
253                                 </codeGenerators>
254                                 <inspectDependencies>true</inspectDependencies>
255                             </configuration>
256                         </execution>
257                     </executions>
258                     <dependencies>
259                         <dependency>
260                             <groupId>org.opendaylight.yangtools</groupId>
261                             <artifactId>maven-sal-api-gen-plugin</artifactId>
262                             <version>${yangtools.version}</version>
263                         </dependency>
264                     </dependencies>
265                 </plugin>
266                 <plugin>
267                     <groupId>org.codehaus.mojo</groupId>
268                     <artifactId>build-helper-maven-plugin</artifactId>
269                     <version>1.7</version>
270                     <executions>
271                         <execution>
272                             <phase>generate-sources</phase>
273                             <goals>
274                                 <goal>add-source</goal>
275                             </goals>
276                             <configuration>
277                                 <sources>
278                                     <source>${salGeneratorPath}</source>
279                                 </sources>
280                             </configuration>
281                         </execution>
282                     </executions>
283                 </plugin>
284             </plugins>
285
286         </pluginManagement>
287     </build>
288 </project>