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