Bump versions to 7.0.4-SNAPSHOT
[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>7.0.4-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/view/ODL_Root_Parent:Main</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
45         <!-- Karaf integration -->
46         <module>karaf</module>
47         <module>karaf-plugin</module>
48         <module>karaf-util</module>
49
50         <!-- Parent POMs -->
51         <module>bundle-parent</module>
52         <module>untested-single-feature-parent</module>
53         <module>single-feature-parent</module>
54         <module>feature-repo-parent</module>
55         <module>odlparent</module>
56         <module>odlparent-lite</module>
57
58         <!-- Manifest filtering plugin -->
59         <module>filter-manifest-plugin</module>
60
61         <!-- Logging Markers -->
62         <module>logging-markers</module>
63
64         <!-- Features -->
65         <module>features</module>
66
67         <!-- Artifacts -->
68         <module>odlparent-artifacts</module>
69
70         <!-- Aggragated javadocs -->
71         <module>docs</module>
72
73         <!-- Self-tests -->
74         <module>odlparent-bundle-check</module>
75         <module>odlparent-dependency-check</module>
76         <module>tests</module>
77     </modules>
78
79     <profiles>
80         <profile>
81             <!--
82                 This profile is to ensure we only build javadocs reports
83                 when we plan to deploy Maven site for our project.
84             -->
85             <id>maven-site</id>
86             <activation>
87                 <file>
88                     <exists>${user.dir}/deploy-site.xml</exists>
89                 </file>
90             </activation>
91
92             <build>
93                 <plugins>
94                     <plugin>
95                         <artifactId>maven-javadoc-plugin</artifactId>
96                         <version>3.0.1</version>
97                         <inherited>false</inherited>
98                         <executions>
99                             <execution>
100                                 <id>aggregate</id>
101                                 <goals>
102                                     <goal>aggregate</goal>
103                                 </goals>
104                                 <phase>package</phase>
105                             </execution>
106                         </executions>
107                     </plugin>
108                 </plugins>
109             </build>
110         </profile>
111         <profile>
112             <id>sonar-jacoco-aggregate</id>
113             <activation>
114                 <property>
115                     <name>odl.jacoco.aggregateFile</name>
116                 </property>
117             </activation>
118             <build>
119                 <plugins>
120                     <plugin>
121                         <groupId>org.jacoco</groupId>
122                         <artifactId>jacoco-maven-plugin</artifactId>
123                         <executions>
124                             <execution>
125                                 <!-- Step one:
126
127                                     merge all .exec files into a single file into this project's
128                                     ${project.build.directory}/jacoco.exec. Note we are being explicit so as
129                                     to override the odlparent/pom.xml override
130                                 -->
131                                 <id>merge</id>
132                                 <goals>
133                                     <goal>merge</goal>
134                                 </goals>
135                                 <phase>generate-resources</phase>
136                                 <configuration>
137                                     <destFile>${odl.jacoco.aggregateFile}</destFile>
138                                     <fileSets>
139                                         <fileSet>
140                                             <directory>${project.basedir}</directory>
141                                             <includes>
142                                                 <include>**/target/code-coverage/*.exec</include>
143                                             </includes>
144                                         </fileSet>
145                                     </fileSets>
146                                 </configuration>
147                             </execution>
148                             <execution>
149                                 <!-- Step two:
150
151                                     pick the merged execution file and produce a complete aggregate report,
152                                     including HTML/XML/CSV.
153                                  -->
154                                 <id>report</id>
155                                 <goals>
156                                     <goal>report-aggregate</goal>
157                                 </goals>
158                                 <phase>generate-resources</phase>
159                                 <configuration>
160                                     <dataFileIncludes>${odl.jacoco.aggregateFile}</dataFileIncludes>
161                                 </configuration>
162                             </execution>
163                         </executions>
164                     </plugin>
165                 </plugins>
166             </build>
167         </profile>
168     </profiles>
169
170 </project>