I have a Maven plugin and it is configured in the POM file as
<build>
<plugins>
<plugin>
<groupId>com.example</groupId>
<artifactId>example-maven-plugin</artifactId>
<configuration>
<scriptsPath>scripts</scriptsPath>
</configuration>
</plugin>
</plugins>
</build>
Now I want to override that scriptsPath
from from command line so I run
mvn -X example-maven-plugin:goal -DscriptsPath=scripts1
I can see that value of the scriptsPath
is still scripts
and not scripts1
. Could the configuration parameter be overriden from the command line ?