Release Carbon
[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.8.0-Carbon</version>
24         <relativePath/>
25     </parent>
26
27     <groupId>org.opendaylight.bgpcep</groupId>
28     <artifactId>bgpcep-aggregator</artifactId>
29     <version>0.7.0-Carbon</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
66     </modules>
67
68     <build>
69         <plugins>
70             <plugin>
71                 <artifactId>maven-deploy-plugin</artifactId>
72                 <configuration>
73                     <skip>true</skip>
74                 </configuration>
75             </plugin>
76             <plugin>
77                 <groupId>org.apache.maven.plugins</groupId>
78                 <artifactId>maven-javadoc-plugin</artifactId>
79                 <executions>
80                     <execution>
81                         <id>aggregate</id>
82                         <goals>
83                             <goal>aggregate</goal>
84                         </goals>
85                         <phase>site</phase>
86                     </execution>
87                 </executions>
88             </plugin>
89         </plugins>
90     </build>
91
92     <reporting>
93         <plugins>
94             <plugin>
95                 <groupId>org.apache.maven.plugins</groupId>
96                 <artifactId>maven-project-info-reports-plugin</artifactId>
97                 <version>${maven.info.reports.version}</version>
98                 <reportSets>
99                     <reportSet>
100                         <reports>
101                             <report>dependency-info</report>
102                             <report>license</report>
103                         </reports>
104                     </reportSet>
105                 </reportSets>
106             </plugin>
107         </plugins>
108     </reporting>
109
110   <profiles>
111     <profile>
112       <!--
113           This profile is to ensure we only build javadocs reports
114           when we plan to deploy Maven site for our project.
115       -->
116       <id>maven-site</id>
117       <activation>
118         <file>
119           <exists>${user.dir}/deploy-site.xml</exists>
120         </file>
121       </activation>
122
123       <build>
124         <plugins>
125           <plugin>
126             <groupId>org.apache.maven.plugins</groupId>
127             <artifactId>maven-javadoc-plugin</artifactId>
128             <inherited>false</inherited>
129             <executions>
130               <execution>
131                 <id>aggregate</id>
132                 <goals>
133                   <goal>aggregate</goal>
134                 </goals>
135                 <phase>package</phase>
136             </execution>
137             </executions>
138           </plugin>
139         </plugins>
140       </build>
141     </profile>
142   </profiles>
143
144   <!--
145       Maven Site Configuration
146
147       The following configuration is necessary for maven-site-plugin to
148       correctly identify the correct deployment path for OpenDaylight Maven
149       sites.
150   -->
151   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
152
153   <distributionManagement>
154     <site>
155       <id>opendaylight-site</id>
156       <url>${nexus.site.url}/</url>
157     </site>
158   </distributionManagement>
159 </project>