Skip to content

Commit 3ede26a

Browse files
author
TheSnoozer
committed
move the externalize class into the git-commit-id-plugin-core project
1 parent 1eefeb6 commit 3ede26a

File tree

2 files changed

+2
-370
lines changed

2 files changed

+2
-370
lines changed

src/main/java/pl/project13/maven/git/Externalize.java

Lines changed: 0 additions & 368 deletions
This file was deleted.

src/main/java/pl/project13/maven/git/GitCommitIdMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ public void error(String msg, Throwable t) {
530530
commitIdGenerationModeEnum = CommitIdGenerationMode.FLAT;
531531
}
532532

533-
final Externalize.Callback cb = new Externalize.Callback() {
533+
final GitCommitIdPlugin.Callback cb = new GitCommitIdPlugin.Callback() {
534534
@Override
535535
public Supplier<String> supplyProjectVersion() {
536536
return () -> project.getVersion();
@@ -692,7 +692,7 @@ public boolean shouldPropertiesEscapeUnicode() {
692692
properties = contextProperties;
693693
}
694694

695-
Externalize.runPlugin(cb, properties);
695+
GitCommitIdPlugin.runPlugin(cb, properties);
696696
} catch (GitCommitIdExecutionException e) {
697697
throw new MojoExecutionException(e.getMessage(), e);
698698
}

0 commit comments

Comments
 (0)