diff --git a/console/plugin.jelly b/console/plugin.jelly index d1aa686c..69c43713 100644 --- a/console/plugin.jelly +++ b/console/plugin.jelly @@ -32,7 +32,11 @@ - + + + ${prop} = ${context.getVariable(prop)} + + ${goal} Setting property ${propertyPieces[0]} to ${propertyPieces[1]} @@ -40,9 +44,6 @@ - - - @@ -66,20 +67,14 @@ - - - -${listGoal.name} - - - The following commands are available: - list - list all available goals help - this message <goalname> - attain a goal + <property>=<value> - set a property value + =<property> - display a property value quit - quits the console diff --git a/console/project.xml b/console/project.xml index 742a385d..34bcc160 100644 --- a/console/project.xml +++ b/console/project.xml @@ -23,7 +23,7 @@ 3 maven-console-plugin Maven Console Plugin - 1.1 + 1.2-SNAPSHOT Console for Maven http://maven.apache.org/reference/plugins/console/ http://jira.codehaus.org/browse/MPCONSOLE diff --git a/console/xdocs/changes.xml b/console/xdocs/changes.xml index 978f0163..7a7272c6 100644 --- a/console/xdocs/changes.xml +++ b/console/xdocs/changes.xml @@ -24,6 +24,11 @@ dIon Gillard + + Removed the list command as it hasn't worked as expected since the early betas (goals are lazy loaded into the werkz project) + Add way to display a property value + Improve help + Add some whitespace before goal Set properties in parent scope so it takes effect for plugin properties diff --git a/console/xdocs/goals.xml b/console/xdocs/goals.xml index 3ed6698a..1e658147 100644 --- a/console/xdocs/goals.xml +++ b/console/xdocs/goals.xml @@ -35,12 +35,6 @@ awaiting input. - - console:listGoals - - Lists the goals available for the currently loaded project - - console:help Displays a help message along with a list of valid commands diff --git a/console/xdocs/index.xml b/console/xdocs/index.xml index 03e70016..2e8cf7cb 100644 --- a/console/xdocs/index.xml +++ b/console/xdocs/index.xml @@ -34,13 +34,21 @@

The console simply loads the current project.xml and waits for - the user to supply a goal (or other command) to execute. The - following commands are currently implemented: -

    -
  • help - displays the valid commands for the console
  • -
  • list - lists valid goals for the loaded project
  • -
+ the user to supply a goal (or set of comma-separated goals) to execute.

+ clean,jar:jar +

+ You can press enter to re-run the last successful goal which is + displayed in the prompt. +

+

+ To change a property on the fly, assign it like so: +

+ maven.test.skip=true +

+ To check the current value of a property, start the command with =: +

+ =maven.compile.source

For more information on the functionality provided by this plugin, please see the Goals document.