Make annotations optional
[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>4.0.3-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>findbugs</module>
38         <module>spotbugs</module>
39         <module>license</module>
40
41         <!-- Features test (SFT) -->
42         <module>bundles-test-lib</module>
43         <module>bundles4-test</module>
44         <module>features-test</module>
45
46         <!-- Karaf integration -->
47         <module>karaf</module>
48         <module>karaf-plugin</module>
49         <module>karaf-util</module>
50
51         <!-- Parent POMs -->
52         <module>bundle-parent</module>
53         <module>untested-single-feature-parent</module>
54         <module>single-feature-parent</module>
55         <module>feature-repo-parent</module>
56         <module>odlparent</module>
57         <module>odlparent-lite</module>
58
59         <!-- Features -->
60         <module>features</module>
61
62         <!-- Artifacts -->
63         <module>odlparent-artifacts</module>
64
65         <!-- Self-tests -->
66         <module>odlparent-bundle-check</module>
67         <module>odlparent-dependency-check</module>
68     </modules>
69
70     <profiles>
71         <profile>
72             <!--
73                 This profile is to ensure we only build javadocs reports
74                 when we plan to deploy Maven site for our project.
75             -->
76             <id>maven-site</id>
77             <activation>
78                 <file>
79                     <exists>${user.dir}/deploy-site.xml</exists>
80                 </file>
81             </activation>
82
83             <build>
84                 <plugins>
85                     <plugin>
86                         <artifactId>maven-javadoc-plugin</artifactId>
87                         <version>3.0.1</version>
88                         <inherited>false</inherited>
89                         <executions>
90                             <execution>
91                                 <id>aggregate</id>
92                                 <goals>
93                                     <goal>aggregate</goal>
94                                 </goals>
95                                 <phase>package</phase>
96                             </execution>
97                         </executions>
98                     </plugin>
99                 </plugins>
100             </build>
101         </profile>
102     </profiles>
103
104 </project>