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>yang-jmx-generator</module>
26 <module>yang-jmx-generator-plugin</module>
27 <module>yang-jmx-generator-it</module>
28 <module>yang-store-api</module>
29 <module>yang-store-impl</module>
30 <module>yang-test</module>
31 <module>logback-config</module>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <java.version.source>1.7</java.version.source>
36 <java.version.target>1.7</java.version.target>
37 <junit.version>4.10</junit.version>
38 <maven.bundle.version>2.3.7</maven.bundle.version>
39 <osgi.version>5.0.0</osgi.version>
40 <jacoco.version>0.6.2.201302030002</jacoco.version>
41 <slf4j.version>1.7.2</slf4j.version>
42 <jolokia.version>1.1.1</jolokia.version>
43 <osgi.core.version>5.0.0</osgi.core.version>
44 <opendaylight.yang.version>0.5.9-SNAPSHOT</opendaylight.yang.version>
45 <opendaylight.binding.version>0.6.0-SNAPSHOT</opendaylight.binding.version>
46 <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
51 <groupId>junit</groupId>
52 <artifactId>junit</artifactId>
56 <groupId>ch.qos.logback</groupId>
57 <artifactId>logback-classic</artifactId>
58 <version>${logback.version}</version>
63 <dependencyManagement>
66 <groupId>org.slf4j</groupId>
67 <artifactId>slf4j-api</artifactId>
68 <version>${slf4j.version}</version>
71 <groupId>org.osgi</groupId>
72 <artifactId>org.osgi.core</artifactId>
73 <version>${osgi.version}</version>
76 <groupId>com.google.code.findbugs</groupId>
77 <artifactId>jsr305</artifactId>
78 <version>2.0.1</version>
81 <groupId>commons-io</groupId>
82 <artifactId>commons-io</artifactId>
83 <version>2.4</version>
86 <groupId>com.google.guava</groupId>
87 <artifactId>guava</artifactId>
88 <version>14.0.1</version>
91 <groupId>org.jolokia</groupId>
92 <artifactId>jolokia-core</artifactId>
93 <version>${jolokia.version}</version>
96 <groupId>org.jolokia</groupId>
97 <artifactId>jolokia-jvm</artifactId>
98 <version>${jolokia.version}</version>
99 <classifier>agent</classifier>
102 <groupId>org.jolokia</groupId>
103 <artifactId>jolokia-client-java</artifactId>
104 <version>${jolokia.version}</version>
107 <groupId>junit</groupId>
108 <artifactId>junit</artifactId>
109 <version>${junit.version}</version>
112 <groupId>org.apache.commons</groupId>
113 <artifactId>commons-lang3</artifactId>
114 <version>${commons.lang.version}</version>
117 </dependencyManagement>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-compiler-plugin</artifactId>
125 <version>2.5.1</version>
127 <source>${java.version.source}</source>
128 <target>${java.version.target}</target>
129 <testSource>${java.version.source}</testSource>
130 <testTarget>${java.version.target}</testTarget>
134 <groupId>org.jacoco</groupId>
135 <artifactId>jacoco-maven-plugin</artifactId>
136 <version>${jacoco.version}</version>
140 <goal>prepare-agent</goal>
145 <phase>prepare-package</phase>
151 <outputDirectory>${basedir}/target/jacoco</outputDirectory>
152 <haltOnFailure>false</haltOnFailure>
154 <classRatio>80</classRatio>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-surefire-plugin</artifactId>
165 <groupId>org.codehaus.mojo</groupId>
166 <artifactId>build-helper-maven-plugin</artifactId>
172 <groupId>org.opendaylight.yangtools</groupId>
173 <artifactId>yang-maven-plugin</artifactId>
174 <version>${opendaylight.yang.version}</version>
178 <goal>generate-sources</goal>
184 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
185 </codeGeneratorClass>
186 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
187 <additionalConfiguration>
188 <namespaceToPackage1>
189 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
190 </namespaceToPackage1>
191 </additionalConfiguration>
194 <inspectDependencies>true</inspectDependencies>
200 <groupId>org.opendaylight.controller</groupId>
201 <artifactId>yang-jmx-generator-plugin</artifactId>
202 <version>0.2.1-SNAPSHOT</version>
206 <!-- tell eclipse about generated source folders -->
208 <groupId>org.codehaus.mojo</groupId>
209 <artifactId>build-helper-maven-plugin</artifactId>
210 <version>1.8</version>
214 <phase>generate-sources</phase>
216 <goal>add-source</goal>
220 <source>${jmxGeneratorPath}</source>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-jar-plugin</artifactId>
229 <version>2.4</version>
232 <phase>package</phase>
234 <goal>test-jar</goal>
240 <groupId>org.apache.felix</groupId>
241 <artifactId>maven-bundle-plugin</artifactId>
242 <version>${maven.bundle.version}</version>
243 <extensions>true</extensions>
246 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-surefire-plugin</artifactId>
253 <version>2.14.1</version>
255 <redirectTestOutputToFile>true</redirectTestOutputToFile>
256 <parallel>classes</parallel>
257 <forkCount>1C</forkCount>
258 <reuseForks>false</reuseForks>
259 <perCoreThreadCount>true</perCoreThreadCount>
260 <threadCount>2</threadCount>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-antrun-plugin</artifactId>
266 <version>1.3</version>
269 <groupId>org.codehaus.groovy.maven</groupId>
270 <artifactId>gmaven-plugin</artifactId>
271 <version>1.0</version>
279 <id>nexus.opendaylight.org</id>
280 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
282 <enabled>true</enabled>
285 <updatePolicy>daily</updatePolicy>
288 </pluginRepositories>
292 <id>opendaylight-snapshot</id>
293 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
295 <updatePolicy>daily</updatePolicy>