i have set up my pom with profiles and property filters My src/main/resources/jdbc.properties file looks like this
jdbc.driverClassName=org.postgresql.Driver jdbc.url=jdbc:postgresql://${database.host}:5432/${database.name} jdbc.username=${database.user} jdbc.password=${database.password} and is handled by mvn process-resources which filters properties and copies the file to target/classes. everything works fine. No i have a UnitTest which needs to load this jdbc.property file. Running with mvn test is ok, running UnitTest inside Eclipse doesn't work as it tries to load from src/main/resources/jdbc.properties and not target/classes/jdbc.properties Is there a way to let Junit Test Cases inside Eclipse respect the maven classpath? It's so convinient to press Shift-Alt-X T to run the unit test i just dont want to miss it. Any suggestions? kind regards, janning --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]