Skip to content

Commit a6866ba

Browse files
pzygieloslachiewicz
authored andcommitted
[MDEP-842] Use skip field in :list-classes
1 parent 9ba7263 commit a6866ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/org/apache/maven/plugins/dependency/ListClassesMojo.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ public class ListClassesMojo extends AbstractMojo {
149149

150150
@Override
151151
public void execute() throws MojoExecutionException, MojoFailureException {
152+
if (skip) {
153+
getLog().info("Skipping plugin execution");
154+
return;
155+
}
156+
152157
ProjectBuildingRequest buildingRequest = makeBuildingRequest();
153158

154159
try {

0 commit comments

Comments
 (0)