Skip to content

Commit

Permalink
issue 4: skip aggregating for projects with licensing.skip == true.
Browse files Browse the repository at this point in the history
  • Loading branch information
idcmp committed Jan 16, 2012
1 parent 834c3dd commit 2b1c4c9
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -52,6 +52,12 @@ public void execute() throws MojoExecutionException, MojoFailureException {

for (MavenProject project : reactorProjects) {

String licensingSkip = (String) project.getProperties().get("licensing.skip");
if (licensingSkip != null && Boolean.parseBoolean(licensingSkip) == true) {
getLog().info("Licensing: Skipping project " + project);
continue;
}

LicensingReport report = generateReport(project);

bigReport.combineWith(report);
Expand Down

0 comments on commit 2b1c4c9

Please sign in to comment.