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>threadpool-config-impl</module>
34 <module>netty-threadgroup-config</module>
35 <module>netty-event-executor-config</module>
40 <id>integrationtests</id>
42 <activeByDefault>false</activeByDefault>
45 <module>yang-jmx-generator-it</module>
51 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
52 <java.version.source>1.7</java.version.source>
53 <java.version.target>1.7</java.version.target>
54 <junit.version>4.10</junit.version>
55 <maven.bundle.version>2.3.7</maven.bundle.version>
56 <osgi.version>5.0.0</osgi.version>
57 <jacoco.version>0.6.2.201302030002</jacoco.version>
58 <slf4j.version>1.7.2</slf4j.version>
59 <jolokia.version>1.1.1</jolokia.version>
60 <opendaylight.yang.version>0.5.9-SNAPSHOT</opendaylight.yang.version>
61 <opendaylight.binding.version>0.6.0-SNAPSHOT</opendaylight.binding.version>
62 <opendaylight.yangtools.version>0.1.1-SNAPSHOT</opendaylight.yangtools.version>
63 <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
68 <groupId>junit</groupId>
69 <artifactId>junit</artifactId>
73 <groupId>ch.qos.logback</groupId>
74 <artifactId>logback-classic</artifactId>
75 <version>${logback.version}</version>
80 <dependencyManagement>
83 <groupId>org.slf4j</groupId>
84 <artifactId>slf4j-api</artifactId>
85 <version>${slf4j.version}</version>
88 <groupId>org.osgi</groupId>
89 <artifactId>org.osgi.core</artifactId>
90 <version>${osgi.version}</version>
93 <groupId>com.google.code.findbugs</groupId>
94 <artifactId>jsr305</artifactId>
95 <version>2.0.1</version>
98 <groupId>commons-io</groupId>
99 <artifactId>commons-io</artifactId>
100 <version>2.4</version>
103 <groupId>com.google.guava</groupId>
104 <artifactId>guava</artifactId>
105 <version>14.0.1</version>
108 <groupId>org.jolokia</groupId>
109 <artifactId>jolokia-core</artifactId>
110 <version>${jolokia.version}</version>
113 <groupId>org.jolokia</groupId>
114 <artifactId>jolokia-jvm</artifactId>
115 <version>${jolokia.version}</version>
116 <classifier>agent</classifier>
119 <groupId>org.jolokia</groupId>
120 <artifactId>jolokia-client-java</artifactId>
121 <version>${jolokia.version}</version>
124 <groupId>junit</groupId>
125 <artifactId>junit</artifactId>
126 <version>${junit.version}</version>
129 <groupId>org.apache.commons</groupId>
130 <artifactId>commons-lang3</artifactId>
131 <version>${commons.lang.version}</version>
135 <groupId>${project.groupId}</groupId>
136 <artifactId>config-api</artifactId>
137 <version>${config.version}</version>
141 <groupId>${project.groupId}</groupId>
142 <artifactId>config-util</artifactId>
143 <version>${config.version}</version>
146 <groupId>${project.groupId}</groupId>
147 <artifactId>config-util</artifactId>
148 <version>${config.version}</version>
149 <type>test-jar</type>
152 <groupId>${project.groupId}</groupId>
153 <artifactId>config-manager</artifactId>
154 <version>${config.version}</version>
157 <groupId>${project.groupId}</groupId>
158 <artifactId>config-manager</artifactId>
159 <version>${config.version}</version>
160 <type>test-jar</type>
163 <groupId>${project.groupId}</groupId>
164 <artifactId>config-persister-api</artifactId>
165 <version>${config.version}</version>
168 <groupId>org.opendaylight.bgpcep</groupId>
169 <artifactId>mockito-configuration</artifactId>
170 <version>${bgpcep.version}</version>
173 <groupId>org.opendaylight.yangtools</groupId>
174 <artifactId>binding-generator-spi</artifactId>
175 <version>${opendaylight.binding.version}</version>
178 <groupId>org.opendaylight.yangtools</groupId>
179 <artifactId>binding-generator-util</artifactId>
180 <version>${opendaylight.binding.version}</version>
183 <groupId>org.opendaylight.yangtools</groupId>
184 <artifactId>yang-parser-impl</artifactId>
185 <version>${opendaylight.yang.version}</version>
188 <groupId>org.opendaylight.yangtools</groupId>
189 <artifactId>binding-generator-impl</artifactId>
190 <version>${opendaylight.binding.version}</version>
193 <groupId>${project.groupId}</groupId>
194 <artifactId>yang-test</artifactId>
195 <version>${config.version}</version>
198 <groupId>org.opendaylight.controller</groupId>
199 <artifactId>yang-jmx-generator</artifactId>
200 <version>${config.version}</version>
203 <groupId>org.opendaylight.controller</groupId>
204 <artifactId>yang-jmx-generator</artifactId>
205 <version>${config.version}</version>
206 <type>test-jar</type>
209 <groupId>org.opendaylight.yangtools</groupId>
210 <artifactId>binding-type-provider</artifactId>
211 <version>${opendaylight.binding.version}</version>
214 <groupId>org.opendaylight.yangtools</groupId>
215 <artifactId>yang-maven-plugin-spi</artifactId>
216 <version>${opendaylight.yang.version}</version>
219 <groupId>${project.groupId}</groupId>
220 <artifactId>yang-store-api</artifactId>
221 <version>${config.version}</version>
224 </dependencyManagement>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-compiler-plugin</artifactId>
234 <groupId>org.jacoco</groupId>
235 <artifactId>jacoco-maven-plugin</artifactId>
236 <version>${jacoco.version}</version>
240 <goal>prepare-agent</goal>
245 <phase>prepare-package</phase>
251 <outputDirectory>${basedir}/target/jacoco</outputDirectory>
252 <haltOnFailure>false</haltOnFailure>
254 <classRatio>80</classRatio>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-surefire-plugin</artifactId>
265 <groupId>org.codehaus.mojo</groupId>
266 <artifactId>build-helper-maven-plugin</artifactId>
275 <groupId>org.opendaylight.yangtools</groupId>
276 <artifactId>yang-maven-plugin</artifactId>
277 <version>${opendaylight.yang.version}</version>
281 <goal>generate-sources</goal>
287 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
288 </codeGeneratorClass>
289 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
290 <additionalConfiguration>
291 <namespaceToPackage1>
292 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
293 </namespaceToPackage1>
294 </additionalConfiguration>
297 <inspectDependencies>true</inspectDependencies>
303 <groupId>org.opendaylight.controller</groupId>
304 <artifactId>yang-jmx-generator-plugin</artifactId>
305 <version>${config.version}</version>
309 <!-- tell eclipse about generated source folders -->
311 <groupId>org.codehaus.mojo</groupId>
312 <artifactId>build-helper-maven-plugin</artifactId>
313 <version>1.8</version>
317 <phase>generate-sources</phase>
319 <goal>add-source</goal>
323 <source>${jmxGeneratorPath}</source>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-jar-plugin</artifactId>
332 <version>2.4</version>
335 <phase>package</phase>
337 <goal>test-jar</goal>
343 <groupId>org.apache.felix</groupId>
344 <artifactId>maven-bundle-plugin</artifactId>
345 <version>${maven.bundle.version}</version>
346 <extensions>true</extensions>
349 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-surefire-plugin</artifactId>
356 <version>2.14.1</version>
358 <redirectTestOutputToFile>true</redirectTestOutputToFile>
359 <parallel>classes</parallel>
360 <forkCount>1C</forkCount>
361 <reuseForks>false</reuseForks>
362 <perCoreThreadCount>true</perCoreThreadCount>
363 <threadCount>2</threadCount>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-antrun-plugin</artifactId>
369 <version>1.3</version>
372 <groupId>org.codehaus.groovy.maven</groupId>
373 <artifactId>gmaven-plugin</artifactId>
374 <version>1.0</version>
376 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
378 <groupId>org.eclipse.m2e</groupId>
379 <artifactId>lifecycle-mapping</artifactId>
380 <version>1.0.0</version>
382 <lifecycleMappingMetadata>
385 <pluginExecutionFilter>
387 org.opendaylight.yangtools
400 </pluginExecutionFilter>
406 </lifecycleMappingMetadata>