diff --git a/announcement/src/plugin-resources/announcement.jsl b/announcement/src/plugin-resources/announcement.jsl index a7193cc4..59995f08 100644 --- a/announcement/src/plugin-resources/announcement.jsl +++ b/announcement/src/plugin-resources/announcement.jsl @@ -92,8 +92,17 @@ Changes in this version include: -You can download the ${pom.name} here: -${pom.url} +To automatically install the plugin, type the following on a single line: + +maven plugin:download + -DgroupId=${pom.groupId} + -DartifactId=${pom.artifactId} + -Dversion=${versionVariable} + +For a manual installation, you can download the ${pom.name} +here: + +${maven.repo.remote}/${pom.groupId}/plugins/${pom.artifactId}-${versionVariable}.jar Have fun! -The development team diff --git a/announcement/xdocs/changes.xml b/announcement/xdocs/changes.xml index b005afef..7b7d6050 100644 --- a/announcement/xdocs/changes.xml +++ b/announcement/xdocs/changes.xml @@ -25,6 +25,14 @@ + + Added information in the generated announcement to indicate from + where the plugin can be downloaded. + + + Added information in the generated announcement to indicate how to + install the plugin using the plugin:download goal. + Added maven.announcement.file property and echo'd it during generation