+<?xml version="1.0" encoding="UTF-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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
+
<parent>
<groupId>org.opendaylight.lispflowmapping</groupId>
<artifactId>lispflowmapping-commons</artifactId>
- <version>1.0.0</version>
+ <version>1.4.0-SNAPSHOT</version>
<relativePath>commons/parent</relativePath>
</parent>
<artifactId>lispflowmapping-all</artifactId>
<packaging>pom</packaging>
- <name>LISP Flow Mapping All modules</name>
+ <!-- Used by Sonar to set project name -->
+ <name>lispflowmapping</name>
- <scm>
- <connection>scm:git:https://git.opendaylight.org/gerrit/p/lispflowmapping.git</connection>
- <developerConnection>scm:git:ssh://git.opendaylight.org:29418/lispflowmapping.git</developerConnection>
- <url>https://wiki.opendaylight.org/view/OpenDaylight_Lisp_Flow_Mapping:Main</url>
- <tag>lispflowmapping-all-1.0.0</tag>
- </scm>
+ <prerequisites>
+ <maven>3.1.1</maven>
+ </prerequisites>
<modules>
<module>commons/parent</module>
<module>commons/build_tools</module>
- <module>commons/code-parent</module>
<module>commons/unittest_tools</module>
+ <module>artifacts</module>
<module>mappingservice</module>
- <module>distribution</module>
+ <module>ui</module>
+ <module>features</module>
+ <module>distribution-karaf</module>
+ <module>integrationtest</module>
</modules>
<build>
- <resources>
- <resource>
- <directory>${basedir}/src/main/resources</directory>
- </resource>
- <resource>
- <directory>${project.build.directory}/generated-resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
<plugins>
+<!-- <plugin>
+ In this project we want to automatically sort all poms, thus we
+ add the invocation of this plugin to the root parent. Configuration is in
+ odlparent.
+ <groupId>com.google.code.sortpom</groupId>
+ <artifactId>maven-sortpom-plugin</artifactId>
+ </plugin> -->
<plugin>
+ <!-- Check for coding style violations. Configuration in odlparent. -->
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack-shared-resources</id>
- <goals>
- <goal>unpack-dependencies</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
- <excludeTransitive>true</excludeTransitive>
- </configuration>
- </execution>
- </executions>
+ <artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <!--
+ This profile is to ensure we only build javadocs reports
+ when we plan to deploy Maven site for our project.
+ -->
+ <id>maven-site</id>
+ <activation>
+ <file>
+ <exists>${user.dir}/deploy-site.xml</exists>
+ </file>
+ </activation>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+ <id>aggregate</id>
+ <goals>
+ <goal>aggregate</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <!--
+ Maven Site Configuration
+
+ The following configuration is necessary for maven-site-plugin to
+ correctly identify the correct deployment path for OpenDaylight Maven
+ sites.
+ -->
+ <url>${odl.site.url}/${project.groupId}/${stream}/</url>
+
+ <distributionManagement>
+ <site>
+ <id>opendaylight-site</id>
+ <url>${nexus.site.url}/</url>
+ </site>
+ </distributionManagement>
+
</project>