Release Carbon
[unimgr.git] / dlux / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2016 HPE, Inc. 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.1-Carbon</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.unimgr</groupId>
19   <artifactId>dlux</artifactId>
20   <version>0.2.1-Carbon</version>
21   <packaging>pom</packaging>
22   <!-- <name> formatting is used by autorelease to parse and notify projects on
23        build failure. Please do not modify this unless you have a good reason. -->
24   <name>ODL :: unimgr :: ${project.artifactId}</name>
25
26   <prerequisites>
27     <maven>3.1.1</maven>
28   </prerequisites>
29
30   <modules>
31     <module>cpeui</module>
32   </modules>
33
34   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
35   <build>
36     <plugins>
37       <plugin>
38         <groupId>org.apache.maven.plugins</groupId>
39         <artifactId>maven-deploy-plugin</artifactId>
40         <configuration>
41           <skip>true</skip>
42         </configuration>
43       </plugin>
44       <plugin>
45         <groupId>org.apache.maven.plugins</groupId>
46         <artifactId>maven-install-plugin</artifactId>
47         <configuration>
48           <skip>true</skip>
49         </configuration>
50       </plugin>
51     </plugins>
52   </build>
53
54   <profiles>
55     <profile>
56       <!--
57           This profile is to ensure we only build javadocs reports
58           when we plan to deploy Maven site for our project.
59       -->
60       <id>maven-site</id>
61       <activation>
62         <file>
63           <exists>${user.dir}/deploy-site.xml</exists>
64         </file>
65       </activation>
66
67       <build>
68         <plugins>
69           <plugin>
70             <groupId>org.apache.maven.plugins</groupId>
71             <artifactId>maven-javadoc-plugin</artifactId>
72             <inherited>false</inherited>
73             <executions>
74               <execution>
75                 <id>aggregate</id>
76                 <goals>
77                   <goal>aggregate</goal>
78                 </goals>
79                 <phase>package</phase>
80             </execution>
81             </executions>
82           </plugin>
83         </plugins>
84       </build>
85     </profile>
86   </profiles>
87
88   <!--
89       Maven Site Configuration
90
91       The following configuration is necessary for maven-site-plugin to
92       correctly identify the correct deployment path for OpenDaylight Maven
93       sites.
94   -->
95   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
96
97   <distributionManagement>
98     <site>
99       <id>opendaylight-site</id>
100       <url>${nexus.site.url}/</url>
101     </site>
102   </distributionManagement>
103 </project>