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

cdutz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-training.git


The following commit(s) were added to refs/heads/master by this push:
     new c9d2c47  - Updated the apache parent to version 23 - Introduced a 
configuration option "property: project.main.theme" which allows to select the 
theme to use (Copy your custom themes into "src/main/theme" and then reference 
the name of the css in that property for it to become active)
c9d2c47 is described below

commit c9d2c47ca47df3844fa55c297c3231fbf4d8a7ff
Author: Christofer Dutz <[email protected]>
AuthorDate: Mon Jan 27 10:35:19 2020 +0100

    - Updated the apache parent to version 23
    - Introduced a configuration option "property: project.main.theme" which 
allows to select the theme to use (Copy your custom themes into 
"src/main/theme" and then reference the name of the css in that property for it 
to become active)
---
 pom.xml                          |  2 +-
 site/pom.xml                     | 16 +---------------
 tools/content-parent-pom/pom.xml |  4 +++-
 3 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/pom.xml b/pom.xml
index ee0a9e4..883b603 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>22</version>
+    <version>23</version>
   </parent>
 
   <groupId>org.apache.training</groupId>
diff --git a/site/pom.xml b/site/pom.xml
index d929f5e..a79bf5c 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -25,7 +25,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>22</version>
+    <version>23</version>
     <!-- Otherwise maven complains about the pom upstairs having different 
coordinates. -->
     <relativePath></relativePath>
   </parent>
@@ -181,20 +181,6 @@
         manually take care of fetching and packaging these external resources 
with the generated site.
       -->
 
-      <!-- TODO: This is only required till the release of apache-parent 23 
and can be removed after updating to that -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-scm-publish-plugin</artifactId>
-        <version>3.0.0</version>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.maven.scm</groupId>
-            <artifactId>maven-scm-provider-gitexe</artifactId>
-            <version>1.10.0</version>
-          </dependency>
-        </dependencies>
-      </plugin>
-
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
diff --git a/tools/content-parent-pom/pom.xml b/tools/content-parent-pom/pom.xml
index 6512155..4d78705 100644
--- a/tools/content-parent-pom/pom.xml
+++ b/tools/content-parent-pom/pom.xml
@@ -40,6 +40,8 @@
 
     <properties>
         <project.main.contentfile>index</project.main.contentfile>
+        <!-- Put your custom theme files in src/main/theme and reference the 
name (without ".css") here. -->
+        <project.main.theme>apache</project.main.theme>
         
<project.slides.directory>${project.build.directory}/generated-slides</project.slides.directory>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 
@@ -326,7 +328,7 @@
                                     and copied inside the reveal.js 
installation by the resources plugin a few lines
                                     up inside this pom.
                                 -->
-                                <revealjs_theme>apache</revealjs_theme>
+                                
<revealjs_theme>${project.main.theme}</revealjs_theme>
                                 <!-- Some basic settings -->
                                 
<revealjs_transition>linear</revealjs_transition>
                                 
<project-version>${project.version}</project-version>

Reply via email to