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