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.0-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 <opendaylight.yang.version>0.5.7-SNAPSHOT</opendaylight.yang.version>
44 <opendaylight.binding.version>0.5.7-SNAPSHOT</opendaylight.binding.version>
45 <jmxGeneratorPath>${project.build.directory}/generated-sources/config</jmxGeneratorPath>
50 <groupId>junit</groupId>
51 <artifactId>junit</artifactId>
55 <groupId>ch.qos.logback</groupId>
56 <artifactId>logback-classic</artifactId>
57 <version>${logback.version}</version>
62 <dependencyManagement>
65 <groupId>org.slf4j</groupId>
66 <artifactId>slf4j-api</artifactId>
67 <version>${slf4j.version}</version>
70 <groupId>org.osgi</groupId>
71 <artifactId>org.osgi.core</artifactId>
72 <version>${osgi.version}</version>
75 <groupId>com.google.code.findbugs</groupId>
76 <artifactId>jsr305</artifactId>
77 <version>2.0.1</version>
80 <groupId>commons-io</groupId>
81 <artifactId>commons-io</artifactId>
82 <version>2.4</version>
85 <groupId>com.google.guava</groupId>
86 <artifactId>guava</artifactId>
87 <version>14.0.1</version>
90 <groupId>org.jolokia</groupId>
91 <artifactId>jolokia-core</artifactId>
92 <version>${jolokia.version}</version>
95 <groupId>org.jolokia</groupId>
96 <artifactId>jolokia-jvm</artifactId>
97 <version>${jolokia.version}</version>
98 <classifier>agent</classifier>
101 <groupId>org.jolokia</groupId>
102 <artifactId>jolokia-client-java</artifactId>
103 <version>${jolokia.version}</version>
106 <groupId>junit</groupId>
107 <artifactId>junit</artifactId>
108 <version>${junit.version}</version>
111 <groupId>org.apache.commons</groupId>
112 <artifactId>commons-lang3</artifactId>
113 <version>${commons.lang.version}</version>
116 </dependencyManagement>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-compiler-plugin</artifactId>
124 <version>2.5.1</version>
126 <source>${java.version.source}</source>
127 <target>${java.version.target}</target>
128 <testSource>${java.version.source}</testSource>
129 <testTarget>${java.version.target}</testTarget>
133 <groupId>org.jacoco</groupId>
134 <artifactId>jacoco-maven-plugin</artifactId>
135 <version>${jacoco.version}</version>
139 <goal>prepare-agent</goal>
144 <phase>prepare-package</phase>
150 <outputDirectory>${basedir}/target/jacoco</outputDirectory>
151 <haltOnFailure>false</haltOnFailure>
153 <classRatio>80</classRatio>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-surefire-plugin</artifactId>
164 <groupId>org.codehaus.mojo</groupId>
165 <artifactId>build-helper-maven-plugin</artifactId>
171 <groupId>org.opendaylight.yangtools</groupId>
172 <artifactId>yang-maven-plugin</artifactId>
173 <version>${opendaylight.yang.version}</version>
177 <goal>generate-sources</goal>
183 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
184 </codeGeneratorClass>
185 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
186 <additionalConfiguration>
187 <namespaceToPackage1>
188 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
189 </namespaceToPackage1>
190 </additionalConfiguration>
193 <inspectDependencies>true</inspectDependencies>
199 <groupId>org.opendaylight.controller</groupId>
200 <artifactId>yang-jmx-generator-plugin</artifactId>
201 <version>0.2.1-SNAPSHOT</version>
205 <!-- tell eclipse about generated source folders -->
207 <groupId>org.codehaus.mojo</groupId>
208 <artifactId>build-helper-maven-plugin</artifactId>
209 <version>1.8</version>
213 <phase>generate-sources</phase>
215 <goal>add-source</goal>
219 <source>${jmxGeneratorPath}</source>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-jar-plugin</artifactId>
228 <version>2.4</version>
231 <phase>package</phase>
233 <goal>test-jar</goal>
239 <groupId>org.apache.felix</groupId>
240 <artifactId>maven-bundle-plugin</artifactId>
241 <version>${maven.bundle.version}</version>
242 <extensions>true</extensions>
245 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-surefire-plugin</artifactId>
252 <version>2.14.1</version>
254 <redirectTestOutputToFile>true</redirectTestOutputToFile>
255 <parallel>classes</parallel>
256 <forkCount>1C</forkCount>
257 <reuseForks>false</reuseForks>
258 <perCoreThreadCount>true</perCoreThreadCount>
259 <threadCount>2</threadCount>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-antrun-plugin</artifactId>
265 <version>1.3</version>
268 <groupId>org.codehaus.groovy.maven</groupId>
269 <artifactId>gmaven-plugin</artifactId>
270 <version>1.0</version>
278 <id>nexus.opendaylight.org</id>
279 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
281 <enabled>true</enabled>
284 <updatePolicy>daily</updatePolicy>
287 </pluginRepositories>
291 <id>opendaylight-snapshot</id>
292 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
294 <updatePolicy>daily</updatePolicy>