b868d47c6c558e87f6a48dcf7ba332b2dc880edd
[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   <prerequisites>
25     <maven>3.1.1</maven>
26   </prerequisites>
27
28   <scm>
29     <connection>scm:git:ssh://git.opendaylight.org:29418/${artifactId}.git</connection>
30     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/${artifactId}.git</developerConnection>
31     <tag>HEAD</tag>
32     <url>https://wiki.opendaylight.org/view/${artifactId}:Main</url>
33   </scm>
34
35   <modules>
36     <module>api</module>
37     <module>impl</module>
38     <module>karaf</module>
39     <module>features</module>
40     <module>artifacts</module>
41     <module>cli</module>
42     <module>it</module>
43   </modules>
44
45   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
46   <build>
47     <plugins>
48       <plugin>
49         <groupId>org.apache.maven.plugins</groupId>
50         <artifactId>maven-deploy-plugin</artifactId>
51         <configuration>
52           <skip>true</skip>
53         </configuration>
54       </plugin>
55       <plugin>
56         <groupId>org.apache.maven.plugins</groupId>
57         <artifactId>maven-install-plugin</artifactId>
58         <configuration>
59           <skip>true</skip>
60         </configuration>
61       </plugin>
62     </plugins>
63   </build>
64
65   <profiles>
66     <profile>
67       <!--
68           This profile is to ensure we only build javadocs reports
69           when we plan to deploy Maven site for our project.
70       -->
71       <id>maven-site</id>
72       <activation>
73         <file>
74           <exists>${user.dir}/deploy-site.xml</exists>
75         </file>
76       </activation>
77
78       <build>
79         <plugins>
80           <plugin>
81             <groupId>org.apache.maven.plugins</groupId>
82             <artifactId>maven-javadoc-plugin</artifactId>
83             <inherited>false</inherited>
84             <executions>
85               <execution>
86                 <id>aggregate</id>
87                 <goals>
88                   <goal>aggregate</goal>
89                 </goals>
90                 <phase>package</phase>
91             </execution>
92             </executions>
93           </plugin>
94         </plugins>
95       </build>
96     </profile>
97   </profiles>
98
99   <!--
100       Maven Site Configuration
101
102       The following configuration is necessary for maven-site-plugin to
103       correctly identify the correct deployment path for OpenDaylight Maven
104       sites.
105   -->
106   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
107
108   <distributionManagement>
109     <site>
110       <id>opendaylight-site</id>
111       <url>${nexus.site.url}/</url>
112     </site>
113   </distributionManagement>
114 </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.