1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.opendaylight.controller</groupId>
7 <artifactId>commons.opendaylight</artifactId>
8 <version>1.4.1-SNAPSHOT</version>
9 <relativePath>../commons/opendaylight</relativePath>
13 <version>0.2.2-SNAPSHOT</version>
14 <artifactId>config-subsystem</artifactId>
15 <packaging>pom</packaging>
16 <name>${project.artifactId}</name>
21 <module>config-api</module>
22 <module>config-manager</module>
23 <module>config-util</module>
24 <module>config-persister-api</module>
25 <module>config-persister-file-adapter</module>
26 <module>yang-jmx-generator</module>
27 <module>yang-jmx-generator-plugin</module>
28 <module>yang-store-api</module>
29 <module>yang-store-impl</module>
30 <module>yang-test</module>
31 <module>logback-config</module>
32 <module>threadpool-config-api</module>
33 <module>threadpool-config-impl</module>
34 <module>netty-threadgroup-config</module>
39 <id>integrationtests</id>
41 <activeByDefault>false</activeByDefault>
44 <module>yang-jmx-generator-it</module>
50 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
51 <java.version.source>1.7</java.version.source>
52 <java.version.target>1.7</java.version.target>
53 <junit.version>4.10</junit.version>
54 <maven.bundle.version>2.3.7</maven.bundle.version>
55 <osgi.version>5.0.0</osgi.version>
56 <jacoco.version>0.6.2.201302030002</jacoco.version>
57 <slf4j.version>1.7.2</slf4j.version>
58 <jolokia.version>1.1.1</jolokia.version>
59 <opendaylight.yang.version>0.5.9-SNAPSHOT</opendaylight.yang.version>
60 <opendaylight.binding.version>0.6.0-SNAPSHOT</opendaylight.binding.version>
61 <opendaylight.yangtools.version>0.1.1-SNAPSHOT</opendaylight.yangtools.version>
62 <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
67 <groupId>junit</groupId>
68 <artifactId>junit</artifactId>
72 <groupId>ch.qos.logback</groupId>
73 <artifactId>logback-classic</artifactId>
74 <version>${logback.version}</version>
79 <dependencyManagement>
82 <groupId>org.slf4j</groupId>
83 <artifactId>slf4j-api</artifactId>
84 <version>${slf4j.version}</version>
87 <groupId>org.osgi</groupId>
88 <artifactId>org.osgi.core</artifactId>
89 <version>${osgi.version}</version>
92 <groupId>com.google.code.findbugs</groupId>
93 <artifactId>jsr305</artifactId>
94 <version>2.0.1</version>
97 <groupId>commons-io</groupId>
98 <artifactId>commons-io</artifactId>
99 <version>2.4</version>
102 <groupId>com.google.guava</groupId>
103 <artifactId>guava</artifactId>
104 <version>14.0.1</version>
107 <groupId>org.jolokia</groupId>
108 <artifactId>jolokia-core</artifactId>
109 <version>${jolokia.version}</version>
112 <groupId>org.jolokia</groupId>
113 <artifactId>jolokia-jvm</artifactId>
114 <version>${jolokia.version}</version>
115 <classifier>agent</classifier>
118 <groupId>org.jolokia</groupId>
119 <artifactId>jolokia-client-java</artifactId>
120 <version>${jolokia.version}</version>
123 <groupId>junit</groupId>
124 <artifactId>junit</artifactId>
125 <version>${junit.version}</version>
128 <groupId>org.apache.commons</groupId>
129 <artifactId>commons-lang3</artifactId>
130 <version>${commons.lang.version}</version>
134 <groupId>${project.groupId}</groupId>
135 <artifactId>config-api</artifactId>
136 <version>${config.version}</version>
140 <groupId>${project.groupId}</groupId>
141 <artifactId>config-util</artifactId>
142 <version>${config.version}</version>
145 <groupId>${project.groupId}</groupId>
146 <artifactId>config-util</artifactId>
147 <version>${config.version}</version>
148 <type>test-jar</type>
151 <groupId>${project.groupId}</groupId>
152 <artifactId>config-manager</artifactId>
153 <version>${config.version}</version>
156 <groupId>${project.groupId}</groupId>
157 <artifactId>config-manager</artifactId>
158 <version>${config.version}</version>
159 <type>test-jar</type>
162 <groupId>${project.groupId}</groupId>
163 <artifactId>config-persister-api</artifactId>
164 <version>${config.version}</version>
167 <groupId>org.opendaylight.bgpcep</groupId>
168 <artifactId>mockito-configuration</artifactId>
169 <version>${bgpcep.version}</version>
172 <groupId>org.opendaylight.yangtools</groupId>
173 <artifactId>binding-generator-spi</artifactId>
174 <version>${opendaylight.binding.version}</version>
177 <groupId>org.opendaylight.yangtools</groupId>
178 <artifactId>binding-generator-util</artifactId>
179 <version>${opendaylight.binding.version}</version>
182 <groupId>org.opendaylight.yangtools</groupId>
183 <artifactId>yang-parser-impl</artifactId>
184 <version>${opendaylight.yang.version}</version>
187 <groupId>org.opendaylight.yangtools</groupId>
188 <artifactId>binding-generator-impl</artifactId>
189 <version>${opendaylight.binding.version}</version>
192 <groupId>${project.groupId}</groupId>
193 <artifactId>yang-test</artifactId>
194 <version>${config.version}</version>
197 <groupId>org.opendaylight.controller</groupId>
198 <artifactId>yang-jmx-generator</artifactId>
199 <version>${config.version}</version>
202 <groupId>org.opendaylight.controller</groupId>
203 <artifactId>yang-jmx-generator</artifactId>
204 <version>${config.version}</version>
205 <type>test-jar</type>
208 <groupId>org.opendaylight.yangtools</groupId>
209 <artifactId>binding-type-provider</artifactId>
210 <version>${opendaylight.binding.version}</version>
213 <groupId>org.opendaylight.yangtools</groupId>
214 <artifactId>yang-maven-plugin-spi</artifactId>
215 <version>${opendaylight.yang.version}</version>
218 <groupId>${project.groupId}</groupId>
219 <artifactId>yang-store-api</artifactId>
220 <version>${config.version}</version>
223 </dependencyManagement>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-compiler-plugin</artifactId>
233 <groupId>org.jacoco</groupId>
234 <artifactId>jacoco-maven-plugin</artifactId>
235 <version>${jacoco.version}</version>
239 <goal>prepare-agent</goal>
244 <phase>prepare-package</phase>
250 <outputDirectory>${basedir}/target/jacoco</outputDirectory>
251 <haltOnFailure>false</haltOnFailure>
253 <classRatio>80</classRatio>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-surefire-plugin</artifactId>
264 <groupId>org.codehaus.mojo</groupId>
265 <artifactId>build-helper-maven-plugin</artifactId>
274 <groupId>org.opendaylight.yangtools</groupId>
275 <artifactId>yang-maven-plugin</artifactId>
276 <version>${opendaylight.yang.version}</version>
280 <goal>generate-sources</goal>
286 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
287 </codeGeneratorClass>
288 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
289 <additionalConfiguration>
290 <namespaceToPackage1>
291 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
292 </namespaceToPackage1>
293 </additionalConfiguration>
296 <inspectDependencies>true</inspectDependencies>
302 <groupId>org.opendaylight.controller</groupId>
303 <artifactId>yang-jmx-generator-plugin</artifactId>
304 <version>${config.version}</version>
308 <!-- tell eclipse about generated source folders -->
310 <groupId>org.codehaus.mojo</groupId>
311 <artifactId>build-helper-maven-plugin</artifactId>
312 <version>1.8</version>
316 <phase>generate-sources</phase>
318 <goal>add-source</goal>
322 <source>${jmxGeneratorPath}</source>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-jar-plugin</artifactId>
331 <version>2.4</version>
334 <phase>package</phase>
336 <goal>test-jar</goal>
342 <groupId>org.apache.felix</groupId>
343 <artifactId>maven-bundle-plugin</artifactId>
344 <version>${maven.bundle.version}</version>
345 <extensions>true</extensions>
348 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-surefire-plugin</artifactId>
355 <version>2.14.1</version>
357 <redirectTestOutputToFile>true</redirectTestOutputToFile>
358 <parallel>classes</parallel>
359 <forkCount>1C</forkCount>
360 <reuseForks>false</reuseForks>
361 <perCoreThreadCount>true</perCoreThreadCount>
362 <threadCount>2</threadCount>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-antrun-plugin</artifactId>
368 <version>1.3</version>
371 <groupId>org.codehaus.groovy.maven</groupId>
372 <artifactId>gmaven-plugin</artifactId>
373 <version>1.0</version>
375 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
377 <groupId>org.eclipse.m2e</groupId>
378 <artifactId>lifecycle-mapping</artifactId>
379 <version>1.0.0</version>
381 <lifecycleMappingMetadata>
384 <pluginExecutionFilter>
386 org.opendaylight.yangtools
399 </pluginExecutionFilter>
405 </lifecycleMappingMetadata>