Как устранить ошибку стиля Maven Check в Restcomm Build - PullRequest
0 голосов
/ 24 февраля 2019

Это ошибка, которую я получаю, когда пытаюсь создать репозиторий 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>

кто-то, пожалуйста, помогите мне исправить вышеперечисленноеошибка

...