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>config-manager-facade-xml</module>
26 <module>yang-jmx-generator</module>
27 <module>yang-jmx-generator-plugin</module>
28 <module>yang-test</module>
29 <module>logback-config</module>
30 <module>threadpool-config-api</module>
31 <module>netty-config-api</module>
32 <module>threadpool-config-impl</module>
33 <module>netty-threadgroup-config</module>
34 <module>netty-event-executor-config</module>
35 <module>netty-timer-config</module>
36 <module>config-persister-directory-xml-adapter</module>
37 <module>yang-test-plugin</module>
38 <module>shutdown-api</module>
39 <module>shutdown-impl</module>
40 <module>config-module-archetype</module>
41 <module>config-netty-config</module>
43 <module>config-artifacts</module>
44 <module>config-parent</module>
45 <module>config-persister-impl</module>
46 <module>config-it-base</module>
51 <groupId>org.osgi</groupId>
52 <artifactId>org.osgi.compendium</artifactId>
55 <groupId>org.osgi</groupId>
56 <artifactId>org.osgi.core</artifactId>
59 <groupId>ch.qos.logback</groupId>
60 <artifactId>logback-classic</artifactId>
64 <groupId>junit</groupId>
65 <artifactId>junit</artifactId>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>maven-bundle-plugin</artifactId>
77 <extensions>true</extensions>
80 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-antrun-plugin</artifactId>
87 <version>${maven.antrun.plugin.version}</version>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-jar-plugin</artifactId>
97 <phase>package</phase>
102 <groupId>org.opendaylight.yangtools</groupId>
103 <artifactId>yang-maven-plugin</artifactId>
104 <version>${yangtools.version}</version>
107 <groupId>org.opendaylight.mdsal</groupId>
108 <artifactId>maven-sal-api-gen-plugin</artifactId>
109 <version>0.8.0-SNAPSHOT</version>
117 <goal>generate-sources</goal>
120 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
123 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
124 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
127 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
128 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
131 <inspectDependencies>true</inspectDependencies>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-checkstyle-plugin</artifactId>
143 <failsOnError>false</failsOnError>
144 <failOnViolation>true</failOnViolation>
145 <configLocation>checkstyle-logging.xml</configLocation>
146 <consoleOutput>true</consoleOutput>
147 <includeTestSourceDirectory>true</includeTestSourceDirectory>
148 <sourceDirectory>${project.basedir}</sourceDirectory>
149 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
150 <!-- excluding logback-config, has several checkstyle warnings
151 regarding Logger/LoggerFactory, which couldn't be removed due necessity/intention
152 to use the particular implementation/library of Logger/LoggerFactory -->
153 <excludes>**\/config\/yang\/logback\/config\/**,**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
157 <groupId>org.opendaylight.yangtools</groupId>
158 <artifactId>checkstyle-logging</artifactId>
159 <version>${yangtools.version}</version>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-compiler-plugin</artifactId>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-surefire-plugin</artifactId>
179 <groupId>org.jacoco</groupId>
180 <artifactId>jacoco-maven-plugin</artifactId>
184 <goal>prepare-agent</goal>
193 <phase>prepare-package</phase>
195 <outputDirectory>${project.build.directory}/jacoco</outputDirectory>
196 <haltOnFailure>false</haltOnFailure>
199 <element>CLASS</element>
201 <exclude>*Test</exclude>
205 <counter>LINE</counter>
206 <value>COVEREDRATIO</value>
207 <minimum>0.50</minimum>
222 <id>integrationtests</id>
224 <activeByDefault>false</activeByDefault>
227 <module>yang-jmx-generator-it</module>