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 2017/12/08 18:15:51 UTC

[maven-shared-resources] 04/26: Add an announcement template for shared components to be used by Maven Changes Plugin.

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-shared-resources.git

commit 634423f8a707362964951178d29b4254f9561682
Author: Dennis Lundberg <de...@apache.org>
AuthorDate: Sun May 1 12:07:26 2011 +0000

    Add an announcement template for shared components to be used by Maven Changes Plugin.
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1098279 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/maven/shared/announcement.vm        | 71 ++++++++++++++++++++++
 src/site/apt/index.apt.vm                          |  7 +++
 2 files changed, 78 insertions(+)

diff --git a/src/main/resources/org/apache/maven/shared/announcement.vm b/src/main/resources/org/apache/maven/shared/announcement.vm
new file mode 100644
index 0000000..f5419f4
--- /dev/null
+++ b/src/main/resources/org/apache/maven/shared/announcement.vm
@@ -0,0 +1,71 @@
+## 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.
+The Maven team is pleased to announce the release of the ${project.name}, version ${version}
+
+${introduction}
+
+${url}
+
+You should specify the version in your project's dependency configuration:
+
+<dependency>
+  <groupId>org.apache.maven.shared</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <version>${version}</version>
+</dependency>
+
+
+Release Notes - ${project.name} - Version ${version}
+#if ($release.getActions().size() == 0)
+
+No changes defined in this version.
+#else
+#if ($release.getActions('fix').size() !=0)
+
+Bug
+#foreach($actionItem in $release.getActions('fix'))
+* [$actionItem.getIssue()] $actionItem.getAction()
+#end
+#end
+#if ($release.getActions('update').size() !=0)
+
+Improvement
+#foreach($actionItem in $release.getActions('update'))
+* [$actionItem.getIssue()] $actionItem.getAction()
+#end
+#end
+#if ($release.getActions('add').size() !=0)
+
+New Feature
+#foreach($actionItem in $release.getActions('add'))
+* [$actionItem.getIssue()] $actionItem.getAction()
+#end
+#end
+#if ($release.getActions('').size() !=0)
+
+Task
+#foreach($actionItem in $release.getActions(''))
+* [$actionItem.getIssue()] $actionItem.getAction()
+#end
+#end
+## End of main loop
+#end
+
+
+Enjoy,
+
+-The Maven team
diff --git a/src/site/apt/index.apt.vm b/src/site/apt/index.apt.vm
index 073223d..dc67069 100644
--- a/src/site/apt/index.apt.vm
+++ b/src/site/apt/index.apt.vm
@@ -42,6 +42,13 @@ Maven Shared Resources
   e-mail that conforms to the "Promote the release" section of our
   {{{http://maven.apache.org/developers/release/maven-project-release-procedure.html#Promote_the_release}release procedure}}.
 
+** org/apache/maven/shared/announcement.vm
+
+  This is a template that can be used by Maven Changes Plugin to create and send
+  an announcement e-mail for one of our shared components. It will create an
+  announcement e-mail that conforms to the "Promote the release" section of our
+  {{{http://maven.apache.org/developers/release/maven-project-release-procedure.html#Promote_the_release}release procedure}}.
+
 
 * Usage
 

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.