1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <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">
4 <modelVersion>4.0.0</modelVersion>
7 <groupId>org.opendaylight.controller</groupId>
8 <artifactId>commons.opendaylight</artifactId>
9 <version>1.4.2-SNAPSHOT</version>
10 <relativePath>../commons/opendaylight</relativePath>
14 <version>0.2.4-SNAPSHOT</version>
15 <artifactId>config-subsystem</artifactId>
16 <packaging>pom</packaging>
17 <name>${project.artifactId}</name>
22 <module>config-api</module>
23 <module>config-manager</module>
24 <module>config-plugin-parent</module>
25 <module>config-util</module>
26 <module>config-persister-api</module>
27 <module>config-persister-file-adapter</module>
28 <module>config-persister-file-xml-adapter</module>
29 <module>yang-jmx-generator</module>
30 <module>yang-jmx-generator-plugin</module>
31 <module>yang-store-api</module>
32 <module>yang-store-impl</module>
33 <module>yang-test</module>
34 <module>logback-config</module>
35 <module>threadpool-config-api</module>
36 <module>netty-config-api</module>
37 <module>threadpool-config-impl</module>
38 <module>netty-threadgroup-config</module>
39 <module>netty-event-executor-config</module>
40 <module>netty-timer-config</module>
41 <module>config-persister-directory-adapter</module>
42 <module>config-persister-directory-xml-adapter</module>
43 <module>config-persister-directory-autodetect-adapter</module>
44 <module>yang-test-plugin</module>
45 <module>shutdown-api</module>
46 <module>shutdown-impl</module>
51 <id>integrationtests</id>
53 <activeByDefault>false</activeByDefault>
56 <module>yang-jmx-generator-it</module>
62 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
63 <java.version.source>1.7</java.version.source>
64 <java.version.target>1.7</java.version.target>
65 <junit.version>4.10</junit.version>
66 <maven.bundle.version>2.4.0</maven.bundle.version>
67 <osgi.version>5.0.0</osgi.version>
68 <jacoco.version>0.6.2.201302030002</jacoco.version>
69 <slf4j.version>1.7.2</slf4j.version>
70 <salGeneratorPath>${project.build.directory}/generated-sources/sal</salGeneratorPath>
71 <config.version>0.2.4-SNAPSHOT</config.version>
76 <groupId>junit</groupId>
77 <artifactId>junit</artifactId>
81 <groupId>ch.qos.logback</groupId>
82 <artifactId>logback-classic</artifactId>
83 <version>${logback.version}</version>
88 <dependencyManagement>
91 <groupId>org.slf4j</groupId>
92 <artifactId>slf4j-api</artifactId>
93 <version>${slf4j.version}</version>
96 <groupId>org.osgi</groupId>
97 <artifactId>org.osgi.core</artifactId>
98 <version>${osgi.version}</version>
101 <groupId>commons-io</groupId>
102 <artifactId>commons-io</artifactId>
103 <version>2.4</version>
106 <groupId>com.google.guava</groupId>
107 <artifactId>guava</artifactId>
108 <version>14.0.1</version>
111 <groupId>junit</groupId>
112 <artifactId>junit</artifactId>
113 <version>${junit.version}</version>
116 <groupId>org.apache.commons</groupId>
117 <artifactId>commons-lang3</artifactId>
118 <version>${commons.lang.version}</version>
122 <groupId>${project.groupId}</groupId>
123 <artifactId>config-api</artifactId>
124 <version>${config.version}</version>
128 <groupId>${project.groupId}</groupId>
129 <artifactId>config-util</artifactId>
130 <version>${config.version}</version>
133 <groupId>${project.groupId}</groupId>
134 <artifactId>config-util</artifactId>
135 <version>${config.version}</version>
136 <type>test-jar</type>
139 <groupId>${project.groupId}</groupId>
140 <artifactId>config-manager</artifactId>
141 <version>${config.version}</version>
144 <groupId>${project.groupId}</groupId>
145 <artifactId>config-manager</artifactId>
146 <version>${config.version}</version>
147 <type>test-jar</type>
150 <groupId>${project.groupId}</groupId>
151 <artifactId>config-persister-api</artifactId>
152 <version>${config.version}</version>
155 <groupId>${project.groupId}</groupId>
156 <artifactId>config-persister-api</artifactId>
157 <version>${config.version}</version>
158 <type>test-jar</type>
161 <groupId>org.opendaylight.yangtools</groupId>
162 <artifactId>binding-generator-spi</artifactId>
163 <version>${yangtools.version}</version>
166 <groupId>org.opendaylight.yangtools</groupId>
167 <artifactId>binding-generator-util</artifactId>
168 <version>${yangtools.version}</version>
171 <groupId>org.opendaylight.yangtools</groupId>
172 <artifactId>yang-parser-impl</artifactId>
173 <version>${yangtools.version}</version>
176 <groupId>org.opendaylight.yangtools</groupId>
177 <artifactId>binding-generator-impl</artifactId>
178 <version>${yangtools.version}</version>
181 <groupId>${project.groupId}</groupId>
182 <artifactId>yang-test</artifactId>
183 <version>${config.version}</version>
186 <groupId>org.opendaylight.controller</groupId>
187 <artifactId>yang-jmx-generator</artifactId>
188 <version>${config.version}</version>
191 <groupId>org.opendaylight.controller</groupId>
192 <artifactId>yang-jmx-generator</artifactId>
193 <version>${config.version}</version>
194 <type>test-jar</type>
197 <groupId>org.opendaylight.yangtools</groupId>
198 <artifactId>binding-type-provider</artifactId>
199 <version>${yangtools.version}</version>
202 <groupId>org.opendaylight.yangtools</groupId>
203 <artifactId>yang-maven-plugin-spi</artifactId>
204 <version>${yangtools.version}</version>
207 <groupId>${project.groupId}</groupId>
208 <artifactId>yang-store-api</artifactId>
209 <version>${config.version}</version>
213 <groupId>org.opendaylight.controller</groupId>
214 <artifactId>shutdown-api</artifactId>
215 <version>${config.version}</version>
220 <groupId>org.opendaylight.yangtools</groupId>
221 <artifactId>yang-binding</artifactId>
222 <version>${yangtools.version}</version>
225 <groupId>org.opendaylight.yangtools</groupId>
226 <artifactId>yang-common</artifactId>
227 <version>${yangtools.version}</version>
230 <groupId>org.opendaylight.yangtools</groupId>
231 <artifactId>concepts</artifactId>
232 <version>${yangtools.version}</version>
235 </dependencyManagement>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-compiler-plugin</artifactId>
245 <groupId>org.jacoco</groupId>
246 <artifactId>jacoco-maven-plugin</artifactId>
247 <version>${jacoco.version}</version>
251 <goal>prepare-agent</goal>
256 <phase>prepare-package</phase>
262 <outputDirectory>${project.build.directory}/jacoco</outputDirectory>
263 <haltOnFailure>false</haltOnFailure>
265 <classRatio>80</classRatio>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-surefire-plugin</artifactId>
282 <groupId>org.opendaylight.yangtools</groupId>
283 <artifactId>yang-maven-plugin</artifactId>
284 <version>${yangtools.version}</version>
289 <goal>generate-sources</goal>
292 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
296 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
297 </codeGeneratorClass>
303 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
304 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
307 <inspectDependencies>true</inspectDependencies>
313 <groupId>org.opendaylight.yangtools</groupId>
314 <artifactId>maven-sal-api-gen-plugin</artifactId>
315 <version>${yangtools.version}</version>
320 <!-- tell eclipse about generated source folders -->
322 <groupId>org.codehaus.mojo</groupId>
323 <artifactId>build-helper-maven-plugin</artifactId>
324 <version>1.8</version>
328 <phase>generate-sources</phase>
330 <goal>add-source</goal>
334 <source>${salGeneratorPath}</source>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-jar-plugin</artifactId>
343 <version>2.4</version>
346 <phase>package</phase>
348 <goal>test-jar</goal>
354 <groupId>org.apache.felix</groupId>
355 <artifactId>maven-bundle-plugin</artifactId>
356 <version>${maven.bundle.version}</version>
357 <extensions>true</extensions>
360 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-surefire-plugin</artifactId>
367 <version>2.14.1</version>
369 <redirectTestOutputToFile>true</redirectTestOutputToFile>
370 <parallel>classes</parallel>
371 <forkCount>1C</forkCount>
372 <reuseForks>false</reuseForks>
373 <perCoreThreadCount>true</perCoreThreadCount>
374 <threadCount>2</threadCount>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-antrun-plugin</artifactId>
380 <version>1.3</version>
383 <groupId>org.codehaus.groovy.maven</groupId>
384 <artifactId>gmaven-plugin</artifactId>
385 <version>1.0</version>
387 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
389 <groupId>org.eclipse.m2e</groupId>
390 <artifactId>lifecycle-mapping</artifactId>
391 <version>1.0.0</version>
393 <lifecycleMappingMetadata>
396 <pluginExecutionFilter>
398 org.opendaylight.yangtools
411 </pluginExecutionFilter>
417 </lifecycleMappingMetadata>