Migrate to odlparent 1.9.0
[aaa.git] / aaa-shiro / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2017 Brocade Communications Systems 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.9.0</version>
15     <relativePath/>
16   </parent>
17
18   <groupId>org.opendaylight.aaa</groupId>
19   <artifactId>aaa-shiro-aggregator</artifactId>
20   <version>0.6.0-SNAPSHOT</version>
21   <name>ODL :: aaa :: ${project.artifactId}</name>
22   <packaging>pom</packaging>
23
24   <scm>
25     <connection>scm:git:ssh://git.opendaylight.org:29418/aaa-shiro.git</connection>
26     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa-shiro.git</developerConnection>
27     <tag>HEAD</tag>
28     <url>https://wiki.opendaylight.org/view/aaa-shiro:Main</url>
29   </scm>
30
31   <modules>
32     <module>api</module>
33     <module>impl</module>
34   </modules>
35
36   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
37   <build>
38     <plugins>
39       <plugin>
40         <groupId>org.apache.maven.plugins</groupId>
41         <artifactId>maven-deploy-plugin</artifactId>
42         <configuration>
43           <skip>true</skip>
44         </configuration>
45       </plugin>
46       <plugin>
47         <groupId>org.apache.maven.plugins</groupId>
48         <artifactId>maven-install-plugin</artifactId>
49         <configuration>
50           <skip>true</skip>
51         </configuration>
52       </plugin>
53     </plugins>
54   </build>
55
56   <profiles>
57     <profile>
58       <!--
59           This profile is to ensure we only build javadocs reports
60           when we plan to deploy Maven site for our project.
61       -->
62       <id>maven-site</id>
63       <activation>
64         <file>
65           <exists>${user.dir}/deploy-site.xml</exists>
66         </file>
67       </activation>
68
69       <build>
70         <plugins>
71           <plugin>
72             <groupId>org.apache.maven.plugins</groupId>
73             <artifactId>maven-javadoc-plugin</artifactId>
74             <inherited>false</inherited>
75             <executions>
76               <execution>
77                 <id>aggregate</id>
78                 <goals>
79                   <goal>aggregate</goal>
80                 </goals>
81                 <phase>package</phase>
82             </execution>
83             </executions>
84           </plugin>
85         </plugins>
86       </build>
87     </profile>
88   </profiles>
89
90   <!--
91       Maven Site Configuration
92
93       The following configuration is necessary for maven-site-plugin to
94       correctly identify the correct deployment path for OpenDaylight Maven
95       sites.
96   -->
97   <url>${odl.site.url}/${project.groupId}/${stream}/</url>
98
99   <distributionManagement>
100     <site>
101       <id>opendaylight-site</id>
102       <url>${nexus.site.url}/</url>
103     </site>
104   </distributionManagement>
105 </project>