Checkstyle maven plugin check - md-sal
[controller.git] / opendaylight / md-sal / pom.xml
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>
4
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>commons.opendaylight</artifactId>
8     <version>1.4.2-SNAPSHOT</version>
9     <relativePath>../commons/opendaylight</relativePath>
10   </parent>
11
12   <artifactId>sal-parent</artifactId>
13   <version>1.1-SNAPSHOT</version>
14   <packaging>pom</packaging>
15
16   <modules>
17     <!-- Common APIs & Implementation -->
18     <module>sal-common</module>
19     <module>sal-common-api</module>
20     <module>sal-common-impl</module>
21     <module>sal-common-util</module>
22
23     <!-- Binding Independent -->
24     <module>sal-dom-api</module>
25     <module>sal-dom-broker</module>
26     <module>sal-dom-spi</module>
27
28     <!-- Binding Aware -->
29     <module>sal-binding-api</module>
30     <module>sal-binding-config</module>
31     <module>sal-binding-broker</module>
32
33     <module>sal-binding-util</module>
34
35     <!-- Samples -->
36     <module>samples</module>
37
38     <!-- Base Models -->
39     <module>model</module>
40     <module>sal-remote</module>
41     <module>sal-restconf-broker</module>
42
43     <!-- Connectors -->
44     <module>sal-connector-api</module>
45     <module>sal-rest-connector</module>
46     <module>sal-netconf-connector</module>
47
48     <module>inventory-manager</module>
49     <module>statistics-manager</module>
50     <module>topology-manager</module>
51     <module>forwardingrules-manager</module>
52     <module>topology-lldp-discovery</module>
53
54     <!-- Compability Packages -->
55     <module>compatibility</module>
56
57     <!-- Clustering -->
58     <module>remoterpc-routingtable/implementation</module>
59     <module>sal-remoterpc-connector/implementation</module>
60     <!-- Documentation -->
61     <module>sal-rest-docgen</module>
62
63     <!--  Karaf feature -->
64     <module>feature</module>
65
66   </modules>
67
68   <build>
69     <pluginManagement>
70       <plugins>
71         <plugin>
72           <groupId>org.apache.felix</groupId>
73           <artifactId>maven-bundle-plugin</artifactId>
74           <version>${bundle.plugin.version}</version>
75           <extensions>true</extensions>
76           <!--executions> <execution> <id>bundle-manifest</id>
77                         <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
78                         </executions -->
79           <configuration>
80             <instructions>
81               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
82             </instructions>
83             <manifestLocation>${project.basedir}/META-INF</manifestLocation>
84           </configuration>
85         </plugin>
86         <!--This plugin's configuration is used to store Eclipse
87                     m2e settings only. It has no influence on the Maven build itself. -->
88         <plugin>
89           <groupId>org.eclipse.m2e</groupId>
90           <artifactId>lifecycle-mapping</artifactId>
91           <version>1.0.0</version>
92           <configuration>
93             <lifecycleMappingMetadata>
94               <pluginExecutions>
95                 <pluginExecution>
96                   <pluginExecutionFilter>
97                     <groupId>net.alchim31.maven</groupId>
98                     <artifactId>scala-maven-plugin</artifactId>
99                     <versionRange>[0,)</versionRange>
100                     <goals>
101                       <goal>compile</goal>
102                       <goal>testCompile</goal>
103                     </goals>
104                   </pluginExecutionFilter>
105                   <action>
106                     <ignore></ignore>
107                   </action>
108                 </pluginExecution>
109                 <pluginExecution>
110                   <pluginExecutionFilter>
111                     <groupId>org.jacoco</groupId>
112                     <artifactId>jacoco-maven-plugin</artifactId>
113                     <versionRange>[0,)</versionRange>
114                     <goals>
115                       <goal>prepare-agent</goal>
116                     </goals>
117                   </pluginExecutionFilter>
118                   <action>
119                     <ignore></ignore>
120                   </action>
121                 </pluginExecution>
122               </pluginExecutions>
123             </lifecycleMappingMetadata>
124           </configuration>
125         </plugin>
126         <plugin>
127           <groupId>org.eclipse.xtend</groupId>
128           <artifactId>xtend-maven-plugin</artifactId>
129           <version>${xtend.version}</version>
130         </plugin>
131         <plugin>
132           <groupId>org.jacoco</groupId>
133           <artifactId>jacoco-maven-plugin</artifactId>
134           <version>${jacoco.version}</version>
135         </plugin>
136       </plugins>
137
138     </pluginManagement>
139     <plugins>
140       <plugin>
141         <groupId>org.apache.felix</groupId>
142         <artifactId>maven-bundle-plugin</artifactId>
143       </plugin>
144       <plugin>
145         <!-- FIXME: BUG-272: remove this configuration override -->
146         <!-- replaced with new configuration -->
147         <groupId>org.apache.maven.plugins</groupId>
148         <artifactId>maven-checkstyle-plugin</artifactId>
149         <version>2.12</version>
150         <configuration>
151           <failsOnError>false</failsOnError>
152           <failOnViolation>false</failOnViolation>
153           <configLocation>checkstyle-logging.xml</configLocation>
154           <consoleOutput>true</consoleOutput>
155           <includeTestSourceDirectory>true</includeTestSourceDirectory>
156           <sourceDirectory>${project.basedir}</sourceDirectory>
157           <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
158           <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
159         </configuration>
160         <dependencies>
161           <dependency>
162             <groupId>org.opendaylight.yangtools</groupId>
163             <artifactId>checkstyle-logging</artifactId>
164             <version>${yangtools.version}</version>
165           </dependency>
166         </dependencies>
167         <executions>
168           <execution>
169             <goals>
170               <goal>check</goal>
171             </goals>
172           </execution>
173         </executions>
174       </plugin>
175       <plugin>
176         <groupId>org.apache.maven.plugins</groupId>
177         <artifactId>maven-jar-plugin</artifactId>
178       </plugin>
179       <plugin>
180         <groupId>org.opendaylight.yangtools</groupId>
181         <artifactId>yang-maven-plugin</artifactId>
182         <dependencies>
183           <dependency>
184             <groupId>org.opendaylight.controller</groupId>
185             <artifactId>yang-jmx-generator-plugin</artifactId>
186             <version>${config.version}</version>
187           </dependency>
188         </dependencies>
189       </plugin>
190     </plugins>
191   </build>
192   <reporting>
193     <plugins>
194       <plugin>
195         <groupId>org.codehaus.mojo</groupId>
196         <artifactId>findbugs-maven-plugin</artifactId>
197         <version>2.4.0</version>
198         <configuration>
199           <effort>Max</effort>
200           <threshold>Low</threshold>
201           <goal>site</goal>
202         </configuration>
203       </plugin>
204       <plugin>
205         <groupId>org.codehaus.mojo</groupId>
206         <artifactId>jdepend-maven-plugin</artifactId>
207         <version>2.0-beta-2</version>
208       </plugin>
209     </plugins>
210   </reporting>
211   <scm>
212     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
213     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
214     <tag>HEAD</tag>
215     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
216   </scm>
217
218   <profiles>
219     <profile>
220       <id>integrationtests</id>
221       <activation>
222         <activeByDefault>false</activeByDefault>
223       </activation>
224       <modules>
225         <module>sal-binding-it</module>
226         <module>sal-binding-dom-it</module>
227       </modules>
228     </profile>
229   </profiles>
230 </project>