BGPCEP-710: Config loader feature
[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
45         <!-- Common infra -->
46         <module>concepts</module>
47         <module>dependency-version-management</module>
48         <module>util</module>
49
50         <!-- Subsystems -->
51         <module>bgp</module>
52         <module>pcep</module>
53         <module>programming</module>
54         <module>rsvp</module>
55         <module>topology</module>
56         <module>config-loader</module>
57
58         <!-- Integration tests -->
59         <module>integration-tests</module>
60
61         <!--Test tools -->
62         <module>data-change-counter</module>
63         <module>testtool-util</module>
64
65         <!-- Minimal complete distribution -->
66         <module>distribution-karaf</module>
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                 <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>