'How to overwrite property value in dependent library
I built a common library written in plain java that will be reused by multiple quarkus services. This library contains .properties file. My question is how do i overwrite a property in common library. Common library is built:
mvn clean install --define property1=3 --define property2=4
i use easy-props library to read properties. it allows to inject environment, system variables.
quarkus services use common library as a dependency in maven pom file. i tried putting properties with the same name i.e. property1=4 in the application.properties file of the service that's using common lib but the property value is not overwritten
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
