From 8027b59896b5012879e759abb371f9e64a91f33e Mon Sep 17 00:00:00 2001 From: brett Date: Tue, 11 May 2004 23:33:44 +0000 Subject: [PATCH] adjustments. Don't give plugin information if it isn't a plugin. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115232 13f79535-47bb-0310-9956-ffa450edef68 --- announcement/plugin.properties | 1 + announcement/project.xml | 9 ++++ .../src/plugin-resources/announcement.jsl | 53 ++++++++++--------- announcement/xdocs/changes.xml | 6 ++- 4 files changed, 44 insertions(+), 25 deletions(-) diff --git a/announcement/plugin.properties b/announcement/plugin.properties index 1b9e6364..7ba58565 100644 --- a/announcement/plugin.properties +++ b/announcement/plugin.properties @@ -33,3 +33,4 @@ maven.announcement.file=${maven.build.dir}/announcement.txt # If not defined, it defaults to "${maven.repo.remote}/${pom.groupId}/plugins" # For example: # maven.announcement.distributionUrl = http//www.mysite.com/dist + diff --git a/announcement/project.xml b/announcement/project.xml index 7ad377af..280d5807 100644 --- a/announcement/project.xml +++ b/announcement/project.xml @@ -61,6 +61,15 @@ Java Developer + + Brett Porter + brett + brett@apache.org + f2 network + + Java Developer + + diff --git a/announcement/src/plugin-resources/announcement.jsl b/announcement/src/plugin-resources/announcement.jsl index 29651d9c..fb9c15c5 100644 --- a/announcement/src/plugin-resources/announcement.jsl +++ b/announcement/src/plugin-resources/announcement.jsl @@ -25,6 +25,7 @@ xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" xmlns:x="jelly:xml" + xmlns:u="jelly:util" xmlns:maven="jelly:maven" xmlns="dummy" trim="true"> @@ -98,7 +99,9 @@ Changes in this version include: - + + + To automatically install the plugin, type the following on a single line: @@ -107,43 +110,45 @@ maven plugin:download -DartifactId=${pom.artifactId} -Dversion=${versionVariable} -For a manual installation, you can download the ${pom.name} -here: - +For a manual installation, you can download the plugin here: ${distributionUrl}/${pom.artifactId}-${versionVariable}.jar + + + Have fun! --The development team +-The ${pom.groupId} team - - - + + - - + + - - ${body} Fixes ${issue}. Thanks to ${dueto}. - + + ${body} + Issue: ${issue}. + Thanks to ${dueto}. + - - - - + + + + o ${line} - - - + + + ${line} - - - - + + + + diff --git a/announcement/xdocs/changes.xml b/announcement/xdocs/changes.xml index f24b342a..c378039b 100644 --- a/announcement/xdocs/changes.xml +++ b/announcement/xdocs/changes.xml @@ -25,6 +25,10 @@ + + Detect whether the project is a plugin or not by the existence of plugin.jelly + in the project directory, and change the wording accordingly. + Added new maven.announcement.distributionUrl property which specifies where the project jars can be downloaded from. If @@ -41,7 +45,7 @@ Improved web site documentation. - Add a space after the "." of the "Fixes xxx." (which happens when + Add a space after the "." of the "Issue: xxx." (which happens when you use the "issue" attribute in changes.xml).