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.5.0-SNAPSHOT</version>
9 <relativePath>../commons/opendaylight</relativePath>
11 <artifactId>config-subsystem</artifactId>
13 <version>0.3.0-SNAPSHOT</version>
14 <packaging>pom</packaging>
15 <name>${project.artifactId}</name>
20 <module>config-api</module>
21 <module>config-manager</module>
22 <module>config-plugin-parent</module>
23 <module>config-util</module>
24 <module>config-persister-api</module>
25 <module>config-persister-file-xml-adapter</module>
26 <module>config-persister-feature-adapter</module>
27 <module>yang-jmx-generator</module>
28 <module>yang-jmx-generator-plugin</module>
29 <module>yang-test</module>
30 <module>logback-config</module>
31 <module>threadpool-config-api</module>
32 <module>netty-config-api</module>
33 <module>threadpool-config-impl</module>
34 <module>netty-threadgroup-config</module>
35 <module>netty-event-executor-config</module>
36 <module>netty-timer-config</module>
37 <module>config-persister-directory-xml-adapter</module>
38 <module>yang-test-plugin</module>
39 <module>shutdown-api</module>
40 <module>shutdown-impl</module>
41 <module>netconf-config-dispatcher</module>
42 <module>config-module-archetype</module>
43 <module>config-netty-config</module>
45 <module>config-artifacts</module>
50 <groupId>org.osgi</groupId>
51 <artifactId>org.osgi.compendium</artifactId>
54 <groupId>org.osgi</groupId>
55 <artifactId>org.osgi.core</artifactId>
58 <groupId>ch.qos.logback</groupId>
59 <artifactId>logback-classic</artifactId>
63 <groupId>junit</groupId>
64 <artifactId>junit</artifactId>
74 <groupId>org.apache.felix</groupId>
75 <artifactId>maven-bundle-plugin</artifactId>
76 <extensions>true</extensions>
79 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-antrun-plugin</artifactId>
86 <version>${maven.antrun.plugin.version}</version>
89 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-jar-plugin</artifactId>
96 <phase>package</phase>
101 <groupId>org.codehaus.groovy.maven</groupId>
102 <artifactId>gmaven-plugin</artifactId>
103 <version>${gmaven.plugin.version}</version>
106 <groupId>org.opendaylight.yangtools</groupId>
107 <artifactId>yang-maven-plugin</artifactId>
108 <version>${yangtools.version}</version>
111 <groupId>org.opendaylight.yangtools</groupId>
112 <artifactId>maven-sal-api-gen-plugin</artifactId>
113 <version>${yangtools.version}</version>
121 <goal>generate-sources</goal>
124 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
127 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
128 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
131 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
132 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
135 <inspectDependencies>true</inspectDependencies>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-checkstyle-plugin</artifactId>
147 <failsOnError>false</failsOnError>
148 <failOnViolation>false</failOnViolation>
149 <configLocation>checkstyle-logging.xml</configLocation>
150 <consoleOutput>true</consoleOutput>
151 <includeTestSourceDirectory>true</includeTestSourceDirectory>
152 <sourceDirectory>${project.basedir}</sourceDirectory>
153 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
154 <!-- excluding logback-config, has several checkstyle warnings
155 regarding Logger/LoggerFactory, which couldn't be removed due necessity/intention
156 to use the particular implementation/library of Logger/LoggerFactory -->
157 <excludes>**\/logback-config\/,**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
161 <groupId>org.opendaylight.yangtools</groupId>
162 <artifactId>checkstyle-logging</artifactId>
163 <version>${yangtools.version}</version>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-compiler-plugin</artifactId>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-surefire-plugin</artifactId>
183 <groupId>org.jacoco</groupId>
184 <artifactId>jacoco-maven-plugin</artifactId>
188 <goal>prepare-agent</goal>
197 <phase>prepare-package</phase>
199 <outputDirectory>${project.build.directory}/jacoco</outputDirectory>
200 <haltOnFailure>false</haltOnFailure>
203 <element>CLASS</element>
205 <exclude>*Test</exclude>
209 <counter>LINE</counter>
210 <value>COVEREDRATIO</value>
211 <minimum>0.50</minimum>
226 <id>integrationtests</id>
228 <activeByDefault>false</activeByDefault>
231 <module>yang-jmx-generator-it</module>