You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2021/04/04 19:00:18 UTC

[maven] branch master updated: [MNG-6806] configure site for BOM reference documentation

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master by this push:
     new 9decf53  [MNG-6806] configure site for BOM reference documentation
9decf53 is described below

commit 9decf532e79d7d22082ca8f9e2d6989ff83ae421
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Apr 4 21:00:14 2021 +0200

    [MNG-6806] configure site for BOM reference documentation
---
 maven-bom/pom.xml                | 39 ++++++++++++++++++++++++++++++++
 maven-bom/src/site/apt/index.apt | 29 ++++++++++++++++++++++++
 maven-bom/src/site/site.xml      | 49 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 117 insertions(+)

diff --git a/maven-bom/pom.xml b/maven-bom/pom.xml
index 12f9335..a6590a3 100644
--- a/maven-bom/pom.xml
+++ b/maven-bom/pom.xml
@@ -33,6 +33,34 @@ under the License.
 
   <name>Maven Dependencies BOM</name>
   <description>Bill Of Materials for Apache Maven dependencies</description>
+  <url>https://maven.apache.org/ref/${project.version}/${project.artifactId}</url>
+
+  <properties>
+    <maven.site.path>ref/3-LATEST/${project.artifactId}</maven.site.path>
+    <project.build.outputTimestamp>2019-11-07T12:32:18Z</project.build.outputTimestamp>
+  </properties>
+
+  <scm>
+    <connection>scm:git:https://gitbox.apache.org/repos/asf/maven.git</connection>
+    <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven.git</developerConnection>
+    <url>https://github.com/apache/maven/tree/${project.scm.tag}</url>
+    <tag>master</tag>
+  </scm>
+  <issueManagement>
+    <system>jira</system>
+    <url>https://issues.apache.org/jira/browse/MNG</url>
+  </issueManagement>
+  <ciManagement>
+    <system>Jenkins</system>
+    <url>https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven/</url>
+  </ciManagement>
+  <distributionManagement>
+    <downloadUrl>https://maven.apache.org/download.html</downloadUrl>
+    <site>
+      <id>apache.website</id>
+      <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</url>
+    </site>
+  </distributionManagement>
 
   <dependencyManagement>
     <!-- Not included:
@@ -109,4 +137,15 @@ under the License.
       </dependency>
     </dependencies>
   </dependencyManagement>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-site-plugin</artifactId>
+        <configuration>
+          <topSiteURL>${project.distributionManagement.site.url}/..</topSiteURL>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
diff --git a/maven-bom/src/site/apt/index.apt b/maven-bom/src/site/apt/index.apt
new file mode 100644
index 0000000..3f06ffb
--- /dev/null
+++ b/maven-bom/src/site/apt/index.apt
@@ -0,0 +1,29 @@
+~~ Licensed to the Apache Software Foundation (ASF) under one
+~~ or more contributor license agreements.  See the NOTICE file
+~~ distributed with this work for additional information
+~~ regarding copyright ownership.  The ASF licenses this file
+~~ to you 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.
+
+ -----
+ Introduction
+ -----
+ Hervé Boutemy
+ -----
+ 2021-04-04
+ -----
+
+Maven Dependencies BOM
+
+  Bill Of Materials for Apache Maven dependencies, to easily use as dependencyManagement import.
+ 
\ No newline at end of file
diff --git a/maven-bom/src/site/site.xml b/maven-bom/src/site/site.xml
new file mode 100644
index 0000000..b99737d
--- /dev/null
+++ b/maven-bom/src/site/site.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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 xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 http://maven.apache.org/xsd/decoration-1.8.0.xsd">
+
+  <bannerLeft>
+    <name>${project.name}</name>
+    <src>https://maven.apache.org/images/apache-maven-project.png</src>
+    <href>https://maven.apache.org/</href>
+  </bannerLeft>
+
+  <edit>${project.scm.url}</edit>
+
+  <body>
+    <breadcrumbs>
+      <item name="Ref" href="../" />
+      <item name="Maven ${project.version}" href="../" />
+    </breadcrumbs>
+
+    <menu name="Overview">
+      <item name="Introduction" href="index.html"/>
+      <!--item name="JavaDocs" href="apidocs/index.html"/>
+      <item name="Source Xref" href="xref/index.html"/>
+      <item name="FAQ" href="faq.html"/-->
+    </menu>
+
+    <menu ref="parent"/>
+    <menu ref="reports"/>
+  </body>
+</project>
\ No newline at end of file