1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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.6.0-SNAPSHOT</version>
9 <relativePath>../commons/opendaylight</relativePath>
11 <artifactId>config-subsystem</artifactId>
13 <version>0.4.0-SNAPSHOT</version>
14 <packaging>pom</packaging>
15 <name>${project.artifactId}</name>
18 <module>config-api</module>
19 <module>config-manager</module>
20 <module>config-plugin-parent</module>
21 <module>config-util</module>
22 <module>config-persister-api</module>
23 <module>config-persister-file-xml-adapter</module>
24 <module>config-persister-feature-adapter</module>
25 <module>yang-jmx-generator</module>
26 <module>yang-jmx-generator-plugin</module>
27 <module>yang-test</module>
28 <module>logback-config</module>
29 <module>threadpool-config-api</module>
30 <module>netty-config-api</module>
31 <module>threadpool-config-impl</module>
32 <module>netty-threadgroup-config</module>
33 <module>netty-event-executor-config</module>
34 <module>netty-timer-config</module>
35 <module>config-persister-directory-xml-adapter</module>
36 <module>yang-test-plugin</module>
37 <module>shutdown-api</module>
38 <module>shutdown-impl</module>
39 <module>netconf-config-dispatcher</module>
40 <module>config-module-archetype</module>
41 <module>config-netty-config</module>
43 <module>config-artifacts</module>
44 <module>config-parent</module>
49 <groupId>org.osgi</groupId>
50 <artifactId>org.osgi.compendium</artifactId>
53 <groupId>org.osgi</groupId>
54 <artifactId>org.osgi.core</artifactId>
57 <groupId>ch.qos.logback</groupId>
58 <artifactId>logback-classic</artifactId>
62 <groupId>junit</groupId>
63 <artifactId>junit</artifactId>
73 <groupId>org.apache.felix</groupId>
74 <artifactId>maven-bundle-plugin</artifactId>
75 <extensions>true</extensions>
78 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-antrun-plugin</artifactId>
85 <version>${maven.antrun.plugin.version}</version>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-jar-plugin</artifactId>
95 <phase>package</phase>
100 <groupId>org.codehaus.groovy.maven</groupId>
101 <artifactId>gmaven-plugin</artifactId>
102 <version>${gmaven.plugin.version}</version>
105 <groupId>org.opendaylight.yangtools</groupId>
106 <artifactId>yang-maven-plugin</artifactId>
107 <version>${yangtools.version}</version>
110 <groupId>org.opendaylight.yangtools</groupId>
111 <artifactId>maven-sal-api-gen-plugin</artifactId>
112 <version>${yangtools.version}</version>
120 <goal>generate-sources</goal>
123 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
126 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
127 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
130 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
131 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
134 <inspectDependencies>true</inspectDependencies>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-checkstyle-plugin</artifactId>
146 <failsOnError>false</failsOnError>
147 <failOnViolation>true</failOnViolation>
148 <configLocation>checkstyle-logging.xml</configLocation>
149 <consoleOutput>true</consoleOutput>
150 <includeTestSourceDirectory>true</includeTestSourceDirectory>
151 <sourceDirectory>${project.basedir}</sourceDirectory>
152 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
153 <!-- excluding logback-config, has several checkstyle warnings
154 regarding Logger/LoggerFactory, which couldn't be removed due necessity/intention
155 to use the particular implementation/library of Logger/LoggerFactory -->
156 <excludes>**\/config\/yang\/logback\/config\/**,**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
160 <groupId>org.opendaylight.yangtools</groupId>
161 <artifactId>checkstyle-logging</artifactId>
162 <version>${yangtools.version}</version>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-compiler-plugin</artifactId>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-surefire-plugin</artifactId>
182 <groupId>org.jacoco</groupId>
183 <artifactId>jacoco-maven-plugin</artifactId>
187 <goal>prepare-agent</goal>
196 <phase>prepare-package</phase>
198 <outputDirectory>${project.build.directory}/jacoco</outputDirectory>
199 <haltOnFailure>false</haltOnFailure>
202 <element>CLASS</element>
204 <exclude>*Test</exclude>
208 <counter>LINE</counter>
209 <value>COVEREDRATIO</value>
210 <minimum>0.50</minimum>
225 <id>integrationtests</id>
227 <activeByDefault>false</activeByDefault>
230 <module>yang-jmx-generator-it</module>