diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-03-17 14:42:56 +0100 |
---|---|---|
committer | Jan Srnicek <jsrnicek@cisco.com> | 2017-03-24 08:03:43 +0000 |
commit | c7299c6ea39c1888a3497a889ee9b55c44b54dac (patch) | |
tree | 91bc7c9b22eaf2118857351052bddfaeb304fb95 /common/pom.xml | |
parent | 66f5caa2704503335cbce2a42bad3d99bd205f88 (diff) |
Add hc2vpp common parents
- provides single root (hc2vpp-parent) for all projects to make
site plugin work
- fixes relative links in child poms
- adds missing project names
Partially based on https://gerrit.fd.io/r/#/c/4720
To test:
- mvn clean install && mvn site site:stage
- open
hc2vpp/target/staging/hc2vpp-parent/hc2vpp-aggregator/index.html
Change-Id: Ife5a8555748221cd8bcc8ad2fa48f1d0e98fff1d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'common/pom.xml')
-rw-r--r-- | common/pom.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/common/pom.xml b/common/pom.xml new file mode 100644 index 000000000..26919e97b --- /dev/null +++ b/common/pom.xml @@ -0,0 +1,49 @@ +<?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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>io.fd.hc2vpp.common</groupId> + <artifactId>hc2vpp-parent</artifactId> + <version>1.17.04-SNAPSHOT</version> + <relativePath>hc2vpp-parent</relativePath> + </parent> + + + <groupId>io.fd.hc2vpp.common</groupId> + <artifactId>hc2vpp-common-aggregator</artifactId> + <version>1.17.04-SNAPSHOT</version> + <name>${project.artifactId}</name> + <packaging>pom</packaging> + <description>Aggregator for common maven parents providing base configuration for Hc2vpp modules</description> + + <modules> + <module>hc2vpp-parent</module> + <module>api-parent</module> + <module>impl-parent</module> + <module>minimal-distribution-parent</module> + </modules> + + <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build --> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-install-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + +</project> |