Added new optional <code>maven.announcement.stylesheet.path</code>property that defines what stylesheet to use to generate the text announcement. Fixes MPANNOUNCEMENT-11.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be75bfd233
commit
60ac103b48
@ -105,8 +105,9 @@
|
||||
|
||||
<echo>Generating announcement for release ${versionVariable} in ${file}...</echo>
|
||||
|
||||
<j:set var="stylesheetURI"
|
||||
value="file:${plugin.resources}/announcement.jsl"/>
|
||||
<j:set var="stylesheetURI" value="file:${maven.announcement.stylesheet.path}"/>
|
||||
|
||||
<echo>Using stylesheet located at ${stylesheetURI}</echo>
|
||||
|
||||
<j:file
|
||||
name="${file}"
|
||||
|
||||
@ -31,3 +31,5 @@
|
||||
# For example:
|
||||
# maven.announcement.distributionUrl = http//www.mysite.com/dist
|
||||
|
||||
# Stylesheet to use to generate the text announcement
|
||||
maven.announcement.stylesheet.path = ${plugin.resources}/announcement.jsl
|
||||
|
||||
@ -25,6 +25,10 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.3-SNAPSHOT" date="in CVS">
|
||||
<action dev="vmassol" type="add" issue="MPANNOUNCEMENT-11" due-to="Felipe Leme">
|
||||
Added new optional <code>maven.announcement.stylesheet.path</code>property
|
||||
that defines what stylesheet to use to generate the text announcement.
|
||||
</action>
|
||||
<action dev="vmassol" type="fix" issue="MPANNOUNCEMENT-12" due-to="Felipe Leme">
|
||||
Fixed error message when current version is not available at
|
||||
<code>xdocs/changes.xml</code>.
|
||||
|
||||
@ -61,6 +61,16 @@
|
||||
<code>${maven.repo.remote}/${pom.groupId}/plugins</code>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.announcement.stylesheet.path</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Stylesheet to use to generate the text announcement.
|
||||
</td>
|
||||
<td>
|
||||
<code>${plugin.resources}/announcement.jsl</code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user