Skip to content
Merged
Show file tree
Hide file tree
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 @@ -25,22 +25,27 @@ public final class DefaultArtifact implements Artifact {

private final Artifact delegate;

@Deprecated
public DefaultArtifact(String coords) {
delegate = Artifact.of(coords);
}

@Deprecated
public DefaultArtifact(String groupId, String artifactId) {
delegate = Artifact.of(groupId, artifactId);
}

@Deprecated
public DefaultArtifact(String groupId, String artifactId, String version) {
delegate = Artifact.of(groupId, artifactId, version);
}

@Deprecated
public DefaultArtifact(String groupId, String artifactId, String extension, String version) {
delegate = Artifact.of(groupId, artifactId, extension, version);
}

@Deprecated
public DefaultArtifact(
String groupId,
String artifactId,
Expand All @@ -50,6 +55,7 @@ public DefaultArtifact(
delegate = Artifact.of(groupId, artifactId, extension, classifier, version);
}

@Deprecated
public DefaultArtifact(
String groupId,
String artifactId,
Expand All @@ -60,56 +66,67 @@ public DefaultArtifact(
delegate = Artifact.of(groupId, artifactId, extension, classifier, version, path);
}

@Deprecated
@Override
public String getGroupId() {
return delegate.getGroupId();
}

@Deprecated
@Override
public String getArtifactId() {
return delegate.getArtifactId();
}

@Deprecated
@Override
public String getExtension() {
return delegate.getExtension();
}

@Deprecated
@Override
public String getClassifier() {
return delegate.getClassifier();
}

@Deprecated
@Override
public String getVersion() {
return delegate.getVersion();
}

@Deprecated
@Override
public Path getPath() {
return delegate.getPath();
}

@Deprecated
@Override
public Artifact withVersion(String version) {
return delegate.withVersion(version);
}

@Deprecated
@Override
public Artifact withPath(Path path) {
return delegate.withPath(path);
}

@Deprecated
@Override
public String toString() {
return delegate.toString();
}

@Deprecated
@Override
public boolean equals(Object rhs) {
return delegate.equals(rhs);
}

@Deprecated
@Override
public int hashCode() {
return delegate.hashCode();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ public class BuilddepNopMojo extends AbstractMojo {

private final Logger logger;

@Deprecated
@Inject
public BuilddepNopMojo(Logger logger) {
this.logger = logger;
}

@Deprecated
@Override
public void execute() throws MojoExecutionException, MojoFailureException {
logger.warn("Legacy deprecated builddep MOJO called, it does nothing");
Expand Down