Hi all,
I have the need to create a configuration file for several, different,
platforms.
Therefore I have a xxx-service.xml in which I call some value that are set
in the <user>/.m2/settings.xml.
For example:
#settings.xml
<properties>
<settings.file.value>(user)/.m2/settings.xml</settings.file.value>
</properties>
and then in the xxx-service.xml
#xxx-service.xml
...
<jndi:value type="java.lang.String">${settings.file.value}</jndi:value>
...
This works just fine.
My problem is, if "setting.file.value" isn't set in settings.xml the
compiler simply skips the step an leaves the ${settings.file.value} at his
place. My question is, is there a possibility, a setting to switch in order
to get an explicit warning message in case of a missing definition?
thanks a lot for your help
rgds
Turbo-555
--
View this message in context:
http://www.nabble.com/How-to-get-an-alert-if-a-property-value-is-missing-tp23870644p23870644.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]