Allow users to specify their own template file to use when generating cruisecontrol.xml

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115418 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
epugh
2004-05-31 13:18:46 +00:00
parent 0aaa71f987
commit 9fec292aec
5 changed files with 22 additions and 2 deletions

View File

@@ -65,7 +65,7 @@
value="${maven.build.dir}/cruisecontrol-config-temp.xml" />
<j:set
var="stylesheet"
value="file:${plugin.resources}/cruisecontrol.jsl" />
value="file:${maven.cruisecontrol.template}" />
<j:file name="${tempConfigFile}" outputMode="xml" prettyPrint="yes">
<j:include uri="${stylesheet.toString()}" />
</j:file>

View File

@@ -23,3 +23,4 @@ maven.cruisecontrol.home=CC_HOME_NOT_SET
maven.cruisecontrol.mail.host=localhost
maven.cruisecontrol.mail.defaultsuffix=DEFAULT_SUFFIX_NOT_SET
maven.cruisecontrol.mail.subjectprefix=[BUILD]
maven.cruisecontrol.template=${plugin.resources}/cruisecontrol.jsl

View File

@@ -22,7 +22,7 @@
<extend>../plugin-parent/project.xml</extend>
<id>maven-cruisecontrol-plugin</id>
<name>Maven Cruise Control Plugin</name>
<currentVersion>1.2</currentVersion>
<currentVersion>1.3-dev</currentVersion>
<description>A plugin to handle the generating and maintaining of Cruise Control configuration. Requires Maven 1.0 RC2.</description>
<shortDescription>Cruise Control Plugin for Maven</shortDescription>
<url>http://maven.apache.org/reference/plugins/cruisecontrol/</url>
@@ -55,6 +55,15 @@
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Eric Pugh</name>
<id>epugh</id>
<email>epugh@opensourceconnections.com</email>
<organization>OpenSource Connections</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
</developers>
<dependencies>
<dependency>

View File

@@ -24,6 +24,9 @@
<author email="brett@apache.org">Brett Porter</author>
</properties>
<body>
<release version="1.3" date="n/a">
<action dev="epugh" type="add">allow user to specify different cc template to use</action>
</release>
<release version="1.2" date="2004-05-15">
<action dev="brett" type="fix">fix problem if target does not exist</action>
</release>

View File

@@ -101,6 +101,13 @@
<code>${pom.build.nagEmailAddress}</code>.</p>
</td>
</tr>
<tr>
<td>maven.cruisecontrol.template</td>
<td>Yes</td>
<td>
<p>Template file to use in generating the cruisecontrol.xml file.</p>
</td>
</tr>
</table>
</section>
</body>