You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by vm...@apache.org on 2005/02/18 19:39:59 UTC
svn commit: r154334 - in maven/maven-1/plugins/trunk/cruisecontrol:
plugin.jelly plugin.properties src/plugin-resources/cruisecontrol.jsl
xdocs/changes.xml xdocs/faq.fml xdocs/goals.xml xdocs/navigation.xml
xdocs/properties.xml
Author: vmassol
Date: Fri Feb 18 10:39:57 2005
New Revision: 154334
URL: http://svn.apache.org/viewcvs?view=rev&rev=154334
Log:
- Compute automatically the merge directory automatically (the value of <code>maven.cruisecontrol.logs.mergedirectory</code> if not specified by the user. The computation uses the <code>maven.build.dir</code> property to guess the output directory for JUnit test results.
- Added a new <code>maven.cruisecontrol.logs.pattern</code> property to specify the report files that will be merged by CC. Defaults to <code>*.xml</code>.
- Added a new <code>cruisecontrol:install-local</code> goal to install the generated CC config to a target location on the same machine (it uses a file copy). In the future we could provide other installation mechanisms like ssh, scp, etc.
- Changed the default build status file name to be <code>status.txt</code> which is the default value expected by the CC Webapp.
- New <code>maven.cruisecontrol.work.dir</code> property that specifies what CC work directory to use for the project. Default values of <code>maven.cruisecontrol.checkout.dir</code> and <code>maven.cruisecontrol.logs.dir</code> have been modified to be relative to it.
Modified:
maven/maven-1/plugins/trunk/cruisecontrol/plugin.jelly
maven/maven-1/plugins/trunk/cruisecontrol/plugin.properties
maven/maven-1/plugins/trunk/cruisecontrol/src/plugin-resources/cruisecontrol.jsl
maven/maven-1/plugins/trunk/cruisecontrol/xdocs/changes.xml
maven/maven-1/plugins/trunk/cruisecontrol/xdocs/faq.fml
maven/maven-1/plugins/trunk/cruisecontrol/xdocs/goals.xml
maven/maven-1/plugins/trunk/cruisecontrol/xdocs/navigation.xml
maven/maven-1/plugins/trunk/cruisecontrol/xdocs/properties.xml
Modified: maven/maven-1/plugins/trunk/cruisecontrol/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/cruisecontrol/plugin.jelly?view=diff&r1=154333&r2=154334
==============================================================================
--- maven/maven-1/plugins/trunk/cruisecontrol/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/cruisecontrol/plugin.jelly Fri Feb 18 10:39:57 2005
@@ -1,7 +1,8 @@
<?xml version="1.0"?>
+
<!--
/*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,13 +18,13 @@
*/
-->
-
<project
xmlns:j="jelly:core"
xmlns:util="jelly:util"
xmlns:x="jelly:xml"
xmlns:ant="jelly:ant"
- xmlns:doc="doc">
+ xmlns:doc="doc"
+ xmlns:maven="jelly:maven">
<goal name="cruisecontrol" prereqs="cruisecontrol:configure"/>
@@ -46,6 +47,26 @@
<util:tokenize var="tokens" delim="@">${pom.build.nagEmailAddress}</util:tokenize>
<j:set var="maven.cruisecontrol.mail.defaultsuffix" value="@${tokens[1]}" />
</j:if>
+
+ <!-- FIXME: Shouldn't this use the second element of pom.repository.connection -->
+ <maven:pluginVar var="method" plugin="maven-scm-plugin" property="maven.scm.method"/>
+
+ <j:if test="${method == 'cvs'}">
+ <maven:pluginVar var="root" plugin="maven-scm-plugin" property="maven.scm.cvs.root"/>
+ <maven:pluginVar var="module" plugin="maven-scm-plugin" property="maven.scm.cvs.module"/>
+ </j:if>
+ <j:if test="${method == 'svn'}">
+ <maven:pluginVar var="root" plugin="maven-scm-plugin" property="maven.scm.svn.root"/>
+ <maven:pluginVar var="module" plugin="maven-scm-plugin" property="maven.scm.svn.module"/>
+ </j:if>
+
+ <!-- Compute the merge directory automatically if not specified by the user -->
+ <maven:makeRelativePath var="relativeMavenBuildDir" basedir="${basedir}"
+ path="${maven.build.dir}" separator="/"/>
+ <maven:property var="maven.cruisecontrol.logs.mergedirectory"
+ name="maven.cruisecontrol.logs.mergedirectory"
+ defaultValue="${maven.cruisecontrol.checkout.dir}/${module}/${relativeMavenBuildDir}/test-reports/"/>
+
</goal>
<!--==================================================================-->
@@ -70,10 +91,13 @@
<x:parse var="doc" xml="${inputFile}" />
</util:available>
- <ant:mkdir dir="${maven.build.dir}" />
+ <!-- Question: Why is the tmp file required? Is it to prevent CC reloading
+ the config.xml during the generation? If so we need to comment this as
+ it's not obvious... -->
+ <ant:mkdir dir="${maven.cruisecontrol.build.dir}" />
<j:set
var="tempConfigFile"
- value="${maven.build.dir}/cruisecontrol-config-temp.xml" />
+ value="${maven.cruisecontrol.build.dir}/config-temp.xml" />
<j:set
var="stylesheet"
value="file:${maven.cruisecontrol.template}" />
@@ -81,6 +105,7 @@
<j:include uri="${stylesheet.toString()}" />
</j:file>
<ant:copy file="${tempConfigFile}" tofile="${maven.cruisecontrol.config}" />
+ <ant:delete file="${tempConfigFile}"/>
</goal>
<!--==================================================================-->
@@ -89,10 +114,48 @@
<goal name="cruisecontrol:run"
description="Run Cruise Control"
prereqs="cruisecontrol:validate">
- <ant:java jar="${maven.cruisecontrol.home}/main/dist/cruisecontrol.jar" fork="true">
- <arg line="-projectname ${pom.artifactId}"/>
- <arg line="-configfile ${maven.cruisecontrol.config}"/>
- </ant:java>
+
+ <!-- Verify if work directory exists -->
+ <util:file var="workDirAsFile" name="${maven.cruisecontrol.work.dir}"/>
+ <j:choose>
+ <j:when test="${workDirAsFile.exists()}">
+ <ant:java jar="${maven.cruisecontrol.home}/main/dist/cruisecontrol.jar"
+ fork="true" dir="${maven.cruisecontrol.work.dir}">
+ <arg line="-projectname ${pom.artifactId}"/>
+ </ant:java>
+ </j:when>
+ <j:otherwise>
+ <ant:echo>You must have a work directory (${maven.cruisecontrol.work.dir}) set up before trying to run Cruisecontrol.</ant:echo>
+ </j:otherwise>
+ </j:choose>
+ </goal>
+
+ <goal name="cruisecontrol:install-local" prereqs="cruisecontrol:configure">
+
+ <!-- Only deploy if the work dir property has been set to a location
+ different than the default -->
+ <j:choose>
+ <j:when test="${!context.getVariable('maven.cruisecontrol.work.dir').equals(context.getVariable('maven.cruisecontrol.build.dir'))}">
+ <ant:mkdir dir="${maven.cruisecontrol.work.dir}"/>
+ <ant:copy tofile="${maven.cruisecontrol.work.dir}/config.xml"
+ file="${maven.cruisecontrol.config}"/>
+ <attainGoal name="cruisecontrol:checkout"/>
+ </j:when>
+ <j:otherwise>
+ <ant:echo>You need to customize maven.cruisecontrol.work.dir to the real location</ant:echo>
+ </j:otherwise>
+ </j:choose>
+
+ </goal>
+
+ <goal name="cruisecontrol:checkout">
+ <maven:set plugin="maven-scm-plugin" property="maven.scm.checkout.dir"
+ value="${maven.cruisecontrol.checkout.dir}"/>
+ <!-- This needs SCM 1.5 and it needs support for the URL notation with
+ the module specified after a colon or to find another way to
+ get the module
+ <attainGoal name="scm:checkout"/>
+ -->
</goal>
<goal name="maven-cruisecontrol-plugin:report">
Modified: maven/maven-1/plugins/trunk/cruisecontrol/plugin.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/cruisecontrol/plugin.properties?view=diff&r1=154333&r2=154334
==============================================================================
--- maven/maven-1/plugins/trunk/cruisecontrol/plugin.properties (original)
+++ maven/maven-1/plugins/trunk/cruisecontrol/plugin.properties Fri Feb 18 10:39:57 2005
@@ -1,5 +1,5 @@
# -------------------------------------------------------------------
-# Copyright 2001-2004 The Apache Software Foundation.
+# Copyright 2001-2005 The Apache Software Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -14,17 +14,40 @@
# limitations under the License.
# -------------------------------------------------------------------
-maven.cruisecontrol.config=${basedir}/cruisecontrol.xml
+# Location where the CruiseControl configuration file will be generated.
+maven.cruisecontrol.build.dir = ${maven.build.dir}/cruisecontrol
+maven.cruisecontrol.config = ${maven.cruisecontrol.build.dir}/config.xml
+
+# Properties that are used for generating the content of the CC config file
+# -------------------------------------------------------------------------
+
+# By default we create a CC work directory that is executable from Maven's
+# build directory. In practice you'll probably want to execute CC from
+# another machine and you'll need to change the maven.cruisecontrol.work.dir
+# property to make it match the location where you wish to put the work dir
+# on this other machine.
+
+maven.cruisecontrol.work.dir=${maven.cruisecontrol.build.dir}
+maven.cruisecontrol.checkout.dir=${maven.cruisecontrol.work.dir}/checkout
+maven.cruisecontrol.logs.dir=${maven.cruisecontrol.work.dir}/logs
+
maven.cruisecontrol.mavenhome=${maven.home}
+
maven.cruisecontrol.schedule.type=interval
maven.cruisecontrol.schedule.interval=300
maven.cruisecontrol.schedule.time=1900
-maven.cruisecontrol.checkout.dir=${basedir}/checkout
-maven.cruisecontrol.logs.encodingtype=ISO-8859-1
-maven.cruisecontrol.logs.dir=${maven.build.dir}/cc-logs
-maven.cruisecontrol.logs.mergedirectory=${maven.cruisecontrol.checkout.dir}/${module}/target/test-reports
+
+# If left undefined this property is computed automatically by the plugin
+# from the ${maven.build.dir} property.
+#maven.cruisecontrol.logs.mergedirectory=${maven.cruisecontrol.checkout.dir}/${module}/target/test-reports
+
maven.cruisecontrol.logs.merge=true
-maven.cruisecontrol.currentbuildstatus.filename=currentbuildstatus.txt
+maven.cruisecontrol.logs.encodingtype=ISO-8859-1
+maven.cruisecontrol.logs.pattern=*.xml
+
+maven.cruisecontrol.currentbuildstatus.filename=status.txt
+
+# TODO: Once the SCM plugin 1.5 is released, modify the first goal to be scm:update
maven.cruisecontrol.goals=scm:update-project|clean test|site:deploy
maven.cruisecontrol.mail.host=localhost
Modified: maven/maven-1/plugins/trunk/cruisecontrol/src/plugin-resources/cruisecontrol.jsl
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/cruisecontrol/src/plugin-resources/cruisecontrol.jsl?view=diff&r1=154333&r2=154334
==============================================================================
--- maven/maven-1/plugins/trunk/cruisecontrol/src/plugin-resources/cruisecontrol.jsl (original)
+++ maven/maven-1/plugins/trunk/cruisecontrol/src/plugin-resources/cruisecontrol.jsl Fri Feb 18 10:39:57 2005
@@ -32,8 +32,6 @@
<jsl:applyTemplates select="./project" />
<!-- TODO: more configurable -->
<project name="${pom.artifactId}">
- <!-- FIXME: Shouldn't this use the second element of pom.repository.connection -->
- <maven:pluginVar var="method" plugin='maven-scm-plugin' property='maven.scm.method' />
<j:if test="${method == 'svn'}">
<plugin name="svn" classname="net.sourceforge.cruisecontrol.sourcecontrols.SVN"/>
@@ -44,14 +42,9 @@
</bootstrappers>
<modificationset>
<j:if test="${method == 'cvs'}">
- <maven:pluginVar var="root" plugin='maven-scm-plugin' property='maven.scm.cvs.root' />
- <maven:pluginVar var="module" plugin='maven-scm-plugin' property='maven.scm.cvs.module' />
<cvs cvsroot="${root}" localWorkingCopy="${maven.cruisecontrol.checkout.dir}/${module}" />
</j:if>
-
<j:if test="${method == 'svn'}">
- <maven:pluginVar var="root" plugin='maven-scm-plugin' property='maven.scm.svn.root' />
- <maven:pluginVar var="module" plugin='maven-scm-plugin' property='maven.scm.svn.module' />
<svn repositoryLocation="${root}" localWorkingCopy="${maven.cruisecontrol.checkout.dir}/${module}" />
</j:if>
<!-- Add the list of additional directories for the classpath from ${maven.eclipse.classpath.include}-->
@@ -60,7 +53,6 @@
<j:forEach var="triggerProject" items="${triggerProjectsSplit}">
<buildstatus logdir="${maven.cruisecontrol.logs.dir}/${triggerProject}"/>
</j:forEach>
-
</modificationset>
<j:set var="type" value="${maven.cruisecontrol.schedule.type}"/>
@@ -89,7 +81,8 @@
dir="${maven.cruisecontrol.logs.dir}/${pom.artifactId}">
<j:set var="mergevar" value="${maven.cruisecontrol.logs.merge}"/>
<j:if test="${mergevar == 'true'}">
- <merge dir="${maven.cruisecontrol.logs.mergedirectory}"/>
+ <merge dir="${maven.cruisecontrol.logs.mergedirectory}"
+ pattern="${maven.cruisecontrol.logs.pattern}"/>
</j:if>
</log>
<publishers>
Modified: maven/maven-1/plugins/trunk/cruisecontrol/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/cruisecontrol/xdocs/changes.xml?view=diff&r1=154333&r2=154334
==============================================================================
--- maven/maven-1/plugins/trunk/cruisecontrol/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/cruisecontrol/xdocs/changes.xml Fri Feb 18 10:39:57 2005
@@ -22,18 +22,49 @@
<properties>
<title>Changes</title>
<author email="brett@apache.org">Brett Porter</author>
+ <author email="vmassol@apache.org">Vincent Massol</author>
</properties>
<body>
<release version="1.7" date="in SVN">
- <action dev="vmassol" type="fix" issue="MPCRUISECONTROL-19">
- Fix order in which the CruiseControl's <code><project></code>
- elements are generated. They must be in the order of the less
- dependent project first.
+ <action dev="vmassol" type="update">
+ Compute automatically the merge directory automatically (the
+ value of <code>maven.cruisecontrol.logs.mergedirectory</code>
+ if not specified by the user. The computation uses the
+ <code>maven.build.dir</code> property to guess the output
+ directory for JUnit test results.
+ </action>
+ <action dev="vmassol" type="add">
+ Added a new <code>maven.cruisecontrol.logs.pattern</code> property
+ to specify the report files that will be merged by CC. Defaults to
+ <code>*.xml</code>.
+ </action>
+ <action dev="vmassol" type="add">
+ Added a new <code>cruisecontrol:install-local</code> goal
+ to install the generated CC config to a target location on
+ the same machine (it uses a file copy). In the future we could
+ provide other installation mechanisms like ssh, scp, etc.
+ </action>
+ <action dev="vmassol" type="update">
+ Changed the default build status file name to be
+ <code>status.txt</code> which is the default value
+ expected by the CC Webapp.
+ </action>
+ <action dev="vmassol" type="update">
+ New <code>maven.cruisecontrol.work.dir</code> property that specifies
+ what CC work directory to use for the project. Default values of
+ <code>maven.cruisecontrol.checkout.dir</code> and
+ <code>maven.cruisecontrol.logs.dir</code> have been modified to be
+ relative to it.
</action>
<action dev="vmassol" type="fix">
Fixed default property values for <code>maven.cruisecontrol.mail.xlsdir</code>
and <code>maven.cruisecontrol.mail.css</code> so that the plugin works by default
with the latest CC version (2.2.1).
+ </action>
+ <action dev="vmassol" type="fix" issue="MPCRUISECONTROL-19">
+ Fix order in which the CruiseControl's <code><project></code>
+ elements are generated. They must be in the order of the less
+ dependent project first.
</action>
</release>
<release version="1.6" date="2004-12-06">
Modified: maven/maven-1/plugins/trunk/cruisecontrol/xdocs/faq.fml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/cruisecontrol/xdocs/faq.fml?view=diff&r1=154333&r2=154334
==============================================================================
Binary files - no diff available.
Modified: maven/maven-1/plugins/trunk/cruisecontrol/xdocs/goals.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/cruisecontrol/xdocs/goals.xml?view=diff&r1=154333&r2=154334
==============================================================================
--- maven/maven-1/plugins/trunk/cruisecontrol/xdocs/goals.xml (original)
+++ maven/maven-1/plugins/trunk/cruisecontrol/xdocs/goals.xml Fri Feb 18 10:39:57 2005
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
+
<!--
/*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,7 +18,6 @@
*/
-->
-
<document>
<properties>
<title>Maven Cruise Control Plug-in Goals</title>
@@ -35,6 +35,13 @@
<goal>
<name>cruisecontrol:run</name>
<description>Run Cruise Control</description>
+ </goal>
+ <goal>
+ <name>cruisecontrol:install-local</name>
+ <description>
+ Install the generated CC config to a target location on the same
+ machine (it uses a file copy).
+ </description>
</goal>
</goals>
</body>
Modified: maven/maven-1/plugins/trunk/cruisecontrol/xdocs/navigation.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/cruisecontrol/xdocs/navigation.xml?view=diff&r1=154333&r2=154334
==============================================================================
--- maven/maven-1/plugins/trunk/cruisecontrol/xdocs/navigation.xml (original)
+++ maven/maven-1/plugins/trunk/cruisecontrol/xdocs/navigation.xml Fri Feb 18 10:39:57 2005
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
+
<!--
/*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,7 +17,6 @@
* limitations under the License.
*/
-->
-
<project name="Maven Cruise Control Plug-in">
<title>Maven Cruise Control Plug-in</title>
Modified: maven/maven-1/plugins/trunk/cruisecontrol/xdocs/properties.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/cruisecontrol/xdocs/properties.xml?view=diff&r1=154333&r2=154334
==============================================================================
--- maven/maven-1/plugins/trunk/cruisecontrol/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/cruisecontrol/xdocs/properties.xml Fri Feb 18 10:39:57 2005
@@ -1,7 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
+
<!--
/*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,13 +18,12 @@
*/
-->
-
<document>
<properties>
- <title>Maven Cruise Control Plug-in Properties</title>
+ <title>Maven CruiseControl Plug-in Properties</title>
</properties>
<body>
- <section name="Maven Cruise Control Plug-in Global Settings">
+ <section name="Maven CruiseControl properties">
<table>
<tr>
<th>Property</th>
@@ -31,141 +31,129 @@
<th>Description</th>
</tr>
<tr>
+ <td>maven.cruisecontrol.config</td>
+ <td>Yes</td>
+ <td>
+ Config file to update/create.
+ Default value is <code>${maven.build.dir}/cruisecontrol/config.xml</code>.
+ </td>
+ </tr>
+ <tr>
<td>maven.cruisecontrol.home</td>
<td>No</td>
<td>
- <p>Location of cruise control installation - for finding the reporting directory</p>
- <p>
- <strong>NOTE: </strong>It may be more appropriate to set this in build.properties
- on the CruiseControl server since the value may differ from developer to developer.
- </p>
+ Location where CC is installed. No default value.
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.schedule.type</td>
+ <td>maven.cruisecontrol.work.dir</td>
<td>Yes</td>
<td>
- <p>Defines the schedule type: interval or time. Default value is
- <code>interval</code>.</p>
+ Location of the CC work directory that will be used at runtime.
+ Default value is <code>${maven.cruisecontrol.build.dir}</code>.
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.schedule.interval</td>
+ <td>maven.cruisecontrol.checkout.dir</td>
<td>Yes</td>
<td>
- <p>Seconds in between builds for this project. Default value is
- <code>300</code>.</p>
+ Location where to checkout/update code at runtime.
+ Default value is <code>${maven.cruisecontrol.work.dir}/checkout</code>.
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.schedule.time</td>
+ <td>maven.cruisecontrol.logs.dir</td>
<td>Yes</td>
<td>
- <p>Time when builds this project, in the form HHmm (execute every day). Default value is
- <code>1900</code>.</p>
+ Location where CC logs will be generated at runtime.
+ Default value is <code>${maven.cruisecontrol.work.dir}/logs</code>
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.checkout.dir</td>
+ <td>maven.cruisecontrol.schedule.type</td>
<td>Yes</td>
<td>
- <p>Where to checkout/update code temporarily. Default value is
- <code>${basedir}/checkout</code>.</p>
- <p>
- <strong>NOTE: </strong>It may be more appropriate to set this in build.properties
- on the CruiseControl server since the value may differ from developer to developer.
- </p>
+ Defines the schedule type: interval or time.
+ Default value is <code>interval</code>.
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.logs.encodingtype</td>
+ <td>maven.cruisecontrol.schedule.interval</td>
<td>Yes</td>
<td>
- <p>Encoding type for logs files. Default value is
- <code>ISO-8859-1</code>.</p>
+ Seconds in between builds for this project.
+ Default value is <code>300</code>.
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.logs.dir</td>
+ <td>maven.cruisecontrol.schedule.time</td>
<td>Yes</td>
<td>
- <p>Default value is
- <code>${maven.build.dir}/cc-logs</code>.</p>
- <p>
- <strong>NOTE: </strong>It may be more appropriate to set this in build.properties
- on the CruiseControl server since the value may differ from developer to developer.
- </p>
+ Time when builds this project, in the form HHmm (execute every day).
+ Default value is <code>1900</code>.
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.logs.merge</td>
+ <td>maven.cruisecontrol.logs.encodingtype</td>
<td>Yes</td>
<td>
- <p>Set true if you want to add others reports files at the end of the Cruisecontrol report file. Default value is
- <code>true</code>.</p>
+ Encoding type for logs files.
+ Default value is <code>ISO-8859-1</code>.
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.logs.mergedirectory</td>
+ <td>maven.cruisecontrol.logs.merge</td>
<td>Yes</td>
<td>
- <p>Directory containing .xml reports files to merge. Default value is
- <code>${maven.cruisecontrol.checkout.dir}/${module}/target/test-reports</code>.</p>
+ Set true if you want to add others reports files at the end of the
+ Cruisecontrol report file.
+ Default value is <code>true</code>.
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.currentbuildstatus.filename</td>
+ <td>maven.cruisecontrol.logs.mergedirectory</td>
<td>Yes</td>
<td>
- <p>The filename to write the currentbuildstatus. Default value is
- <code>currentbuildstatus.txt</code>.</p>
+ Directory containing .xml reports files to merge.
+ Default value is
+ <code>${maven.cruisecontrol.checkout.dir}/${module}/[maven.build.dir relative location]/test-reports</code>.
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.goals</td>
+ <td>maven.cruisecontrol.currentbuildstatus.filename</td>
<td>Yes</td>
<td>
- <p>Default value is
- <code>scm:update-project|clean test|site:deploy</code>.</p>
+ The filename to write the current build status.
+ Default value is <code>status.txt</code>.
</td>
</tr>
<tr>
- <td>maven.cruisecontrol.config</td>
+ <td>maven.cruisecontrol.goals</td>
<td>Yes</td>
<td>
- <p>Config file to update/create. Default value is
- <code>${basedir}/cruisecontrol.xml</code>.</p>
- <p>
- <strong>NOTE: </strong>It may be more appropriate to set this in build.properties
- on the CruiseControl server since the value may differ from developer to developer.
- </p>
+ Default value is
+ <code>scm:update-project|clean test|site:deploy</code>.
</td>
</tr>
<tr>
<td>maven.cruisecontrol.template</td>
<td>Yes</td>
<td>
- <p>Template file to use in generating the cruisecontrol.xml file.</p>
- <p>
- <strong>NOTE: </strong>It may be more appropriate to set this in build.properties
- on the CruiseControl server since the value may differ from developer to developer.
- </p>
+ Template file to use in generating the cruisecontrol.xml file.
</td>
</tr>
<tr>
<td>maven.cruisecontrol.trigger.projects</td>
<td>Yes</td>
<td>
- <p>
- A comma separated list of projects that should trigger this project to build when
- they are built. Allows you to build a project whose dependencies
- have changed.
- </p>
- <p>
- <strong>NOTE: </strong>You may need to edit the config file to ensure that dependent
- project appear prior to the project. This is because CruiseControl builds projects in
- the order that appear in the config file. Failure to order the project properly may
- results in continuious rebuilding of project and/or avoidable build failures.
+ A comma separated list of projects that should trigger this project
+ to build when they are built. Allows you to build a project whose
+ dependencies have changed.
+ <p>
+ <strong>NOTE: </strong>You may need to edit the config file to ensure that dependent
+ project appear prior to the project. This is because CruiseControl builds projects in
+ the order that appear in the config file. Failure to order the project properly may
+ results in continuious rebuilding of project and/or avoidable build failures.
</p>
</td>
</tr>
@@ -173,12 +161,9 @@
<td>maven.cruisecontrol.buildresults.site</td>
<td>Yes</td>
<td>
- <p>
- The root of the cruisecontrol site used in generating the link to
- CruiseControl. By default this is
- <code>${pom.url}/cruisecontrol</code>. While not required,
- typically you will need to set this.
- </p>
+ The root of the cruisecontrol site used in generating the link to CC
+ Default value is <code>${pom.url}/cruisecontrol</code>. While not required,
+ typically you will need to set this.
</td>
</tr>
<tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org