1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=2 tabstop=2: -->
4 Copyright (c) 2015 The Linux Foundation and others. All rights reserved.
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
10 <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">
11 <modelVersion>4.0.0</modelVersion>
14 Note: This parent is not meant to be used by code artifacts. Please use
18 <groupId>org.opendaylight.odlparent</groupId>
19 <artifactId>odlparent-lite</artifactId>
20 <version>1.6.0-SNAPSHOT</version>
21 <packaging>pom</packaging>
25 <name>Eclipse Public License v1.0</name>
26 <url>https://www.eclipse.org/legal/epl-v10.html</url>
31 <name>OpenDaylight</name>
32 <url>https://www.opendaylight.org</url>
36 <system>Bugzilla</system>
37 <url>https://bugs.opendaylight.org/</url>
41 <system>Jenkins</system>
42 <url>https://jenkins.opendaylight.org/releng/</url>
46 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
48 <!-- Variables required for Maven Site generation -->
49 <nexus.site.url>file:${user.dir}/target/staged-site</nexus.site.url>
50 <odl.site.url>https://nexus.opendaylight.org/content/sites/site/</odl.site.url>
51 <stream>latest</stream><!-- CI should pass in -Dstream={stream} -->
53 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-site-plugin</artifactId>
63 <version>3.4</version>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-project-info-reports-plugin</artifactId>
68 <version>2.8.1</version>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-javadoc-plugin</artifactId>
73 <version>2.10.3</version>
76 <!-- support for HelpMojo generated by the maven-plugin-plugin -->
79 <placement>t</placement>
83 <name>requiresProject</name>
84 <placement>t</placement>
85 <head>Requires project:</head>
88 <name>threadSafe</name>
89 <placement>t</placement>
90 <head>Threadsafe</head>
94 <placement>t</placement>
97 <!-- end HelpMojo support -->
108 This profile is to ensure we only build javadocs reports
109 when we plan to deploy Maven site for our project.
111 It activates by checking for the existance of deploy-site.xml in the
112 user's current working directory. (Intent is that this is run from
113 the Project root directory)
118 <exists>${user.dir}/deploy-site.xml</exists>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-site-plugin</artifactId>
130 <id>generate-site</id>
131 <phase>package</phase>
134 <goal>attach-descriptor</goal>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-project-info-reports-plugin</artifactId>
148 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-javadoc-plugin</artifactId>
157 <report>javadoc</report>
158 <report>test-javadoc</report>
169 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
171 <distributionManagement>
173 <id>opendaylight-release</id>
174 <url>${nexusproxy}/repositories/opendaylight.release/</url>
177 <id>opendaylight-snapshot</id>
178 <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
179 </snapshotRepository>
181 <id>opendaylight-site</id>
182 <url>${nexus.site.url}/${project.artifactId}/</url>
184 </distributionManagement>