java - Encoding warning in Maven Selenium WebDriver project executing in IntelliJ IDEA -
this question has answer here:
- how configure encoding in maven? 4 answers
i have maven selenium webdriver project in intellij idea 14.0.2. pom.xml file below:
<?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelversion>4.0.0</modelversion> <groupid>masteringseleniumtestingtools</groupid> <artifactid>chapter3</artifactid> <version>1.0-snapshot</version> <dependencies> <dependency> <groupid>org.seleniumhq.selenium</groupid> <artifactid>selenium-java</artifactid> <version>2.45.0</version> </dependency> <dependency> <groupid>junit</groupid> <artifactid>junit</artifactid> <version>4.12</version> <scope>test</scope> </dependency> </dependencies> </project>
when ran project test command warnings shown below:
[warning] using platform encoding (utf-8 actually) copy filtered resources, i.e. build platform dependent!<br> [warning] file encoding has not been set, using platform encoding utf-8, i.e. build platform dependent!
https://maven.apache.org/general.html#encoding-warning
<project> ... <properties> <project.build.sourceencoding>utf8</project.build.sourceencoding> </properties>
...
utf-8
valid.
Comments
Post a Comment