And why project.basedir and not just ${basedir}?
org.apache.maven.plugins
maven-surefire-plugin
always
${bt.root.location}
>
> ${project.basedir}/src/test/data
>
What makes you think that is the right way to do it? Doesn't seem like
you read the documentation about system properties and Surefire.
http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html
Wayne
System.out.println("DATA PROPERTY "+System.getProperty("data"));
--
View this message in context:
http://maven.40175.n5.nabble.com/FileNotFoundException-while-reading-static-input-file-in-JUnit-tp3378700p3378726.html
Sent from the Maven - Users mailing list a
eption
> File f = new File("myfile");
>
> Question: how to specify in pom.xml file that my test input files are
> located inside src/test/resources folder?
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/FileNotFoundException-while-reading
at my test input files are
located inside src/test/resources folder?
--
View this message in context:
http://maven.40175.n5.nabble.com/FileNotFoundException-while-reading-static-input-file-in-JUnit-tp3378700p3378700.html
Sent from the Maven - Users mailing list archive at