Merge "Fixed typo in SnapshotBackedWriteTransaction class"
[controller.git] / opendaylight / config / pom.xml
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>
5
6   <parent>
7     <groupId>org.opendaylight.controller</groupId>
8     <artifactId>commons.opendaylight</artifactId>
9     <version>1.4.2-SNAPSHOT</version>
10     <relativePath>../commons/opendaylight</relativePath>
11   </parent>
12   <artifactId>config-subsystem</artifactId>
13
14   <version>0.2.5-SNAPSHOT</version>
15   <packaging>pom</packaging>
16   <name>${project.artifactId}</name>
17   <prerequisites>
18     <maven>3.0.4</maven>
19   </prerequisites>
20   <modules>
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   </modules>
44
45   <dependencies>
46     <dependency>
47       <groupId>org.osgi</groupId>
48       <artifactId>org.osgi.compendium</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.osgi</groupId>
52       <artifactId>org.osgi.core</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>ch.qos.logback</groupId>
56       <artifactId>logback-classic</artifactId>
57       <scope>test</scope>
58     </dependency>
59     <dependency>
60       <groupId>junit</groupId>
61       <artifactId>junit</artifactId>
62       <scope>test</scope>
63     </dependency>
64   </dependencies>
65
66   <build>
67
68     <pluginManagement>
69       <plugins>
70         <plugin>
71           <groupId>org.apache.felix</groupId>
72           <artifactId>maven-bundle-plugin</artifactId>
73           <extensions>true</extensions>
74           <configuration>
75             <instructions>
76               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
77             </instructions>
78           </configuration>
79         </plugin>
80         <plugin>
81           <groupId>org.apache.maven.plugins</groupId>
82           <artifactId>maven-antrun-plugin</artifactId>
83           <version>1.3</version>
84         </plugin>
85         <plugin>
86           <groupId>org.apache.maven.plugins</groupId>
87           <artifactId>maven-jar-plugin</artifactId>
88           <version>2.4</version>
89           <executions>
90             <execution>
91               <goals>
92                 <goal>test-jar</goal>
93               </goals>
94               <phase>package</phase>
95             </execution>
96           </executions>
97         </plugin>
98         <plugin>
99           <groupId>org.apache.maven.plugins</groupId>
100           <artifactId>maven-surefire-plugin</artifactId>
101           <version>2.14.1</version>
102           <configuration>
103             <redirectTestOutputToFile>true</redirectTestOutputToFile>
104             <parallel>classes</parallel>
105             <forkCount>1C</forkCount>
106             <reuseForks>false</reuseForks>
107             <perCoreThreadCount>true</perCoreThreadCount>
108             <threadCount>2</threadCount>
109           </configuration>
110         </plugin>
111         <plugin>
112           <groupId>org.codehaus.groovy.maven</groupId>
113           <artifactId>gmaven-plugin</artifactId>
114           <version>1.0</version>
115         </plugin>
116         <plugin>
117           <groupId>org.opendaylight.yangtools</groupId>
118           <artifactId>yang-maven-plugin</artifactId>
119           <version>${yangtools.version}</version>
120           <dependencies>
121             <dependency>
122               <groupId>org.opendaylight.yangtools</groupId>
123               <artifactId>maven-sal-api-gen-plugin</artifactId>
124               <version>${yangtools.version}</version>
125               <type>jar</type>
126             </dependency>
127           </dependencies>
128           <executions>
129             <execution>
130               <id>sal</id>
131               <goals>
132                 <goal>generate-sources</goal>
133               </goals>
134               <configuration>
135                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
136                 <codeGenerators>
137                   <generator>
138                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
139                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
140                   </generator>
141                   <generator>
142                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
143                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
144                   </generator>
145                 </codeGenerators>
146                 <inspectDependencies>true</inspectDependencies>
147               </configuration>
148             </execution>
149           </executions>
150         </plugin>
151       </plugins>
152     </pluginManagement>
153     <plugins>
154       <plugin>
155         <groupId>org.apache.maven.plugins</groupId>
156         <artifactId>maven-compiler-plugin</artifactId>
157       </plugin>
158       <plugin>
159         <groupId>org.apache.maven.plugins</groupId>
160         <artifactId>maven-surefire-plugin</artifactId>
161       </plugin>
162       <plugin>
163         <groupId>org.jacoco</groupId>
164         <artifactId>jacoco-maven-plugin</artifactId>
165         <version>${jacoco.version}</version>
166         <executions>
167           <execution>
168             <goals>
169               <goal>prepare-agent</goal>
170             </goals>
171           </execution>
172           <execution>
173             <id>report</id>
174             <goals>
175               <goal>check</goal>
176               <goal>report</goal>
177             </goals>
178             <phase>prepare-package</phase>
179             <configuration>
180               <outputDirectory>${project.build.directory}/jacoco</outputDirectory>
181               <haltOnFailure>false</haltOnFailure>
182               <check>
183                 <classRatio>80</classRatio>
184               </check>
185             </configuration>
186           </execution>
187         </executions>
188       </plugin>
189
190     </plugins>
191   </build>
192
193   <profiles>
194     <profile>
195       <id>integrationtests</id>
196       <activation>
197         <activeByDefault>false</activeByDefault>
198       </activation>
199       <modules>
200         <module>yang-jmx-generator-it</module>
201       </modules>
202     </profile>
203   </profiles>
204 </project>