这是我尝试构建restcomm存储库时遇到的错误
Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.9.1:checkstyle (check-style) on project restcomm-connect.application: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 1 checkstyle errors. -> [Help 1]
这是我的pom.xml配置:
<!-- Checkstyle -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>checkstyle/checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<useFile/>
</configuration>
<dependencies>
<dependency>
<groupId>org.mobicents</groupId>
<artifactId>checkstyle</artifactId>
<version>${mobicents.checkstyle.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>check-style</id>
<phase>compile</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
</plugin>
请有人帮我解决上述错误