Skip to content

Commit

Permalink
[MSHARED-1345] Bump org.apache.maven.shared:maven-shared-utils from 3…
Browse files Browse the repository at this point in the history
….2.1 to 3.4.2
  • Loading branch information
slachiewicz committed Dec 25, 2023
1 parent 4b3cf61 commit 28c7c41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-utils</artifactId>
<version>3.2.1</version>
<version>3.4.2</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool;
import org.apache.maven.shared.utils.cli.javatool.JavaToolException;
import org.codehaus.plexus.component.annotations.Component;
import org.slf4j.LoggerFactory;

/**
* Default implementation of component {@link JarSigner}.
Expand All @@ -40,7 +41,7 @@ public DefaultJarSigner() {
@Override
protected Commandline createCommandLine(JarSignerRequest request, String javaToolFile) throws JavaToolException {
JarSignerCommandLineBuilder cliBuilder = new JarSignerCommandLineBuilder();
cliBuilder.setLogger(getLogger());
cliBuilder.setLogger(LoggerFactory.getLogger(this.getClass()));
cliBuilder.setJarSignerFile(javaToolFile);
try {
Commandline cli = cliBuilder.build(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
import org.apache.maven.shared.utils.StringUtils;
import org.apache.maven.shared.utils.cli.Arg;
import org.apache.maven.shared.utils.cli.Commandline;
import org.codehaus.plexus.logging.Logger;
import org.codehaus.plexus.logging.console.ConsoleLogger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* To build the command line for a given {@link JarSignerRequest}.
Expand All @@ -34,9 +34,8 @@
* @since 1.0
*/
public class JarSignerCommandLineBuilder {
private static final Logger DEFAULT_LOGGER = new ConsoleLogger(0, JarSignerCommandLineBuilder.class.getName());

private Logger logger = DEFAULT_LOGGER;
private Logger logger = LoggerFactory.getLogger(JarSignerCommandLineBuilder.class);

private String jarSignerFile;

Expand Down

0 comments on commit 28c7c41

Please sign in to comment.