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