Skip to content

Commit

Permalink
Rename variable: ENFORCER_ARTIFACTID=>ENFORCER_ARTIFACT_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Jan 25, 2025
1 parent 1ffc638 commit 903ebd3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class MavenModuleFactory {
private static final JHipsterSource SOURCE = from("buildtool/maven");

private static final GroupId APACHE_PLUGINS_GROUP = groupId("org.apache.maven.plugins");
private static final ArtifactId ENFORCER_ARTIFACTID = artifactId("maven-enforcer-plugin");
private static final ArtifactId ENFORCER_ARTIFACT_ID = artifactId("maven-enforcer-plugin");

private static final String JAVA_PREREQUISITES =
"""
Expand Down Expand Up @@ -180,13 +180,13 @@ private MavenPlugin failsafePlugin() {
}

private MavenPlugin enforcerPlugin() {
return mavenPlugin().groupId(APACHE_PLUGINS_GROUP).artifactId(ENFORCER_ARTIFACTID).build();
return mavenPlugin().groupId(APACHE_PLUGINS_GROUP).artifactId(ENFORCER_ARTIFACT_ID).build();
}

private MavenPlugin enforcerPluginManagement() {
return mavenPlugin()
.groupId(APACHE_PLUGINS_GROUP)
.artifactId(ENFORCER_ARTIFACTID)
.artifactId(ENFORCER_ARTIFACT_ID)
.versionSlug("maven-enforcer-plugin")
.addExecution(pluginExecution().goals("enforce").id("enforce-versions"))
.addExecution(
Expand Down

0 comments on commit 903ebd3

Please sign in to comment.