Я хочу получить ссылку, указанную от pom.xml
до config.properties
У меня есть:
<properties>
<site_url>https://biz-trunk.rts-tender.ru/</site_url>
</properties>
в pom.xml
,
site_url = ${site_url}
in config.properties
,
private Properties properties = new Properties();
public void loadConfig() {
InputStream input = null;
try {
input = new FileInputStream(getPropertiesFileName());
properties.load(input);
} catch (IOException ex) {
ex.printStackTrace();
} finally {
if (input != null) {
try {
input.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}
}
для загрузки конфигурации и этого

Почему ???

Почему не работает ???