Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

import org.apache.maven.toolchain.model.ToolchainModel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* Default abstract toolchain implementation, to be used as base class for any toolchain implementation
Expand Down Expand Up @@ -68,6 +69,27 @@ protected DefaultToolchain(ToolchainModel model, String type, Logger logger) {
this.type = type;
}

/**
* @param model the model, must not be {@code null}
* @param logger the logger (ignored, an SLF4J logger is used instead)
* @deprecated Use {@link #DefaultToolchain(ToolchainModel, Logger)} with an SLF4J logger instead.
*/
@Deprecated(since = "4.0.0")
protected DefaultToolchain(ToolchainModel model, org.codehaus.plexus.logging.Logger logger) {
this(model, LoggerFactory.getLogger(DefaultToolchain.class));
}

/**
* @param model the model, must not be {@code null}
* @param type the type
* @param logger the logger (ignored, an SLF4J logger is used instead)
* @deprecated Use {@link #DefaultToolchain(ToolchainModel, String, Logger)} with an SLF4J logger instead.
*/
@Deprecated(since = "4.0.0")
protected DefaultToolchain(ToolchainModel model, String type, org.codehaus.plexus.logging.Logger logger) {
this(model, type, LoggerFactory.getLogger(DefaultToolchain.class));
}

@Override
public final String getType() {
return type != null ? type : model.getType();
Expand Down
Loading