maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amaresh mourya <>
Subject overriding goal's configuration from command line?
Date Thu, 14 Apr 2011 09:28:45 GMT
Hi All,

I have a POM which has a plugin. I have configured it to use some specific
settings at the time of command line invocation of the goal. I set these
configurations in execution ID as "default-cli".

This MyPlugins:hiPlugin:1.0:hi goals just prints the output in format of :
${person} says ${greetings}
When I ran goal (MyPlugins:hiPlugin:1.0:hi) on command line I got the
expected output that was : "Chandan says Welcome"
But My question is why am I not able to override these configurations from
command line, I wanted to run goal with parameter (MyPlugins:hiPlugin:1.0:hi
-Dperson=Vishal) to get the output as "Vishal says Welcome". But I am still
getting output "Chandan says Welcome".

Here is my POM.

<project xmlns="">
    <description>Project for mavenProj</description>


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message