Last active
March 23, 2022 05:54
-
-
Save mraible/c8eea229598318023cedd8ea786c35c5 to your computer and use it in GitHub Desktop.
JHipster modified for Java on M1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pom.xml b/pom.xml | |
index 7b8cffc..3640692 100644 | |
--- a/pom.xml | |
+++ b/pom.xml | |
@@ -79,7 +79,6 @@ | |
<maven-compiler-plugin.version>3.9.0</maven-compiler-plugin.version> | |
<maven-javadoc-plugin.version>3.3.2</maven-javadoc-plugin.version> | |
<maven-eclipse-plugin.version>2.10</maven-eclipse-plugin.version> | |
- <maven-enforcer-plugin.version>3.0.0-M3</maven-enforcer-plugin.version> | |
<maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version> | |
<maven-jar-plugin.version>3.2.2</maven-jar-plugin.version> | |
<maven-idea-plugin.version>2.2.1</maven-idea-plugin.version> | |
@@ -92,7 +91,6 @@ | |
<frontend-maven-plugin.version>1.12.1</frontend-maven-plugin.version> | |
<checksum-maven-plugin.version>1.11</checksum-maven-plugin.version> | |
<maven-antrun-plugin.version>3.0.0</maven-antrun-plugin.version> | |
- <git-commit-id-plugin.version>5.0.0</git-commit-id-plugin.version> | |
<modernizer-maven-plugin.version>2.3.0</modernizer-maven-plugin.version> | |
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version> | |
<jib-maven-plugin.version>3.2.0</jib-maven-plugin.version> | |
@@ -338,10 +336,6 @@ | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-eclipse-plugin</artifactId> | |
</plugin> | |
- <plugin> | |
- <groupId>org.apache.maven.plugins</groupId> | |
- <artifactId>maven-enforcer-plugin</artifactId> | |
- </plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-failsafe-plugin</artifactId> | |
@@ -520,28 +514,6 @@ | |
</executions> | |
</plugin> | |
- <plugin> | |
- <groupId>io.github.git-commit-id</groupId> | |
- <artifactId>git-commit-id-maven-plugin</artifactId> | |
- <version>${git-commit-id-plugin.version}</version> | |
- <executions> | |
- <execution> | |
- <goals> | |
- <goal>revision</goal> | |
- </goals> | |
- </execution> | |
- </executions> | |
- <configuration> | |
- <failOnNoGitDirectory>false</failOnNoGitDirectory> | |
- <failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo> | |
- <generateGitPropertiesFile>true</generateGitPropertiesFile> | |
- <includeOnlyProperties> | |
- <includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty> | |
- <includeOnlyProperty>^git.commit.id.describe$</includeOnlyProperty> | |
- <includeOnlyProperty>^git.branch$</includeOnlyProperty> | |
- </includeOnlyProperties> | |
- </configuration> | |
- </plugin> | |
<plugin> | |
<groupId>org.gaul</groupId> | |
<artifactId>modernizer-maven-plugin</artifactId> | |
@@ -655,43 +627,6 @@ | |
<downloadJavadocs>true</downloadJavadocs> | |
</configuration> | |
</plugin> | |
- <plugin> | |
- <groupId>org.apache.maven.plugins</groupId> | |
- <artifactId>maven-enforcer-plugin</artifactId> | |
- <version>${maven-enforcer-plugin.version}</version> | |
- <executions> | |
- <execution> | |
- <id>enforce-versions</id> | |
- <goals> | |
- <goal>enforce</goal> | |
- </goals> | |
- </execution> | |
- <execution> | |
- <id>enforce-dependencyConvergence</id> | |
- <configuration> | |
- <rules> | |
- <DependencyConvergence /> | |
- </rules> | |
- <fail>false</fail> | |
- </configuration> | |
- <goals> | |
- <goal>enforce</goal> | |
- </goals> | |
- </execution> | |
- </executions> | |
- <configuration> | |
- <rules> | |
- <requireMavenVersion> | |
- <message>You are running an older version of Maven. JHipster requires at least Maven ${maven.version}</message> | |
- <version>[${maven.version},)</version> | |
- </requireMavenVersion> | |
- <requireJavaVersion> | |
- <message>You are running an incompatible version of Java. JHipster supports JDK 11 to 17.</message> | |
- <version>[11,12),[12,13),[13,14),[14,15),[15,16),[16,17),[17,18)</version> | |
- </requireJavaVersion> | |
- </rules> | |
- </configuration> | |
- </plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-idea-plugin</artifactId> | |
@@ -1130,10 +1065,6 @@ | |
</execution> | |
</executions> | |
</plugin> | |
- <plugin> | |
- <groupId>io.github.git-commit-id</groupId> | |
- <artifactId>git-commit-id-maven-plugin</artifactId> | |
- </plugin> | |
</plugins> | |
</build> | |
<properties> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is no longer needed as of Mar 22, 2022. https://twitter.com/mraible/status/1506401694921498626