Reputation: 59
I add a dependency in Maven, And there is properties file in that dependency ,
I need to modify the file,
How?
Upvotes: 0
Views: 145
Reputation: 45319
You can't, and you shouldn't, modify an artifact's content.
You can, however, override the file by making a copy, modifying it, and saving it with the same name under src/main/resources
.
Note that whether the runtime sees your edited file or the original one depends heavily on your packaging and on your actual runtime.
Upvotes: 1