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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-resources.git


The following commit(s) were added to refs/heads/master by this push:
     new aea97a9  [MSHARED-1154] Remove announcement templates for not used 
maven-changes-plugin
aea97a9 is described below

commit aea97a9d7ebc95b268e1c8a1b70d60baf756a598
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Oct 16 19:43:24 2022 +0200

    [MSHARED-1154] Remove announcement templates for not used 
maven-changes-plugin
---
 .../org/apache/maven/plugins/announcement.vm       | 71 ----------------------
 .../org/apache/maven/shared/announcement.vm        | 71 ----------------------
 src/site/apt/index.apt.vm                          | 18 ------
 src/site/apt/usage.apt.vm                          | 39 ++----------
 4 files changed, 6 insertions(+), 193 deletions(-)

diff --git a/src/main/resources/org/apache/maven/plugins/announcement.vm 
b/src/main/resources/org/apache/maven/plugins/announcement.vm
deleted file mode 100644
index 2e66eea..0000000
--- a/src/main/resources/org/apache/maven/plugins/announcement.vm
+++ /dev/null
@@ -1,71 +0,0 @@
-## 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 plugin configuration:
-
-<plugin>
-  <groupId>org.apache.maven.plugins</groupId>
-  <artifactId>${artifactId}</artifactId>
-  <version>${version}</version>
-</plugin>
-
-
-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/main/resources/org/apache/maven/shared/announcement.vm 
b/src/main/resources/org/apache/maven/shared/announcement.vm
deleted file mode 100644
index f5419f4..0000000
--- a/src/main/resources/org/apache/maven/shared/announcement.vm
+++ /dev/null
@@ -1,71 +0,0 @@
-## 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 8cbac0d..fb279ba 100644
--- a/src/site/apt/index.apt.vm
+++ b/src/site/apt/index.apt.vm
@@ -32,24 +32,6 @@ ${project.name}
   current version (${project.version}) of Maven Shared Resources. They are
   listed by which plugin they are meant to be used with.
 
-
-* Maven Changes Plugin
-
-** <<<org/apache/maven/plugins/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 plugins. 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}}.
-
-** <<<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}}.
-
-
 * Maven Checkstyle Plugin
 
 ** <<<config/maven-header.txt>>>
diff --git a/src/site/apt/usage.apt.vm b/src/site/apt/usage.apt.vm
index beb5eec..250b4bd 100644
--- a/src/site/apt/usage.apt.vm
+++ b/src/site/apt/usage.apt.vm
@@ -25,7 +25,7 @@
 
 Usage
 
-  There are a couple things you need to do to use Maven Shared Resources. First
+  There are a couple of things you need to do to use Maven Shared Resources. 
First
   you need to give the plugin that will use the resources access to them. After
   that you configure the plugin to actually use the resources.
 
@@ -35,7 +35,7 @@ Usage
   First you add maven-shared-resources as a dependency to a plugin in your
   <<<pom.xml>>>. This is done to give the plugin access to the resources within
   the maven-shared-resources JAR file. In this example we will use the 
resources
-  in Maven Changes Plugin.
+  in Maven Checkstyle Plugin.
 
 +----------+
 <project>
@@ -44,8 +44,8 @@ Usage
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-changes-plugin</artifactId>
-        <version>2.4</version>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>3.2.0</version>
         <configuration>
           ...
         </configuration>
@@ -72,33 +72,6 @@ Usage
   Now you can use the resources in the plugin. You can use them as if they
   existed in your own project, like this:
 
-+----------+
-<project>
-  ...
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-changes-plugin</artifactId>
-        <version>2.4</version>
-        <configuration>
-          <templateDirectory>org/apache/maven/plugins</templateDirectory>
-        </configuration>
-        <dependencies>
-          ...
-        </dependencies>
-        <executions>
-          ...
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-  ...
-</project>
-+----------+
-
-  or like this:
-
 +----------+
 <project>
   ...
@@ -107,7 +80,7 @@ Usage
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>3.x.x</version>
+        <version>3.2.0</version>
         <configuration>
           <configLocation>config/maven_checks.xml</configLocation>
           <headerLocation>config/maven-header.txt</headerLocation>
@@ -133,5 +106,5 @@ Usage
   practical use.
 
 +----------+
-mvn changes:announcement-generate
+mvn checkstyle:check
 +----------+

Reply via email to