Skip to content

Commit

Permalink
[MDEP-842] Use skip field in :list-classes
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Jan 9, 2023
1 parent 8c3b20f commit aa7868b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ public class ListClassesMojo extends AbstractMojo {

@Override
public void execute() throws MojoExecutionException, MojoFailureException {
if (skip) {
getLog().info("Skipping plugin execution");
return;
}

ProjectBuildingRequest buildingRequest = makeBuildingRequest();

try {
Expand Down

0 comments on commit aa7868b

Please sign in to comment.