Home > Enterprise >  Maven POM equivalent for-DargLine="-Djava.locale.providers=COMPAT,CLDR"
Maven POM equivalent for-DargLine="-Djava.locale.providers=COMPAT,CLDR"

Time:04-13

I'm migrating to java11 and I'm running this commmand

mvn clean install -DargLine="-Djava.locale.providers=COMPAT,CLDR"

it works fine, but is there a POM equivalent to pass that argLine so I just can use mvn clean install?

CodePudding user response:

Just set the property inside the POM

<properties>
  <argLine>java.locale.providers=COMPAT,CLDR</argLine>
</properties>
  • Related