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

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-components.git


The following commit(s) were added to refs/heads/master by this push:
     new 9bd4a17  Using font icons for asciidoc. Adding additional doc.
9bd4a17 is described below

commit 9bd4a175d716840bf549a5fbf5b20d9b736eff10
Author: Martin Stockhammer <[email protected]>
AuthorDate: Sat Nov 23 20:46:07 2019 +0100

    Using font icons for asciidoc. Adding additional doc.
---
 pom.xml                                         | 20 +++++++++++++-------
 spring-registry/spring-registry-api/pom.xml     |  1 +
 spring-registry/spring-registry-commons/pom.xml |  2 ++
 spring-registry/src/site/asciidoc/index.adoc    |  6 +++---
 src/site/site.xml                               |  6 ++++--
 5 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/pom.xml b/pom.xml
index d852740..9cd0d5d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -283,7 +283,7 @@
             <dependency>
               <groupId>org.asciidoctor</groupId>
               <artifactId>asciidoctor-maven-plugin</artifactId>
-              <version>1.6.0</version>
+              <version>1.5.8</version>
             </dependency>
           </dependencies>
         </plugin>
@@ -354,21 +354,20 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
-        <version>3.8.2</version>
+        <version>3.7.1</version>
+
         <configuration>
-          <skipDeploy>true</skipDeploy>
-          
<stagingDirectory>${site.staging.base}/target/staging/components/</stagingDirectory>
           <asciidoc>
-            <!-- optional site-wide AsciiDoc attributes -->
+            <!-- site-wide AsciiDoc attributes -->
             <attributes>
-              <!--
               <icons>font</icons>
-              -->
               <source-highlighter>coderay</source-highlighter>
               <coderay-css>style</coderay-css>
               <toclevels>2</toclevels>
             </attributes>
           </asciidoc>
+          <skipDeploy>true</skipDeploy>
+          
<stagingDirectory>${site.staging.base}/target/staging/components/</stagingDirectory>
         </configuration>
         <executions>
           <execution>
@@ -378,6 +377,13 @@
             </goals>
           </execution>
         </executions>
+        <dependencies>
+          <dependency><!-- add Asciidoctor Doxia Parser Module -->
+            <groupId>org.asciidoctor</groupId>
+            <artifactId>asciidoctor-maven-plugin</artifactId>
+            <version>1.5.8</version>
+          </dependency>
+        </dependencies>
       </plugin>
 
 
diff --git a/spring-registry/spring-registry-api/pom.xml 
b/spring-registry/spring-registry-api/pom.xml
index 09237ca..8b2c0e3 100644
--- a/spring-registry/spring-registry-api/pom.xml
+++ b/spring-registry/spring-registry-api/pom.xml
@@ -31,6 +31,7 @@
   <groupId>org.apache.archiva.components.registry</groupId>
   <artifactId>archiva-components-spring-registry-api</artifactId>
   <name>Archiva Components :: Spring Registry Api</name>
+  <description>Spring Registry API interfaces and classes.</description>
 
   <properties>
     <site.staging.base>${project.parent.parent.basedir}</site.staging.base>
diff --git a/spring-registry/spring-registry-commons/pom.xml 
b/spring-registry/spring-registry-commons/pom.xml
index a56ef68..3baf2f9 100644
--- a/spring-registry/spring-registry-commons/pom.xml
+++ b/spring-registry/spring-registry-commons/pom.xml
@@ -30,6 +30,8 @@
 
   <artifactId>archiva-components-spring-registry-commons</artifactId>
   <name>Archiva Components :: Spring Registry Commons</name>
+  <description>Common components and implementation of the Spring Registry 
API.</description>
+
   <properties>
     <site.staging.base>${project.parent.parent.basedir}</site.staging.base>
   </properties>
diff --git a/spring-registry/src/site/asciidoc/index.adoc 
b/spring-registry/src/site/asciidoc/index.adoc
index d5a98eb..380581f 100644
--- a/spring-registry/src/site/asciidoc/index.adoc
+++ b/spring-registry/src/site/asciidoc/index.adoc
@@ -20,11 +20,11 @@ http://maven.apache.org/guides/mini/guide-apt-format.html
 ////
 
 = Spring Registry Component
-Brett Porter
-7 February 2007
+Brett Porter; Martin Stockhammer <[email protected]>
+2019-11-23
 
 
-== Spring Registry
+== About
 
 The Spring registry is a single source of external configuration for Spring 
components and applications.
 It can be used by components to source configuration, knowing that it can be 
used from within applications
diff --git a/src/site/site.xml b/src/site/site.xml
index b81e634..750115f 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -58,8 +58,10 @@
 
     <body>
         <head>
-            <![CDATA[<link rel="stylesheet" 
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/fontawesome.min.css";>]]>
-            <![CDATA[<link rel="stylesheet" href="../css/site.css">]]>
+            <!-- The font-awesome is used by asciidoc -->
+            <![CDATA[    <link rel="stylesheet" 
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css";>]]>
+            <!-- this points to the parent site.css --> 
+            <![CDATA[    <link rel="stylesheet" href="../css/site.css">]]>
         </head>
 
         <links>

Reply via email to