Skip to content

Commit

Permalink
[MSCMPUB-70] Remove irrelevant includes & excludes parameters
Browse files Browse the repository at this point in the history
Those are not evaluated as part of the passed ScmFileSet during checkout
or update.
  • Loading branch information
kwin committed Oct 3, 2024
1 parent cd8b9a4 commit 86edb09
Showing 1 changed file with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,6 @@ public abstract class AbstractScmPublishMojo extends AbstractMojo {
@Parameter(property = "scmpublish.checkinComment", defaultValue = "Site checkin for project ${project.name}")
private String checkinComment;

/**
* Patterns to exclude from the scm tree.
*/
@Parameter
protected String excludes;

/**
* Patterns to include in the scm checkout.
*/
@Parameter
protected String includes;

/**
* List of SCM provider implementations.
* Key is the provider type, eg. <code>cvs</code>.
Expand Down Expand Up @@ -393,7 +381,8 @@ protected void checkoutExisting() throws MojoExecutionException {
}

try {
ScmFileSet fileSet = new ScmFileSet(checkoutDirectory, includes, excludes);
// only the baseDir is evaluated during update/checkout
ScmFileSet fileSet = new ScmFileSet(checkoutDirectory, null, null);

ScmBranch branch = (scmBranch == null) ? null : new ScmBranch(scmBranch);

Expand Down

0 comments on commit 86edb09

Please sign in to comment.