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 /samples | |
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 'samples')
-rw-r--r-- | samples/pom.xml | 7 | ||||
-rw-r--r-- | samples/samples-api/pom.xml | 4 | ||||
-rw-r--r-- | samples/samples-impl/pom.xml | 1 |
3 files changed, 9 insertions, 3 deletions
diff --git a/samples/pom.xml b/samples/pom.xml index a2e058e49..1d5745098 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -3,15 +3,18 @@ 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"> <parent> - <artifactId>hc2vpp-aggregator</artifactId> - <groupId>io.fd.hc2vpp</groupId> + <artifactId>hc2vpp-parent</artifactId> + <groupId>io.fd.hc2vpp.common</groupId> <version>1.17.04-SNAPSHOT</version> + <relativePath>../common/hc2vpp-parent</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>io.fd.hc2vpp.samples</groupId> <artifactId>samples</artifactId> + <name>${project.artifactId}</name> <packaging>pom</packaging> + <description>Sample plugin for Hc2vpp</description> <modules> <module>samples-api</module> diff --git a/samples/samples-api/pom.xml b/samples/samples-api/pom.xml index e1cf9b817..c78dc6091 100644 --- a/samples/samples-api/pom.xml +++ b/samples/samples-api/pom.xml @@ -3,14 +3,16 @@ 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"> <parent> - <groupId>io.fd.honeycomb.common</groupId> + <groupId>io.fd.hc2vpp.common</groupId> <artifactId>api-parent</artifactId> <version>1.17.04-SNAPSHOT</version> + <relativePath>../../common/api-parent</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>io.fd.hc2vpp.common</groupId> <artifactId>samples-api</artifactId> + <name>${project.artifactId}</name> <version>1.17.04-SNAPSHOT</version> <packaging>bundle</packaging> diff --git a/samples/samples-impl/pom.xml b/samples/samples-impl/pom.xml index 80d83cc88..d4932fd68 100644 --- a/samples/samples-impl/pom.xml +++ b/samples/samples-impl/pom.xml @@ -11,6 +11,7 @@ <modelVersion>4.0.0</modelVersion> <artifactId>samples-impl</artifactId> + <name>${project.artifactId}</name> <version>1.17.04-SNAPSHOT</version> <dependencies> |