2be64a8a9873f138ae29876a2ac1c1d1998213e4
[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.5-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         <salGeneratorPath>${project.build.directory}/generated-sources/sal</salGeneratorPath>
51     </properties>
52
53     <dependencies>
54         <dependency>
55             <groupId>junit</groupId>
56             <artifactId>junit</artifactId>
57             <scope>test</scope>
58         </dependency>
59         <dependency>
60             <groupId>ch.qos.logback</groupId>
61             <artifactId>logback-classic</artifactId>
62             <scope>test</scope>
63         </dependency>
64     </dependencies>
65
66     <dependencyManagement>
67         <dependencies>
68             <dependency>
69                 <groupId>org.osgi</groupId>
70                 <artifactId>org.osgi.core</artifactId>
71                 <version>${osgi.version}</version>
72             </dependency>
73             <dependency>
74                 <groupId>${project.groupId}</groupId>
75                 <artifactId>config-api</artifactId>
76                 <version>${config.version}</version>
77             </dependency>
78             <dependency>
79                 <groupId>${project.groupId}</groupId>
80                 <artifactId>config-manager</artifactId>
81                 <version>${config.version}</version>
82             </dependency>
83             <dependency>
84                 <groupId>${project.groupId}</groupId>
85                 <artifactId>config-manager</artifactId>
86                 <version>${config.version}</version>
87                 <type>test-jar</type>
88             </dependency>
89             <dependency>
90                 <groupId>${project.groupId}</groupId>
91                 <artifactId>yang-jmx-generator</artifactId>
92                 <version>${config.version}</version>
93             </dependency>
94             <dependency>
95                 <groupId>${project.groupId}</groupId>
96                 <artifactId>config-util</artifactId>
97                 <version>${config.version}</version>
98             </dependency>
99             <dependency>
100                 <groupId>${project.groupId}</groupId>
101                 <artifactId>yang-test</artifactId>
102                 <version>${config.version}</version>
103             </dependency>
104             <dependency>
105                 <groupId>${project.groupId}</groupId>
106                 <artifactId>netconf-api</artifactId>
107                 <version>${netconf.version}</version>
108             </dependency>
109             <dependency>
110                 <groupId>${project.groupId}</groupId>
111                 <artifactId>netconf-util</artifactId>
112                 <version>${netconf.version}</version>
113             </dependency>
114             <dependency>
115                 <groupId>${project.groupId}</groupId>
116                 <artifactId>netconf-util</artifactId>
117                 <version>${netconf.version}</version>
118                 <type>test-jar</type>
119             </dependency>
120             <dependency>
121                 <groupId>${project.groupId}</groupId>
122                 <artifactId>netconf-ssh</artifactId>
123                 <version>${netconf.version}</version>
124             </dependency>
125             <dependency>
126                 <groupId>${project.groupId}</groupId>
127                 <artifactId>netconf-ssh</artifactId>
128                 <version>${netconf.version}</version>
129                 <type>test-jar</type>
130             </dependency>
131             <dependency>
132                 <groupId>${project.groupId}</groupId>
133                 <artifactId>netconf-mapping-api</artifactId>
134                 <version>${netconf.version}</version>
135             </dependency>
136             <dependency>
137                 <groupId>${project.groupId}</groupId>
138                 <artifactId>netconf-impl</artifactId>
139                 <version>${netconf.version}</version>
140             </dependency>
141             <dependency>
142                 <groupId>${project.groupId}</groupId>
143                 <artifactId>netconf-monitoring</artifactId>
144                 <version>${netconf.version}</version>
145             </dependency>
146             <dependency>
147                 <groupId>${project.groupId}</groupId>
148                 <artifactId>ietf-netconf-monitoring</artifactId>
149                 <version>${netconf.version}</version>
150             </dependency>
151             <dependency>
152                 <groupId>org.opendaylight.controller</groupId>
153                 <artifactId>config-persister-api</artifactId>
154                 <version>${config.version}</version>
155             </dependency>
156             <dependency>
157                 <groupId>${project.groupId}</groupId>
158                 <artifactId>netconf-client</artifactId>
159                 <version>${netconf.version}</version>
160             </dependency>
161             <dependency>
162                 <groupId>xmlunit</groupId>
163                 <artifactId>xmlunit</artifactId>
164                 <version>1.4</version>
165             </dependency>
166             <dependency>
167                 <groupId>${project.groupId}</groupId>
168                 <artifactId>config-netconf-connector</artifactId>
169                 <version>${netconf.version}</version>
170             </dependency>
171             <dependency>
172                 <groupId>${project.groupId}</groupId>
173                 <artifactId>config-persister-impl</artifactId>
174                 <version>${netconf.version}</version>
175             </dependency>
176             <dependency>
177                 <groupId>org.opendaylight.controller</groupId>
178                 <artifactId>logback-config</artifactId>
179                 <version>${config.version}</version>
180             </dependency>
181         </dependencies>
182     </dependencyManagement>
183
184
185     <build>
186         <plugins>
187             <plugin>
188                 <groupId>org.apache.maven.plugins</groupId>
189                 <artifactId>maven-compiler-plugin</artifactId>
190             </plugin>
191         </plugins>
192         <pluginManagement>
193             <plugins>
194                 <plugin>
195                     <groupId>org.apache.felix</groupId>
196                     <artifactId>maven-bundle-plugin</artifactId>
197                     <version>${maven.bundle.version}</version>
198                     <extensions>true</extensions>
199                     <configuration>
200                         <instructions>
201                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
202                         </instructions>
203                     </configuration>
204                 </plugin>
205                 <plugin>
206                     <groupId>org.opendaylight.yangtools</groupId>
207                     <artifactId>yang-maven-plugin</artifactId>
208                     <version>${yangtools.version}</version>
209                     <executions>
210                         <execution>
211                             <goals>
212                                 <goal>generate-sources</goal>
213                             </goals>
214                             <configuration>
215                                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
216                                 <codeGenerators>
217                                     <generator>
218                                         <codeGeneratorClass>
219                                             org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
220                                         </codeGeneratorClass>
221                                         <outputBaseDir>
222                                             ${salGeneratorPath}
223                                         </outputBaseDir>
224                                     </generator>
225                                     <generator>
226                                         <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
227                                         <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
228                                     </generator>
229                                 </codeGenerators>
230                                 <inspectDependencies>true</inspectDependencies>
231                             </configuration>
232                         </execution>
233                     </executions>
234                     <dependencies>
235                         <dependency>
236                             <groupId>org.opendaylight.yangtools</groupId>
237                             <artifactId>maven-sal-api-gen-plugin</artifactId>
238                             <version>${yangtools.version}</version>
239                         </dependency>
240                     </dependencies>
241                 </plugin>
242                 <plugin>
243                     <groupId>org.codehaus.mojo</groupId>
244                     <artifactId>build-helper-maven-plugin</artifactId>
245                     <version>1.7</version>
246                     <executions>
247                         <execution>
248                             <phase>generate-sources</phase>
249                             <goals>
250                                 <goal>add-source</goal>
251                             </goals>
252                             <configuration>
253                                 <sources>
254                                     <source>${salGeneratorPath}</source>
255                                 </sources>
256                             </configuration>
257                         </execution>
258                     </executions>
259                 </plugin>
260             </plugins>
261
262         </pluginManagement>
263     </build>
264 </project>