Introduce testtool-parent
[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>2.0.5</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
46         <!-- Common infra -->
47         <module>concepts</module>
48         <module>dependency-version-management</module>
49         <module>util</module>
50
51         <!-- Subsystems -->
52         <module>bgp</module>
53         <module>bmp</module>
54         <module>pcep</module>
55         <module>programming</module>
56         <module>rsvp</module>
57         <module>topology</module>
58         <module>config-loader</module>
59
60         <!--Test tools -->
61         <module>data-change-counter</module>
62         <module>testtool-util</module>
63
64         <!-- Minimal complete distribution -->
65         <module>distribution-karaf</module>
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                 <reportSets>
98                     <reportSet>
99                         <reports>
100                             <report>dependency-info</report>
101                             <report>license</report>
102                         </reports>
103                     </reportSet>
104                 </reportSets>
105             </plugin>
106         </plugins>
107     </reporting>
108
109   <profiles>
110     <profile>
111       <!--
112           This profile is to ensure we only build javadocs reports
113           when we plan to deploy Maven site for our project.
114       -->
115       <id>maven-site</id>
116       <activation>
117         <file>
118           <exists>${user.dir}/deploy-site.xml</exists>
119         </file>
120       </activation>
121
122       <build>
123         <plugins>
124           <plugin>
125             <groupId>org.apache.maven.plugins</groupId>
126             <artifactId>maven-javadoc-plugin</artifactId>
127             <inherited>false</inherited>
128             <executions>
129               <execution>
130                 <id>aggregate</id>
131                 <goals>
132                   <goal>aggregate</goal>
133                 </goals>
134                 <phase>package</phase>
135             </execution>
136             </executions>
137           </plugin>
138         </plugins>
139       </build>
140     </profile>
141   </profiles>
142 </project>