Why is every argument in maven starting with-D



  • -DgroupId...
    -DartifactId...
    -DarchetypeArifactId...
    -DinteractiveMode...
    ...
    

    every argument starts with "D," why?



  • It's pretty simple. -DDefine a system propertyand further, it's a self-reliance. And since, in most cases, single-box parameters from the value need not be separated by a gap, it is. I mean, maven actually sees that as a parameter.

    -D groupId... -D artifactId... -D archetypeArifactId... -D interactiveMode
    

    And maven has a lot of others. http://maven.apache.org/archives/maven-1.x/reference/command-line.html ♪


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2