title: how to define property in maven pom.xml and pass arguments from command line?
body: <p>I need to pass two arguments, say <code>shell</code> and <code>version</code> from command line. </p>
  
  <p>The issue is I am not able to understand how to define these two variables in <code>pom.xml</code>, and then fetch the parameters in my Java code at runtime. </p>
  
  <p>Also when I run it as a Maven project , how do I set the parameter values?</p>
  
  <p>Any suggestions would be of great help. Thanks!!</p>