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.3-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>netty-config-api</module>
34 <module>threadpool-config-impl</module>
35 <module>netty-threadgroup-config</module>
36 <module>netty-event-executor-config</module>
37 <module>netty-timer-config</module>
42 <id>integrationtests</id>
44 <activeByDefault>false</activeByDefault>
47 <module>yang-jmx-generator-it</module>
53 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54 <java.version.source>1.7</java.version.source>
55 <java.version.target>1.7</java.version.target>
56 <junit.version>4.10</junit.version>
57 <maven.bundle.version>2.3.7</maven.bundle.version>
58 <osgi.version>5.0.0</osgi.version>
59 <jacoco.version>0.6.2.201302030002</jacoco.version>
60 <slf4j.version>1.7.2</slf4j.version>
61 <jolokia.version>1.1.1</jolokia.version>
62 <opendaylight.yang.version>0.5.9-SNAPSHOT</opendaylight.yang.version>
63 <opendaylight.binding.version>0.6.0-SNAPSHOT</opendaylight.binding.version>
64 <opendaylight.yangtools.version>0.1.1-SNAPSHOT</opendaylight.yangtools.version>
65 <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
70 <groupId>junit</groupId>
71 <artifactId>junit</artifactId>
75 <groupId>ch.qos.logback</groupId>
76 <artifactId>logback-classic</artifactId>
77 <version>${logback.version}</version>
82 <dependencyManagement>
85 <groupId>org.slf4j</groupId>
86 <artifactId>slf4j-api</artifactId>
87 <version>${slf4j.version}</version>
90 <groupId>org.osgi</groupId>
91 <artifactId>org.osgi.core</artifactId>
92 <version>${osgi.version}</version>
95 <groupId>com.google.code.findbugs</groupId>
96 <artifactId>jsr305</artifactId>
97 <version>2.0.1</version>
100 <groupId>commons-io</groupId>
101 <artifactId>commons-io</artifactId>
102 <version>2.4</version>
105 <groupId>com.google.guava</groupId>
106 <artifactId>guava</artifactId>
107 <version>14.0.1</version>
110 <groupId>org.jolokia</groupId>
111 <artifactId>jolokia-core</artifactId>
112 <version>${jolokia.version}</version>
115 <groupId>org.jolokia</groupId>
116 <artifactId>jolokia-jvm</artifactId>
117 <version>${jolokia.version}</version>
118 <classifier>agent</classifier>
121 <groupId>org.jolokia</groupId>
122 <artifactId>jolokia-client-java</artifactId>
123 <version>${jolokia.version}</version>
126 <groupId>junit</groupId>
127 <artifactId>junit</artifactId>
128 <version>${junit.version}</version>
131 <groupId>org.apache.commons</groupId>
132 <artifactId>commons-lang3</artifactId>
133 <version>${commons.lang.version}</version>
137 <groupId>${project.groupId}</groupId>
138 <artifactId>config-api</artifactId>
139 <version>${config.version}</version>
143 <groupId>${project.groupId}</groupId>
144 <artifactId>config-util</artifactId>
145 <version>${config.version}</version>
148 <groupId>${project.groupId}</groupId>
149 <artifactId>config-util</artifactId>
150 <version>${config.version}</version>
151 <type>test-jar</type>
154 <groupId>${project.groupId}</groupId>
155 <artifactId>config-manager</artifactId>
156 <version>${config.version}</version>
159 <groupId>${project.groupId}</groupId>
160 <artifactId>config-manager</artifactId>
161 <version>${config.version}</version>
162 <type>test-jar</type>
165 <groupId>${project.groupId}</groupId>
166 <artifactId>config-persister-api</artifactId>
167 <version>${config.version}</version>
170 <groupId>org.opendaylight.bgpcep</groupId>
171 <artifactId>mockito-configuration</artifactId>
172 <version>${bgpcep.version}</version>
175 <groupId>org.opendaylight.yangtools</groupId>
176 <artifactId>binding-generator-spi</artifactId>
177 <version>${opendaylight.binding.version}</version>
180 <groupId>org.opendaylight.yangtools</groupId>
181 <artifactId>binding-generator-util</artifactId>
182 <version>${opendaylight.binding.version}</version>
185 <groupId>org.opendaylight.yangtools</groupId>
186 <artifactId>yang-parser-impl</artifactId>
187 <version>${opendaylight.yang.version}</version>
190 <groupId>org.opendaylight.yangtools</groupId>
191 <artifactId>binding-generator-impl</artifactId>
192 <version>${opendaylight.binding.version}</version>
195 <groupId>${project.groupId}</groupId>
196 <artifactId>yang-test</artifactId>
197 <version>${config.version}</version>
200 <groupId>org.opendaylight.controller</groupId>
201 <artifactId>yang-jmx-generator</artifactId>
202 <version>${config.version}</version>
205 <groupId>org.opendaylight.controller</groupId>
206 <artifactId>yang-jmx-generator</artifactId>
207 <version>${config.version}</version>
208 <type>test-jar</type>
211 <groupId>org.opendaylight.yangtools</groupId>
212 <artifactId>binding-type-provider</artifactId>
213 <version>${opendaylight.binding.version}</version>
216 <groupId>org.opendaylight.yangtools</groupId>
217 <artifactId>yang-maven-plugin-spi</artifactId>
218 <version>${opendaylight.yang.version}</version>
221 <groupId>${project.groupId}</groupId>
222 <artifactId>yang-store-api</artifactId>
223 <version>${config.version}</version>
226 </dependencyManagement>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-compiler-plugin</artifactId>
236 <groupId>org.jacoco</groupId>
237 <artifactId>jacoco-maven-plugin</artifactId>
238 <version>${jacoco.version}</version>
242 <goal>prepare-agent</goal>
247 <phase>prepare-package</phase>
253 <outputDirectory>${basedir}/target/jacoco</outputDirectory>
254 <haltOnFailure>false</haltOnFailure>
256 <classRatio>80</classRatio>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-surefire-plugin</artifactId>
267 <groupId>org.codehaus.mojo</groupId>
268 <artifactId>build-helper-maven-plugin</artifactId>
277 <groupId>org.opendaylight.yangtools</groupId>
278 <artifactId>yang-maven-plugin</artifactId>
279 <version>${opendaylight.yang.version}</version>
283 <goal>generate-sources</goal>
289 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
290 </codeGeneratorClass>
291 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
292 <additionalConfiguration>
293 <namespaceToPackage1>
294 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
295 </namespaceToPackage1>
296 </additionalConfiguration>
299 <inspectDependencies>true</inspectDependencies>
305 <groupId>org.opendaylight.controller</groupId>
306 <artifactId>yang-jmx-generator-plugin</artifactId>
307 <version>${config.version}</version>
311 <!-- tell eclipse about generated source folders -->
313 <groupId>org.codehaus.mojo</groupId>
314 <artifactId>build-helper-maven-plugin</artifactId>
315 <version>1.8</version>
319 <phase>generate-sources</phase>
321 <goal>add-source</goal>
325 <source>${jmxGeneratorPath}</source>
332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-jar-plugin</artifactId>
334 <version>2.4</version>
337 <phase>package</phase>
339 <goal>test-jar</goal>
345 <groupId>org.apache.felix</groupId>
346 <artifactId>maven-bundle-plugin</artifactId>
347 <version>${maven.bundle.version}</version>
348 <extensions>true</extensions>
351 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-surefire-plugin</artifactId>
358 <version>2.14.1</version>
360 <redirectTestOutputToFile>true</redirectTestOutputToFile>
361 <parallel>classes</parallel>
362 <forkCount>1C</forkCount>
363 <reuseForks>false</reuseForks>
364 <perCoreThreadCount>true</perCoreThreadCount>
365 <threadCount>2</threadCount>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-antrun-plugin</artifactId>
371 <version>1.3</version>
374 <groupId>org.codehaus.groovy.maven</groupId>
375 <artifactId>gmaven-plugin</artifactId>
376 <version>1.0</version>
378 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
380 <groupId>org.eclipse.m2e</groupId>
381 <artifactId>lifecycle-mapping</artifactId>
382 <version>1.0.0</version>
384 <lifecycleMappingMetadata>
387 <pluginExecutionFilter>
389 org.opendaylight.yangtools
402 </pluginExecutionFilter>
408 </lifecycleMappingMetadata>