Migrate to odlparent 1.9.0
[bgpcep.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10
11 <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">
12
13     <modelVersion>4.0.0</modelVersion>
14     <scm>
15         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
16         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
17         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
18         <tag>HEAD</tag>
19     </scm>
20     <parent>
21         <groupId>org.opendaylight.odlparent</groupId>
22         <artifactId>odlparent-lite</artifactId>
23         <version>1.9.0</version>
24         <relativePath/>
25     </parent>
26
27     <groupId>org.opendaylight.bgpcep</groupId>
28     <artifactId>bgpcep-aggregator</artifactId>
29     <version>0.8.0-SNAPSHOT</version>
30     <packaging>pom</packaging>
31     <name>bgpcep</name> <!-- Used by Sonar to set project name -->
32     <description>BGPCEP top-level aggregator</description>
33
34     <modules>
35         <!-- Well-known -->
36         <module>artifacts</module>
37         <module>features</module>
38         <module>parent</module>
39
40         <!-- Utility parents -->
41         <module>binding-parent</module>
42         <module>bundle-parent</module>
43         <module>config-parent</module>
44
45         <!-- Common infra -->
46         <module>concepts</module>
47         <module>util</module>
48
49         <!-- Subsystems -->
50         <module>bgp</module>
51         <module>pcep</module>
52         <module>programming</module>
53         <module>rsvp</module>
54         <module>topology</module>
55
56         <!-- Integration tests -->
57         <module>integration-tests</module>
58
59         <!--Test tools -->
60         <module>data-change-counter</module>
61         <module>testtool-util</module>
62         <module>data-change-counter-controller-config</module>
63
64         <module>distribution-karaf</module>
65         <module>dependency-version-management</module>
66
67     </modules>
68
69     <build>
70         <plugins>
71             <plugin>
72                 <artifactId>maven-deploy-plugin</artifactId>
73                 <configuration>
74                     <skip>true</skip>
75                 </configuration>
76             </plugin>
77             <plugin>
78                 <groupId>org.apache.maven.plugins</groupId>
79                 <artifactId>maven-javadoc-plugin</artifactId>
80                 <executions>
81                     <execution>
82                         <id>aggregate</id>
83                         <goals>
84                             <goal>aggregate</goal>
85                         </goals>
86                         <phase>site</phase>
87                     </execution>
88                 </executions>
89             </plugin>
90         </plugins>
91     </build>
92
93     <reporting>
94         <plugins>
95             <plugin>
96                 <groupId>org.apache.maven.plugins</groupId>
97                 <artifactId>maven-project-info-reports-plugin</artifactId>
98                 <version>${maven.info.reports.version}</version>
99                 <reportSets>
100                     <reportSet>
101                         <reports>
102                             <report>dependency-info</report>
103                             <report>license</report>
104                         </reports>
105                     </reportSet>
106                 </reportSets>
107             </plugin>
108         </plugins>
109     </reporting>
110
111   <profiles>
112     <profile>
113       <!--
114           This profile is to ensure we only build javadocs reports
115           when we plan to deploy Maven site for our project.
116       -->
117       <id>maven-site</id>
118       <activation>
119         <file>
120           <exists>${user.dir}/deploy-site.xml</exists>
121         </file>
122       </activation>
123
124       <build>
125         <plugins>
126           <plugin>
127             <groupId>org.apache.maven.plugins</groupId>
128             <artifactId>maven-javadoc-plugin</artifactId>
129             <inherited>false</inherited>
130             <executions>
131               <execution>
132                 <id>aggregate</id>
133                 <goals>
134                   <goal>aggregate</goal>
135                 </goals>
136                 <phase>package</phase>
137             </execution>
138             </executions>
139           </plugin>
140         </plugins>
141       </build>
142     </profile>
143   </profiles>
144
145   <!--
146       Maven Site Configuration
147
148       The following configuration is necessary for maven-site-plugin to
149       correctly identify the correct deployment path for OpenDaylight Maven
150       sites.
151   -->
152   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
153
154   <distributionManagement>
155     <site>
156       <id>opendaylight-site</id>
157       <url>${nexus.site.url}/</url>
158     </site>
159   </distributionManagement>
160 </project>