Skip to content

Commit 47b2edf

Browse files
committed
[MDEP-842] Use skip field in :list-classes
1 parent 8c3b20f commit 47b2edf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ 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+
}
152156
ProjectBuildingRequest buildingRequest = makeBuildingRequest();
153157

154158
try {

0 commit comments

Comments
 (0)