Bump checkstyle to 10.15.0
[odlparent.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3  Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 --><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">
9     <modelVersion>4.0.0</modelVersion>
10
11     <parent>
12         <groupId>org.opendaylight.odlparent</groupId>
13         <artifactId>odlparent-lite</artifactId>
14         <version>13.1.0-SNAPSHOT</version>
15         <relativePath>odlparent-lite</relativePath>
16     </parent>
17
18     <artifactId>odlparent-aggregator</artifactId>
19     <name>odlparent</name> <!-- Used by Sonar to set project name -->
20     <packaging>pom</packaging>
21
22     <scm>
23         <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
24         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
25         <tag>HEAD</tag>
26         <url>https://wiki.opendaylight.org/display/ODL/ODL+Root+Parent</url>
27     </scm>
28
29     <properties>
30         <maven.deploy.skip>true</maven.deploy.skip>
31         <maven.install.skip>true</maven.install.skip>
32     </properties>
33
34     <modules>
35         <!-- odlparent tools -->
36         <module>checkstyle</module>
37         <module>spotbugs</module>
38         <module>license</module>
39
40         <!-- Features test (SFT) -->
41         <module>bundles-test-lib</module>
42         <module>bundles4-test</module>
43         <module>features-test</module>
44         <module>features-test-plugin</module>
45         <module>features-test-plugin-it</module>
46
47         <!-- Karaf integration -->
48         <module>karaf</module>
49         <module>karaf-plugin</module>
50         <module>karaf-util</module>
51
52         <!-- Parent POMs -->
53         <module>bnd-parent</module>
54         <module>bundle-parent</module>
55         <module>abstract-feature-parent</module>
56         <module>single-feature-parent</module>
57         <module>template-feature-parent</module>
58         <module>feature-repo-parent</module>
59         <module>odlparent</module>
60         <module>odlparent-lite</module>
61
62         <!-- Plugin for processing templates for Karaf features -->
63         <module>template-feature-plugin</module>
64
65         <!-- File copying plugin -->
66         <module>copy-files-plugin</module>
67
68         <!-- Manifest filtering plugin -->
69         <module>filter-manifest-plugin</module>
70
71         <!-- Logging Markers -->
72         <module>logging-markers</module>
73
74         <!-- Features -->
75         <module>features</module>
76
77         <!-- Artifacts -->
78         <module>odlparent-artifacts</module>
79
80         <!-- Aggragated javadocs -->
81         <module>docs</module>
82
83         <!-- Self-tests -->
84         <module>odlparent-bundle-check</module>
85         <module>odlparent-dependency-check</module>
86         <module>tests</module>
87     </modules>
88
89     <profiles>
90         <profile>
91             <!--
92                 This profile is to ensure we only build javadocs reports
93                 when we plan to deploy Maven site for our project.
94             -->
95             <id>maven-site</id>
96             <activation>
97                 <file>
98                     <exists>${user.dir}/deploy-site.xml</exists>
99                 </file>
100             </activation>
101
102             <build>
103                 <plugins>
104                     <plugin>
105                         <artifactId>maven-javadoc-plugin</artifactId>
106                         <version>3.4.0</version>
107                         <inherited>false</inherited>
108                         <executions>
109                             <execution>
110                                 <id>aggregate</id>
111                                 <goals>
112                                     <goal>aggregate</goal>
113                                 </goals>
114                                 <phase>package</phase>
115                             </execution>
116                         </executions>
117                     </plugin>
118                 </plugins>
119             </build>
120         </profile>
121         <profile>
122             <id>sonar-jacoco-aggregate</id>
123             <activation>
124                 <property>
125                     <name>odl.jacoco.aggregateFile</name>
126                 </property>
127             </activation>
128             <build>
129                 <plugins>
130                     <plugin>
131                         <groupId>org.jacoco</groupId>
132                         <artifactId>jacoco-maven-plugin</artifactId>
133                         <executions>
134                             <execution>
135                                 <id>merge</id>
136                                 <goals>
137                                     <goal>merge</goal>
138                                 </goals>
139                                 <phase>generate-resources</phase>
140                                 <configuration>
141                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
142                                     <fileSets>
143                                         <fileSet>
144                                             <directory>${project.basedir}</directory>
145                                             <includes>
146                                                 <include>**/target/code-coverage/*.exec</include>
147                                             </includes>
148                                         </fileSet>
149                                     </fileSets>
150                                 </configuration>
151                             </execution>
152                         </executions>
153                     </plugin>
154                 </plugins>
155             </build>
156         </profile>
157     </profiles>
158
159 </project>