Fine tune how to override the cruisecontrol.jsl when putting the logic in
a plugin. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@157036 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b560d68305
commit
70602fb776
@ -29,9 +29,14 @@
|
||||
<answer>
|
||||
If you specify your own <code>maven.cruisecontrol.template</code>, then that will be used
|
||||
instead. If you want to wrap all of your logic up in your own plugin so that
|
||||
you don't have to set each project individually, then specify it like this:
|
||||
you don't have to set each project individually, then add this goal to your plugin's
|
||||
plugin.jelly file:
|
||||
<source><![CDATA[
|
||||
maven.cruisecontrol.template=${plugin.resources}/my-cc-template.jsl]]></source>
|
||||
<preGoal name="cruisecontrol:configure">
|
||||
<maven:set plugin="maven-cruisecontrol-plugin"
|
||||
property="maven.cruisecontrol.template"
|
||||
value="${plugin.resources}/custom_cruisecontrol.jsl"/>
|
||||
</preGoal>]]></source>
|
||||
</answer>
|
||||
</faq>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user