<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin>
Et voilà :)
cf. https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html
Aucun commentaire:
Enregistrer un commentaire