Is the action of the option -D in Maven temporary or not?

I need some clarifications here. If I am doing

mvn -Dnewproperty=value

Will it permanently add the property to the pom.xml of my project? If so,is there a way to delete a property from the pom.xml?

Upvotes: 0

Views: 20

Answers (1)

user8681
user8681

Reputation:

It's temporary. You will need to specify it every time you run Maven.

Upvotes: 1

Related Questions