Skip to content

Commit

Permalink
Clean up unnecessary logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarsotovalero committed Mar 15, 2021
1 parent b4fce43 commit 2d5e129
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
11 changes: 10 additions & 1 deletion depclean-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

<properties>
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<linkXRef>false</linkXRef>
</properties>

<build>
Expand All @@ -38,6 +39,7 @@
</dependencies>
<executions>
<execution>
<id>check for errors</id>
<configuration>
<!-- Change to warning to enforce strong style rules -->
<violationSeverity>error</violationSeverity>
Expand All @@ -47,13 +49,20 @@
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
</configuration>
<id>checkstyle</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
<execution>
<id>checkstyle report</id>
<configuration>
<failsOnError>true</failsOnError>
<!-- Google style is adopted, https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml -->
<configLocation>../checkstyle.xml</configLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
</configuration>
<phase>verify</phase>
<goals>
<!-- Generate a Checkstyle report -->
Expand Down
14 changes: 12 additions & 2 deletions depclean-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@

<properties>
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<linkXRef>false</linkXRef>
</properties>

<description>DepClean is a plugin for automatically remove unused dependencies in Maven projects</description>

<!-- Build options -->
<build>
<!-- Maven plugin to create Maven plugins-->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -56,22 +58,30 @@
</dependencies>
<executions>
<execution>
<id>check for errors</id>
<configuration>
<!-- Change to warning to enforce strong style rules -->
<violationSeverity>warning</violationSeverity>
<violationSeverity>error</violationSeverity>
<failsOnError>true</failsOnError>
<!-- Google style is adopted, https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml -->
<configLocation>../checkstyle.xml</configLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
</configuration>
<id>checkstyle</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
<execution>
<id>checkstyle report</id>
<configuration>
<failsOnError>true</failsOnError>
<!-- Google style is adopted, https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml -->
<configLocation>../checkstyle.xml</configLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
</configuration>
<phase>verify</phase>
<goals>
<!-- Generate a Checkstyle report -->
Expand Down

0 comments on commit 2d5e129

Please sign in to comment.