Hi,
I have just installed mvn 2.0.2 on linux mandrake 10 and I follow
getting started documentation to refresh my knowledges on maven
possibility.I'm on filtering resources paragraph , and try to use java
- D parameter . the command line on the documentation does not work.
because of the white space on parameter value. Maven takes the last
string (here man) as a goal of a lifecycle phase error message i get
is
/home/maven/maki # mvn -e -X process-resources "-Dcommand.line.prop=Hi man"
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from:
'/home/maven/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'/usr/local/maven-2.0.2/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
----------------------------------------------------------------------------
[INFO] Invalid task 'man': you must specify a valid lifecycle phase,
or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO] 
----------------------------------------------------------------------------
[DEBUG] Trace
Is it a known problem (Minor I admit it)

Tom.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to