From 48c16d10c7e766fbc696ae888f4cf2c2a9867964 Mon Sep 17 00:00:00 2001 From: brett Date: Mon, 28 Jun 2004 09:46:48 +0000 Subject: [PATCH] update source elements to format better git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115571 13f79535-47bb-0310-9956-ffa450edef68 --- cruisecontrol/xdocs/faq.fml | 12 ++----- pmd/xdocs/faq.fml | 64 ++++++++++++++----------------------- 2 files changed, 27 insertions(+), 49 deletions(-) diff --git a/cruisecontrol/xdocs/faq.fml b/cruisecontrol/xdocs/faq.fml index 6809905b..795bf598 100644 --- a/cruisecontrol/xdocs/faq.fml +++ b/cruisecontrol/xdocs/faq.fml @@ -27,17 +27,11 @@ 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 + 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! + diff --git a/pmd/xdocs/faq.fml b/pmd/xdocs/faq.fml index 7508bbd7..5a5a310a 100644 --- a/pmd/xdocs/faq.fml +++ b/pmd/xdocs/faq.fml @@ -62,11 +62,8 @@ maven 1.0-rc1), you issue the following command to maven to download the version of your choice.

- - - +

This command will download the plugin, remove the other versions of the maven-pmd-plugin and make this recently downloaded version @@ -94,15 +91,12 @@ project descriptor.

- - - ... - maven-pmd-plugin - ... - -]]> - + + ... + maven-pmd-plugin + ... +]]> @@ -117,29 +111,23 @@ maven.xml:

- - - -]]> - + ]]>

The generated report has to be added manually to the website which is usually done with navigation.xml.

- - - -]]> - + ]]> @@ -210,11 +198,8 @@

The default setting for the maven.pmd.rulesetfiles property is: - - - +

The following list of default pmd rulesets was obtained from @@ -245,8 +230,7 @@

Example of a custom ruleset, saved as file called favorite-pmd.xml in your project root. - - @@ -267,18 +251,13 @@ - -]]> - +]]>

How it's referenced in your project.properties file. - - - +

@@ -295,7 +274,12 @@ The JAR picked up the plugin is defined in $MAVEN_HOME/plugins/pmd/project.xml and can be changed. -

+

+

+ Alternatively, you can specify the following in your ~/build.properties file: + +