Hi! Am Donnerstag, 4. Februar 2010 09:59:26 schrieb Søren Krogh Neigaard: > The username/password/driver/url for the database is set in the pom.xml > file by maven. How do I read these values from my Java helper class?
Set them in the pom.xml via properties, eg.: <project> <properties> <database.username>nobody</database.username> </properties> </project> And access these properties in Java via System.getProperty("databse.username"). hth, - martin
signature.asc
Description: This is a digitally signed message part.