Add feature-repo-parent pom
[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>3.0.2</version>
24         <relativePath/>
25     </parent>
26
27     <groupId>org.opendaylight.bgpcep</groupId>
28     <artifactId>bgpcep-aggregator</artifactId>
29     <version>0.9.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         <module>testtool-parent</module>
45         <module>single-feature-parent</module>
46         <module>feature-repo-parent</module>
47
48         <!-- Common infra -->
49         <module>concepts</module>
50         <module>dependency-version-management</module>
51         <module>util</module>
52
53         <!-- Subsystems -->
54         <module>bgp</module>
55         <module>bmp</module>
56         <module>pcep</module>
57         <module>programming</module>
58         <module>rsvp</module>
59         <module>topology</module>
60         <module>config-loader</module>
61
62         <!--Test tools -->
63         <module>data-change-counter</module>
64         <module>testtool-util</module>
65
66         <!-- Minimal complete distribution -->
67         <module>distribution-karaf</module>
68     </modules>
69
70     <build>
71         <plugins>
72             <plugin>
73                 <artifactId>maven-deploy-plugin</artifactId>
74                 <configuration>
75                     <skip>true</skip>
76                 </configuration>
77             </plugin>
78             <plugin>
79                 <groupId>org.apache.maven.plugins</groupId>
80                 <artifactId>maven-javadoc-plugin</artifactId>
81                 <executions>
82                     <execution>
83                         <id>aggregate</id>
84                         <goals>
85                             <goal>aggregate</goal>
86                         </goals>
87                         <phase>site</phase>
88                     </execution>
89                 </executions>
90             </plugin>
91         </plugins>
92     </build>
93
94     <reporting>
95         <plugins>
96             <plugin>
97                 <groupId>org.apache.maven.plugins</groupId>
98                 <artifactId>maven-project-info-reports-plugin</artifactId>
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 </project>