Hello, I use in my pom.xml the items:
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties> and I would like to compile only one Java file with Javac 1.7, the whole project / all other files should use 1.8. How can I define in my pom.xml, that the target compiler value (and the source compiler value) are for only one file is set to a different value? Thanks Phil --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org