You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/11/19 22:27:30 UTC

[commons-skin] 15/16: Update release notes templates with testing instructions.

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

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-skin.git

commit f5d42c50a69a617962ce4ca0776380b11f137cef
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Tue Nov 19 21:11:51 2019 +0000

    Update release notes templates with testing instructions.
---
 src/changes/release-notes.vm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/src/changes/release-notes.vm b/src/changes/release-notes.vm
index 2ce0af3..0f31009 100644
--- a/src/changes/release-notes.vm
+++ b/src/changes/release-notes.vm
@@ -20,7 +20,6 @@
 
 The ${developmentTeam} is pleased to announce the release of ${project.name} ${version}.
 
-
 ## N.B. the available variables are described here:
 ## http://maven.apache.org/plugins/maven-changes-plugin/examples/using-a-custom-announcement-template.html
 ##
@@ -130,3 +129,27 @@ o#if($!issue != "") $issue: #else$indent#end ${action} #if($!dueto != "")Thanks
 #end
 ## End of main loop
 #end
+
+
+You can test ${project.name} by installing the skin using 'mvn install' 
+and adding the following to your site.xml site descriptor for the maven-site-plugin:
+
+  <skin>
+    <groupId>org.apache.commons</groupId>
+    <artifactId>${project.artifactId}</artifactId>
+    <version>${version}</version>
+  </skin>
+
+  <custom>
+    <!-- Custom properties controlling the commons-skin template. -->
+    <commonsSkin>
+      <!-- 
+        Convert preformatted source section tags to prettyprint:
+          <div class="source"><pre> to <div class="source"><pre class="prettyprint">
+      -->
+      <prettyPrintSourcePreTags>true</prettyPrintSourcePreTags>
+
+      <!-- Add the "linenums" class to the prettyprint enabled source tags -->
+      <sourceLineNumbersEnabled>false</sourceLineNumbersEnabled>
+    </commonsSkin>
+  </custom>