Firas Abd Alaziz
Firas Abd Alaziz

Reputation: 33

Is it possible to use pom.xml properties and ignore command line arguments?

I have a jenkins job that I don't have access to modify it, and it runs mvn command with arguments on a root pom.xml

I have access to change one of the modules, but I need to use the pom.xml properties not the ones sent by the command line.

Is this applicable?

Upvotes: 0

Views: 234

Answers (1)

J Fabian Meier
J Fabian Meier

Reputation: 35901

No.

And frankly, it sounds like a bad idea. Wouldn't it be better to talk to the person that handles the Jenkins job? It seems you should find a holistic approach.

Upvotes: 1

Related Questions