Skip to content

Commit

Permalink
fix not used logger
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Nov 2, 2024
1 parent 7941e7d commit 57495e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 49 deletions.
40 changes: 2 additions & 38 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,16 +217,6 @@
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId>
<version>4.8.0</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
Expand Down Expand Up @@ -261,7 +251,7 @@
<artifactId>velocity-engine-core</artifactId>
<version>${velocity-version}</version>
</dependency>

<dependency>
<groupId>org.apache.maven.plugin-testing</groupId>
<artifactId>maven-plugin-testing-harness</artifactId>
Expand All @@ -287,16 +277,6 @@
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<!-- compilerVersion>${maven.compiler.compilerVersion}</compilerVersion -->
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
Expand Down Expand Up @@ -355,11 +335,6 @@
</environmentVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand All @@ -376,16 +351,5 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jdk11</id>
<activation>
<jdk>11</jdk>
</activation>
<properties>
<maven.compiler.release>8</maven.compiler.release>
</properties>
</profile>
</profiles>


</project>
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
import org.codehaus.plexus.archiver.Archiver;
import org.codehaus.plexus.archiver.jar.JarArchiver;
import org.codehaus.plexus.component.annotations.Component;
import org.codehaus.plexus.logging.Logger;
import org.codehaus.plexus.logging.console.ConsoleLogger;

/**
* A jar archiver with no info logs.
Expand All @@ -32,19 +30,12 @@
*
* @author Tony Chemit - [email protected]
* @since 1.0-beta-4
* @deprecated use {@link JarArchiver} instead
*/
@Deprecated
@Component( role = Archiver.class, hint = "jarWithNoLog" )
public class JarArchiverWithNoLog
extends JarArchiver
implements Archiver
{

Logger log = new ConsoleLogger( Logger.LEVEL_WARN, "console" );

@Override
protected Logger getLogger()
{
return log;
}

}

0 comments on commit 57495e8

Please sign in to comment.