w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
mvn compile error invalid newline character

Checkstyle error is not severe. You can disable checkstyle plugin, put <skip>true</skip> in pom.xml file:

<project>
  ...
  <build>
    ...
    <plugins>
      ...
      <plugin>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>
      ...
    </plugins>
    ...
  </build>
  ...
</project>

Then the project should be built successfully.

If you do not want to change your pom.xml you may set the skip to true from command line using the –D option (override the skip parameter within an execution):

mvn compile -Dcheckstyle.skip=true




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.