Dependency check: avoid dependency loops
[odlparent.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3  Copyright (c) 2014, 2015 Cisco Systems, Inc. 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
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>aggregator-parent</artifactId>
14         <version>3.0.0-SNAPSHOT</version>
15         <relativePath>aggregator-parent</relativePath>
16     </parent>
17
18     <artifactId>odlparent-aggregator</artifactId>
19     <name>odlparent</name> <!-- Used by Sonar to set project name -->
20     <packaging>pom</packaging>
21
22     <scm>
23         <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
24         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
25         <tag>HEAD</tag>
26         <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
27     </scm>
28
29     <modules>
30         <!-- odlparent tools -->
31         <module>checkstyle</module>
32         <module>findbugs</module>
33         <module>license</module>
34
35         <!-- Features test (SFT) -->
36         <module>bundles-test-lib</module>
37         <module>bundles4-test</module>
38         <module>features-test</module>
39
40         <!-- Karaf integration -->
41         <module>karaf</module>
42         <module>karaf-plugin</module>
43         <module>karaf-util</module>
44
45         <!-- Parent POMs -->
46         <module>aggregator-parent</module>
47         <module>bundle-parent</module>
48         <module>untested-single-feature-parent</module>
49         <module>single-feature-parent</module>
50         <module>feature-repo-parent</module>
51         <module>odlparent</module>
52         <module>odlparent-lite</module>
53
54         <!-- Features -->
55         <module>features</module>
56
57         <!-- Artifacts -->
58         <module>odlparent-artifacts</module>
59
60         <!-- Self-tests -->
61         <module>odlparent-dependency-check</module>
62     </modules>
63
64     <profiles>
65         <profile>
66             <!--
67                 This profile is to ensure we only build javadocs reports
68                 when we plan to deploy Maven site for our project.
69             -->
70             <id>maven-site</id>
71             <activation>
72                 <file>
73                     <exists>${user.dir}/deploy-site.xml</exists>
74                 </file>
75             </activation>
76
77             <build>
78                 <plugins>
79                     <plugin>
80                         <artifactId>maven-javadoc-plugin</artifactId>
81                         <version>3.0.0-M1</version>
82                         <inherited>false</inherited>
83                         <executions>
84                             <execution>
85                                 <id>aggregate</id>
86                                 <goals>
87                                     <goal>aggregate</goal>
88                                 </goals>
89                                 <phase>package</phase>
90                             </execution>
91                         </executions>
92                     </plugin>
93                 </plugins>
94             </build>
95         </profile>
96     </profiles>
97
98     <!--
99         Maven Site Configuration
100
101         The following configuration is necessary for maven-site-plugin to
102         correctly identify the correct deployment path for OpenDaylight Maven
103         sites.
104     -->
105     <url>${odl.site.url}/${project.groupId}/${stream}/</url>
106
107     <distributionManagement>
108         <site>
109             <id>opendaylight-site</id>
110             <url>${nexus.site.url}/</url>
111         </site>
112     </distributionManagement>
113 </project>