Added new <code>cruisecontrol:configure-war</code> goal that generates a configured CruiseControl webapp WAR.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@154419 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7071f42f23
commit
161bee3755
@ -130,7 +130,12 @@
|
|||||||
</j:choose>
|
</j:choose>
|
||||||
</goal>
|
</goal>
|
||||||
|
|
||||||
<goal name="cruisecontrol:install-local" prereqs="cruisecontrol:configure">
|
<!--==================================================================-->
|
||||||
|
<!-- Install the generated CruiseControl configuration on the same -->
|
||||||
|
<!-- machine in the ${maven.cruisecontrol.work.dir} directory. -->
|
||||||
|
<!--==================================================================-->
|
||||||
|
<goal name="cruisecontrol:install-local" prereqs="cruisecontrol:configure"
|
||||||
|
description="Perform a local installation of the generated CruiseControl configuration">
|
||||||
|
|
||||||
<!-- Only deploy if the work dir property has been set to a location
|
<!-- Only deploy if the work dir property has been set to a location
|
||||||
different than the default -->
|
different than the default -->
|
||||||
@ -158,6 +163,31 @@
|
|||||||
-->
|
-->
|
||||||
</goal>
|
</goal>
|
||||||
|
|
||||||
|
<!--==================================================================-->
|
||||||
|
<!-- Configure the CruiseControl Webapp WAR and generate a fully -->
|
||||||
|
<!-- configured WAR ready to be used. -->
|
||||||
|
<!--==================================================================-->
|
||||||
|
<goal name="cruisecontrol:configure-war" prereqs="cruisecontrol:validate"
|
||||||
|
description="Generate a configured CruiseControl Webapp WAR">
|
||||||
|
|
||||||
|
<ant:unwar src="${maven.cruisecontrol.home}/reporting/jsp/dist/cruisecontrol.war"
|
||||||
|
dest="${maven.cruisecontrol.build.dir}/cruisecontrolwar"/>
|
||||||
|
|
||||||
|
<!-- Modify the web.xml file -->
|
||||||
|
<ant:replace file="${maven.cruisecontrol.build.dir}/cruisecontrolwar/WEB-INF/web.xml"
|
||||||
|
token="<param-value>logs</param-value>"
|
||||||
|
value="<param-value>${maven.cruisecontrol.logs.dir}</param-value>"/>
|
||||||
|
<ant:replace file="${maven.cruisecontrol.build.dir}/cruisecontrolwar/WEB-INF/web.xml"
|
||||||
|
token="<param-value>status.txt</param-value>"
|
||||||
|
value="<param-value>${maven.cruisecontrol.currentbuildstatus.filename}</param-value>"/>
|
||||||
|
|
||||||
|
<ant:war destfile="${maven.cruisecontrol.build.dir}/cruisecontrol.war"
|
||||||
|
basedir="${maven.cruisecontrol.build.dir}/cruisecontrolwar"
|
||||||
|
webxml="${maven.cruisecontrol.build.dir}/cruisecontrolwar/WEB-INF/web.xml"
|
||||||
|
excludes="**/web.xml"/>
|
||||||
|
|
||||||
|
</goal>
|
||||||
|
|
||||||
<goal name="maven-cruisecontrol-plugin:report">
|
<goal name="maven-cruisecontrol-plugin:report">
|
||||||
<!-- TODO: download and transform instead of linking to it -->
|
<!-- TODO: download and transform instead of linking to it -->
|
||||||
</goal>
|
</goal>
|
||||||
|
|||||||
@ -26,6 +26,10 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.7" date="in SVN">
|
<release version="1.7" date="in SVN">
|
||||||
|
<action dev="vmassol" type="add">
|
||||||
|
Added new <code>cruisecontrol:configure-war</code> goal that generates
|
||||||
|
a configured CruiseControl webapp WAR.
|
||||||
|
</action>
|
||||||
<action dev="vmassol" type="update">
|
<action dev="vmassol" type="update">
|
||||||
Use the same default value for the
|
Use the same default value for the
|
||||||
<code>maven.cruisecontrol.mail.buildresultsurl</code> property
|
<code>maven.cruisecontrol.mail.buildresultsurl</code> property
|
||||||
|
|||||||
@ -43,6 +43,12 @@
|
|||||||
machine (it uses a file copy).
|
machine (it uses a file copy).
|
||||||
</description>
|
</description>
|
||||||
</goal>
|
</goal>
|
||||||
|
<goal>
|
||||||
|
<name>cruisecontrol:configure-war</name>
|
||||||
|
<description>
|
||||||
|
Generates a configured CruiseControl webapp WAR.
|
||||||
|
</description>
|
||||||
|
</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</body>
|
</body>
|
||||||
</document>
|
</document>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user