6458c9c79346f2292481967e13917713dc4d41ca
[alto.git] / alto-basic / simple-ird / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2017 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
10   <parent>
11     <groupId>org.opendaylight.odlparent</groupId>
12     <artifactId>odlparent</artifactId>
13     <version>1.8.2-SNAPSHOT</version>
14     <relativePath/>
15   </parent>
16
17   <groupId>org.opendaylight.alto.basic</groupId>
18   <artifactId>alto-simple-ird-aggregator</artifactId>
19   <version>0.4.2-SNAPSHOT</version>
20   <name>ODL :: alto :: ${project.artifactId}</name> <!-- DO NOT CHANGE - Used by Sonar to set project name -->
21   <packaging>pom</packaging>
22   <modelVersion>4.0.0</modelVersion>
23   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
24   <build>
25     <plugins>
26       <plugin>
27         <groupId>org.apache.maven.plugins</groupId>
28         <artifactId>maven-deploy-plugin</artifactId>
29         <configuration>
30           <skip>true</skip>
31         </configuration>
32       </plugin>
33       <plugin>
34         <groupId>org.apache.maven.plugins</groupId>
35         <artifactId>maven-install-plugin</artifactId>
36         <configuration>
37           <skip>true</skip>
38         </configuration>
39       </plugin>
40     </plugins>
41   </build>
42
43   <profiles>
44     <profile>
45       <id>minimal</id>
46       <activation>
47         <activeByDefault>true</activeByDefault>
48       </activation>
49       <modules>
50         <module>api</module>
51         <module>impl</module>
52       </modules>
53     </profile>
54
55     <profile>
56       <id>alto-dev</id>
57       <modules>
58         <module>api</module>
59         <module>impl</module>
60         <module>features</module>
61         <module>artifacts</module>
62       </modules>
63     </profile>
64
65     <profile>
66       <id>alto-test</id>
67       <modules>
68         <module>api</module>
69         <module>impl</module>
70         <module>features</module>
71         <module>artifacts</module>
72         <module>karaf</module>
73         <module>it</module>
74       </modules>
75     </profile>
76     <profile>
77       <!--
78           This profile is to ensure we only build javadocs reports
79           when we plan to deploy Maven site for our project.
80       -->
81       <id>maven-site</id>
82       <activation>
83         <file>
84           <exists>${user.dir}/deploy-site.xml</exists>
85         </file>
86       </activation>
87
88       <build>
89         <plugins>
90           <plugin>
91             <groupId>org.apache.maven.plugins</groupId>
92             <artifactId>maven-javadoc-plugin</artifactId>
93             <inherited>false</inherited>
94             <executions>
95               <execution>
96                 <id>aggregate</id>
97                 <goals>
98                   <goal>aggregate</goal>
99                 </goals>
100                 <phase>package</phase>
101               </execution>
102             </executions>
103           </plugin>
104           <plugin>
105             <artifactId>maven-checkstyle-plugin</artifactId>
106             <configuration>
107               <failsOnError>true</failsOnError>
108             </configuration>
109           </plugin>
110         </plugins>
111       </build>
112     </profile>
113   </profiles>
114
115   <!--
116       Maven Site Configuration
117
118       The following configuration is necessary for maven-site-plugin to
119       correctly identify the correct deployment path for OpenDaylight Maven
120       sites.
121   -->
122   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
123
124   <distributionManagement>
125     <site>
126       <id>opendaylight-site</id>
127       <url>${nexus.site.url}/</url>
128     </site>
129   </distributionManagement>
130 </project>