Remove <prerequisites><maven> from 4 archetype pom.xml
[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>1.8.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>${groupId}</groupId>
19   <artifactId>${artifactId}-aggregator</artifactId>
20   <version>${version}</version>
21   <name>${artifactId}</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         </plugins>
91       </build>
92     </profile>
93   </profiles>
94
95   <!--
96       Maven Site Configuration
97
98       The following configuration is necessary for maven-site-plugin to
99       correctly identify the correct deployment path for OpenDaylight Maven
100       sites.
101   -->
102   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
103
104   <distributionManagement>
105     <site>
106       <id>opendaylight-site</id>
107       <url>${nexus.site.url}/</url>
108     </site>
109   </distributionManagement>
110 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.