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/hc2vpp-parent | |
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/hc2vpp-parent')
-rw-r--r-- | common/hc2vpp-parent/asciidoc/Readme.adoc | 3 | ||||
-rw-r--r-- | common/hc2vpp-parent/pom.xml | 19 | ||||
-rw-r--r-- | common/hc2vpp-parent/site.xml | 39 |
3 files changed, 61 insertions, 0 deletions
diff --git a/common/hc2vpp-parent/asciidoc/Readme.adoc b/common/hc2vpp-parent/asciidoc/Readme.adoc new file mode 100644 index 000000000..34f235045 --- /dev/null +++ b/common/hc2vpp-parent/asciidoc/Readme.adoc @@ -0,0 +1,3 @@ += hc2vpp-aggregator + +Single maven parent for all hc2vpp projects. Provides documentation template used by site plugin.
\ No newline at end of file diff --git a/common/hc2vpp-parent/pom.xml b/common/hc2vpp-parent/pom.xml new file mode 100644 index 000000000..e44777e99 --- /dev/null +++ b/common/hc2vpp-parent/pom.xml @@ -0,0 +1,19 @@ +<?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.honeycomb.common</groupId> + <artifactId>honeycomb-parent</artifactId> + <version>1.17.04-SNAPSHOT</version> + <relativePath/> + </parent> + + <groupId>io.fd.hc2vpp.common</groupId> + <artifactId>hc2vpp-parent</artifactId> + <name>${project.artifactId}</name> + <version>1.17.04-SNAPSHOT</version> + <packaging>pom</packaging> +</project>
\ No newline at end of file diff --git a/common/hc2vpp-parent/site.xml b/common/hc2vpp-parent/site.xml new file mode 100644 index 000000000..dcd60a1a7 --- /dev/null +++ b/common/hc2vpp-parent/site.xml @@ -0,0 +1,39 @@ +<!-- + ~ Copyright (c) 2016 Cisco and/or its affiliates. + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at: + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> + +<project> + <poweredBy> + <logo name="fd.io" href="http://fd.io" img="https://fd.io/sites/cpstandard/files/logo_fdio_top.png" alt="fd.io"/> + </poweredBy> + + <body> + <menu name="Documentation root" inherit="top"> + <item href="./hc2vpp-aggregator/index.html" name="Root"/> + </menu> + <menu name="Documentation" inherit="top"> + <item href="Readme.html" name="Overview"/> + </menu> + <menu name="General information" ref="reports" inherit="top"/> + <menu ref="modules" inherit="top"/> + <menu name="Maven parent" ref="parent" inherit="top"/> + </body> + + <skin> + <groupId>org.apache.maven.skins</groupId> + <artifactId>maven-fluido-skin</artifactId> + <version>1.5</version> + </skin> +</project>
\ No newline at end of file |