From d7cc671ee8d9eb7417c0c02d3176e4451ef42a42 Mon Sep 17 00:00:00 2001 From: epugh Date: Mon, 31 May 2004 15:56:22 +0000 Subject: [PATCH] Add new FAQ entries. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115420 13f79535-47bb-0310-9956-ffa450edef68 --- cruisecontrol/xdocs/faq.fml | 98 ++++++++++++++++++++++++++++++ cruisecontrol/xdocs/navigation.xml | 10 ++- 2 files changed, 102 insertions(+), 6 deletions(-) create mode 100644 cruisecontrol/xdocs/faq.fml diff --git a/cruisecontrol/xdocs/faq.fml b/cruisecontrol/xdocs/faq.fml new file mode 100644 index 00000000..adfd1a38 --- /dev/null +++ b/cruisecontrol/xdocs/faq.fml @@ -0,0 +1,98 @@ + + + + + + + + + General + + + How do I change the template used to generate cruisecontrol.xml configuration file? + + If you specify your own maven.cruisecontrol.template, 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: + maven.cruisecontrol.template=${maven.home}/plugins/my-company-plugin-0.1/plugin-resources/cruisecontrol.jsl + and add to your plugin.xml this: + + + + + +]]> + + Note, this is a very brittle solution and suggestions on how to not hardcode the path would be appreciated! + + + + + How do I pass in my own values in my cruisecontrol.jsl? + + Just setup in your project or plugin your own properties like: myplugin.cruisecontrol.mailhost=localhost + and then just use mailhost=${myplugin.cruisecontrol.mailhost} in your cruisecontrol.jsl! + + + + + I am running Cruise on both a Linux and Window's boxes, how can I be crossplatform? + + I specified it like this in my own plugin, this would work in your maven.xml as well: +

+ + + + + + + + + + + + + + + + ]]> + +

+
+
+ + + How can I generate just a single configuration file for multiple projects? + + A neat trick of the cruisecontrol plugin is that if you specify a single configuration file for all your + projects, then the plugin will just install/update the one your are working on. So, in your project.xml + set maven.cruisecontrol.config=c:/cruisecontrol.xml or maybe + maven.cruisecontrol.config=${maven.cruisecontrol.home}/cruisecontrol.xml for use in cross + platform situations. Unfortunantly, I haven't been able to have a plugin set this value, so you need + to put it in all your projects. + + + + +
+ +
+ diff --git a/cruisecontrol/xdocs/navigation.xml b/cruisecontrol/xdocs/navigation.xml index 36afcdb4..232e0edf 100644 --- a/cruisecontrol/xdocs/navigation.xml +++ b/cruisecontrol/xdocs/navigation.xml @@ -22,14 +22,12 @@ Maven Cruise Control Plug-in - - + - - - - + + + \ No newline at end of file