-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7941e7d
commit 57495e8
Showing
2 changed files
with
4 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
@@ -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; | ||
} | ||
|
||
} |