On Wed, Feb 22, 2012 at 6:45 PM, huangjingfeng <huangjingf...@windo-soft.com> wrote: > Can anyone solve this problem for me? This is what I get from the output of > the command line, which indicates that " Failed to execute goal > org.apache.maven.plugins:maven-resources-plugin: 2.5:resources > (default-resources) on project my-ins: Error loading property > file,'F:\my-ins\src\main\filters\filter.properties' ". > > When I try to add the filtering function, it seems that the > resources-plugin's version is 2.5, the latest version, and the command > "process-resources" returns the outcome above. > if I delete the setting lines "<filters>src/main/filters/filters.properties" > in POM.xml file the place of which is in my maven directory, the process runs > normally and smoothly, otherwise the debug info generated was "error loading > property files".
Does the file src/main/filters/filters.properties actually exist? The error message says it doesn't "Caused by: java.io.FileNotFoundException: F:\my-ins\src\main\filters\filter.properties" --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org