Skip to content

Commit

Permalink
prefer JDK methods to Plexus ones (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo authored May 31, 2023
1 parent c2a8e63 commit f744036
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;
import org.codehaus.plexus.util.StringUtils;

/**
* Perform a release from SCM to a staging repository.
Expand Down Expand Up @@ -55,8 +54,8 @@ void createGoals() {
}
}

goals = StringUtils.replace(goals, "site-deploy", "site:stage-deploy");
goals = StringUtils.replace(goals, "site:deploy", "site:stage-deploy");
goals = goals.replace("site-deploy", "site:stage-deploy");
goals = goals.replace("site:deploy", "site:stage-deploy");
}

@Override
Expand Down

0 comments on commit f744036

Please sign in to comment.