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 <groupId>org.opendaylight.controller</groupId>
14 <version>0.2.1-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-util</module>
25 <module>config-persister-api</module>
26 <module>config-persister-file-adapter</module>
27 <module>yang-jmx-generator</module>
28 <module>yang-jmx-generator-plugin</module>
29 <module>yang-jmx-generator-it</module>
30 <module>yang-store-api</module>
31 <module>yang-store-impl</module>
32 <module>yang-test</module>
33 <module>logback-config</module>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <java.version.source>1.7</java.version.source>
38 <java.version.target>1.7</java.version.target>
39 <junit.version>4.10</junit.version>
40 <maven.bundle.version>2.3.7</maven.bundle.version>
41 <osgi.version>5.0.0</osgi.version>
42 <jacoco.version>0.6.2.201302030002</jacoco.version>
43 <slf4j.version>1.7.2</slf4j.version>
44 <jolokia.version>1.1.1</jolokia.version>
45 <opendaylight.yang.version>0.5.9-SNAPSHOT</opendaylight.yang.version>
46 <opendaylight.binding.version>0.6.0-SNAPSHOT</opendaylight.binding.version>
47 <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
52 <groupId>junit</groupId>
53 <artifactId>junit</artifactId>
57 <groupId>ch.qos.logback</groupId>
58 <artifactId>logback-classic</artifactId>
59 <version>${logback.version}</version>
64 <dependencyManagement>
67 <groupId>org.slf4j</groupId>
68 <artifactId>slf4j-api</artifactId>
69 <version>${slf4j.version}</version>
72 <groupId>org.osgi</groupId>
73 <artifactId>org.osgi.core</artifactId>
74 <version>${osgi.version}</version>
77 <groupId>com.google.code.findbugs</groupId>
78 <artifactId>jsr305</artifactId>
79 <version>2.0.1</version>
82 <groupId>commons-io</groupId>
83 <artifactId>commons-io</artifactId>
84 <version>2.4</version>
87 <groupId>com.google.guava</groupId>
88 <artifactId>guava</artifactId>
89 <version>14.0.1</version>
92 <groupId>org.jolokia</groupId>
93 <artifactId>jolokia-core</artifactId>
94 <version>${jolokia.version}</version>
97 <groupId>org.jolokia</groupId>
98 <artifactId>jolokia-jvm</artifactId>
99 <version>${jolokia.version}</version>
100 <classifier>agent</classifier>
103 <groupId>org.jolokia</groupId>
104 <artifactId>jolokia-client-java</artifactId>
105 <version>${jolokia.version}</version>
108 <groupId>junit</groupId>
109 <artifactId>junit</artifactId>
110 <version>${junit.version}</version>
113 <groupId>org.apache.commons</groupId>
114 <artifactId>commons-lang3</artifactId>
115 <version>${commons.lang.version}</version>
118 </dependencyManagement>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-compiler-plugin</artifactId>
126 <version>2.5.1</version>
128 <source>${java.version.source}</source>
129 <target>${java.version.target}</target>
130 <testSource>${java.version.source}</testSource>
131 <testTarget>${java.version.target}</testTarget>
135 <groupId>org.jacoco</groupId>
136 <artifactId>jacoco-maven-plugin</artifactId>
137 <version>${jacoco.version}</version>
141 <goal>prepare-agent</goal>
146 <phase>prepare-package</phase>
152 <outputDirectory>${basedir}/target/jacoco</outputDirectory>
153 <haltOnFailure>false</haltOnFailure>
155 <classRatio>80</classRatio>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-surefire-plugin</artifactId>
166 <groupId>org.codehaus.mojo</groupId>
167 <artifactId>build-helper-maven-plugin</artifactId>
173 <groupId>org.opendaylight.yangtools</groupId>
174 <artifactId>yang-maven-plugin</artifactId>
175 <version>${opendaylight.yang.version}</version>
179 <goal>generate-sources</goal>
185 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
186 </codeGeneratorClass>
187 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
188 <additionalConfiguration>
189 <namespaceToPackage1>
190 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
191 </namespaceToPackage1>
192 </additionalConfiguration>
195 <inspectDependencies>true</inspectDependencies>
201 <groupId>org.opendaylight.controller</groupId>
202 <artifactId>yang-jmx-generator-plugin</artifactId>
203 <version>0.2.1-SNAPSHOT</version>
207 <!-- tell eclipse about generated source folders -->
209 <groupId>org.codehaus.mojo</groupId>
210 <artifactId>build-helper-maven-plugin</artifactId>
211 <version>1.8</version>
215 <phase>generate-sources</phase>
217 <goal>add-source</goal>
221 <source>${jmxGeneratorPath}</source>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-jar-plugin</artifactId>
230 <version>2.4</version>
233 <phase>package</phase>
235 <goal>test-jar</goal>
241 <groupId>org.apache.felix</groupId>
242 <artifactId>maven-bundle-plugin</artifactId>
243 <version>${maven.bundle.version}</version>
244 <extensions>true</extensions>
247 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-surefire-plugin</artifactId>
254 <version>2.14.1</version>
256 <redirectTestOutputToFile>true</redirectTestOutputToFile>
257 <parallel>classes</parallel>
258 <forkCount>1C</forkCount>
259 <reuseForks>false</reuseForks>
260 <perCoreThreadCount>true</perCoreThreadCount>
261 <threadCount>2</threadCount>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-antrun-plugin</artifactId>
267 <version>1.3</version>
270 <groupId>org.codehaus.groovy.maven</groupId>
271 <artifactId>gmaven-plugin</artifactId>
272 <version>1.0</version>
274 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
276 <groupId>org.eclipse.m2e</groupId>
277 <artifactId>lifecycle-mapping</artifactId>
278 <version>1.0.0</version>
280 <lifecycleMappingMetadata>
283 <pluginExecutionFilter>
285 org.opendaylight.yangtools
298 </pluginExecutionFilter>
304 </lifecycleMappingMetadata>
313 <id>nexus.opendaylight.org</id>
314 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release</url>
316 <enabled>true</enabled>
319 <updatePolicy>daily</updatePolicy>
322 </pluginRepositories>
326 <id>opendaylight-snapshot</id>
327 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
329 <updatePolicy>daily</updatePolicy>