Fixes for IT base
[genius.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
8 -->
9 <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">
10
11   <parent>
12     <groupId>org.opendaylight.odlparent</groupId>
13     <artifactId>odlparent-lite</artifactId>
14     <version>1.8.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.genius</groupId>
19   <artifactId>genius-aggregator</artifactId>
20   <version>0.2.0-SNAPSHOT</version>
21   <name>genius</name>
22   <packaging>pom</packaging>
23   <modelVersion>4.0.0</modelVersion>
24
25   <prerequisites>
26     <maven>3.1.1</maven>
27   </prerequisites>
28
29   <scm>
30     <connection>scm:git:ssh://git.opendaylight.org:29418/genius.git</connection>
31     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/genius.git</developerConnection>
32     <tag>HEAD</tag>
33     <url>https://wiki.opendaylight.org/view/genius:Main</url>
34   </scm>
35
36   <modules>
37     <module>commons</module>
38     <module>interfacemanager</module>
39     <module>itm</module>
40     <module>lockmanager</module>
41     <module>mdsalutil</module>
42     <module>arputil</module>
43     <module>idmanager</module>
44     <module>alivenessmonitor</module>
45     <module>karaf</module>
46     <module>features</module>
47     <module>artifacts</module>
48     <module>fcapsmanager</module>
49     <module>fcapsapplication</module>
50     <module>resourcemanager</module>
51     <module>it</module>
52   </modules>
53
54   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
55   <build>
56     <plugins>
57       <plugin>
58         <groupId>org.apache.maven.plugins</groupId>
59         <artifactId>maven-deploy-plugin</artifactId>
60         <configuration>
61           <skip>true</skip>
62         </configuration>
63       </plugin>
64       <plugin>
65         <groupId>org.apache.maven.plugins</groupId>
66         <artifactId>maven-install-plugin</artifactId>
67         <configuration>
68           <skip>true</skip>
69         </configuration>
70       </plugin>
71     </plugins>
72   </build>
73
74   <profiles>
75     <profile>
76       <!--
77           This profile is to ensure we only build javadocs reports
78           when we plan to deploy Maven site for our project.
79       -->
80       <id>maven-site</id>
81       <activation>
82         <file>
83           <exists>${user.dir}/deploy-site.xml</exists>
84         </file>
85       </activation>
86
87       <build>
88         <plugins>
89           <plugin>
90             <groupId>org.apache.maven.plugins</groupId>
91             <artifactId>maven-javadoc-plugin</artifactId>
92             <inherited>false</inherited>
93             <executions>
94               <execution>
95                 <id>aggregate</id>
96                 <goals>
97                   <goal>aggregate</goal>
98                 </goals>
99                 <phase>package</phase>
100             </execution>
101             </executions>
102           </plugin>
103         </plugins>
104       </build>
105     </profile>
106   </profiles>
107
108   <!--
109       Maven Site Configuration
110
111       The following configuration is necessary for maven-site-plugin to
112       correctly identify the correct deployment path for OpenDaylight Maven
113       sites.
114   -->
115   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
116
117   <distributionManagement>
118     <site>
119       <id>opendaylight-site</id>
120       <url>${nexus.site.url}/</url>
121     </site>
122   </distributionManagement>
123 </project>