Skip to content

Commit

Permalink
Add an announcement template for shared components to be used by Mave…
Browse files Browse the repository at this point in the history
…n Changes Plugin.

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1098279 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dennisl committed May 1, 2011
1 parent d832070 commit 634423f
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
71 changes: 71 additions & 0 deletions src/main/resources/org/apache/maven/shared/announcement.vm
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions src/site/apt/index.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 634423f

Please sign in to comment.