Drop obsolete Maven site configuration
[controller.git] / opendaylight / archetypes / opendaylight-startup / src / main / resources / archetype-resources / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © ${copyrightYear} ${copyright} and others. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
7 -->
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</artifactId>
14     <version>2.0.5</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>${groupId}</groupId>
19   <artifactId>${artifactId}-aggregator</artifactId>
20   <version>${version}</version>
21   <name>${artifactId}</name> <!-- DO NOT CHANGE - Used by Sonar to set project name -->
22   <packaging>pom</packaging>
23
24   <scm>
25     <connection>scm:git:ssh://git.opendaylight.org:29418/${artifactId}.git</connection>
26     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/${artifactId}.git</developerConnection>
27     <tag>HEAD</tag>
28     <url>https://wiki.opendaylight.org/view/${artifactId}:Main</url>
29   </scm>
30
31   <modules>
32     <module>api</module>
33     <module>impl</module>
34     <module>karaf</module>
35     <module>features</module>
36     <module>artifacts</module>
37     <module>cli</module>
38     <!-- <module>it</module> -->
39   </modules>
40
41   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
42   <build>
43     <plugins>
44       <plugin>
45         <groupId>org.apache.maven.plugins</groupId>
46         <artifactId>maven-deploy-plugin</artifactId>
47         <configuration>
48           <skip>true</skip>
49         </configuration>
50       </plugin>
51       <plugin>
52         <groupId>org.apache.maven.plugins</groupId>
53         <artifactId>maven-install-plugin</artifactId>
54         <configuration>
55           <skip>true</skip>
56         </configuration>
57       </plugin>
58     </plugins>
59   </build>
60
61   <profiles>
62     <profile>
63       <!--
64           This profile is to ensure we only build javadocs reports
65           when we plan to deploy Maven site for our project.
66       -->
67       <id>maven-site</id>
68       <activation>
69         <file>
70           <exists>${user.dir}/deploy-site.xml</exists>
71         </file>
72       </activation>
73
74       <build>
75         <plugins>
76           <plugin>
77             <groupId>org.apache.maven.plugins</groupId>
78             <artifactId>maven-javadoc-plugin</artifactId>
79             <inherited>false</inherited>
80             <executions>
81               <execution>
82                 <id>aggregate</id>
83                 <goals>
84                   <goal>aggregate</goal>
85                 </goals>
86                 <phase>package</phase>
87               </execution>
88             </executions>
89           </plugin>
90           <plugin>
91             <artifactId>maven-checkstyle-plugin</artifactId>
92             <configuration>
93               <failsOnError>true</failsOnError>
94             </configuration>
95           </plugin>
96         </plugins>
97       </build>
98     </profile>
99   </profiles>
100
101 </project>