1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <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">
4 <modelVersion>4.0.0</modelVersion>
7 <groupId>org.opendaylight.controller</groupId>
8 <artifactId>commons.opendaylight</artifactId>
9 <version>1.4.2-SNAPSHOT</version>
10 <relativePath>../commons/opendaylight</relativePath>
12 <artifactId>config-subsystem</artifactId>
14 <version>0.2.5-SNAPSHOT</version>
15 <packaging>pom</packaging>
16 <name>${project.artifactId}</name>
21 <module>config-api</module>
22 <module>config-manager</module>
23 <module>config-plugin-parent</module>
24 <module>config-util</module>
25 <module>config-persister-api</module>
26 <module>config-persister-file-xml-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>feature</module>
48 <groupId>org.osgi</groupId>
49 <artifactId>org.osgi.compendium</artifactId>
52 <groupId>org.osgi</groupId>
53 <artifactId>org.osgi.core</artifactId>
56 <groupId>ch.qos.logback</groupId>
57 <artifactId>logback-classic</artifactId>
61 <groupId>junit</groupId>
62 <artifactId>junit</artifactId>
72 <groupId>org.apache.felix</groupId>
73 <artifactId>maven-bundle-plugin</artifactId>
74 <extensions>true</extensions>
77 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-antrun-plugin</artifactId>
84 <version>1.3</version>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-jar-plugin</artifactId>
89 <version>2.4</version>
95 <phase>package</phase>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-surefire-plugin</artifactId>
102 <version>2.14.1</version>
104 <redirectTestOutputToFile>true</redirectTestOutputToFile>
105 <parallel>classes</parallel>
106 <forkCount>1C</forkCount>
107 <reuseForks>false</reuseForks>
108 <perCoreThreadCount>true</perCoreThreadCount>
109 <threadCount>2</threadCount>
113 <groupId>org.codehaus.groovy.maven</groupId>
114 <artifactId>gmaven-plugin</artifactId>
115 <version>1.0</version>
118 <groupId>org.opendaylight.yangtools</groupId>
119 <artifactId>yang-maven-plugin</artifactId>
120 <version>${yangtools.version}</version>
123 <groupId>org.opendaylight.yangtools</groupId>
124 <artifactId>maven-sal-api-gen-plugin</artifactId>
125 <version>${yangtools.version}</version>
133 <goal>generate-sources</goal>
136 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
139 <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
140 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
143 <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
144 <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
147 <inspectDependencies>true</inspectDependencies>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-checkstyle-plugin</artifactId>
158 <version>2.12</version>
160 <failsOnError>false</failsOnError>
161 <failOnViolation>false</failOnViolation>
162 <configLocation>checkstyle-logging.xml</configLocation>
163 <consoleOutput>true</consoleOutput>
164 <includeTestSourceDirectory>true</includeTestSourceDirectory>
165 <sourceDirectory>${project.basedir}</sourceDirectory>
166 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
167 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
171 <groupId>org.opendaylight.yangtools</groupId>
172 <artifactId>checkstyle-logging</artifactId>
173 <version>${yangtools.version}</version>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-compiler-plugin</artifactId>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-surefire-plugin</artifactId>
193 <groupId>org.jacoco</groupId>
194 <artifactId>jacoco-maven-plugin</artifactId>
198 <goal>prepare-agent</goal>
207 <phase>prepare-package</phase>
209 <outputDirectory>${project.build.directory}/jacoco</outputDirectory>
210 <haltOnFailure>false</haltOnFailure>
212 <classRatio>80</classRatio>
224 <id>integrationtests</id>
226 <activeByDefault>false</activeByDefault>
229 <module>yang-jmx-generator-it</module>