Skip to content

Commit

Permalink
align versions for maven pom
Browse files Browse the repository at this point in the history
  • Loading branch information
atomfrede committed Dec 4, 2023
1 parent ca130fa commit b75e390
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions generators/server/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ export default class extends ServerGenerator {
application.MN_CONSTANTS = mnConstants;
application.gradleVersion = mnConstants.GRADLE_VERSION;
application.dockerContainers.redis = mnConstants.DOCKER_REDIS;
application.jhipsterDependenciesVersion = '7.9.3';
application.jhipsterDependenciesVersion = '8.0.0';
// Revert to java 11 to fix redis.
application.JAVA_VERSION = '11';
application.JAVA_VERSION = '17';
// Add liquibase h2 database references.
application.liquibaseAddH2Properties = true;
// Micronaut is a java project.
Expand Down
24 changes: 14 additions & 10 deletions generators/server/templates/pom.xml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -118,22 +118,26 @@ _%>
<%_ if (cacheProviderEhcache) { _%>
<ehcache.version>3.10.8</ehcache.version>
<%_ } _%>
<archunit-junit5.version><%- javaDependencies['archunit-junit5'] %></archunit-junit5.version>
<testcontainers.version><%= versions.testcontainers %></testcontainers.version>
<!-- Plugin versions -->
<maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
<maven-clean-plugin.version><%- javaDependencies['maven-clean-plugin'] %></maven-clean-plugin.version>
<maven-compiler-plugin.version><%- javaDependencies['maven-compiler-plugin'] %></maven-compiler-plugin.version>
<maven-javadoc-plugin.version><%- javaDependencies['maven-javadoc-plugin'] %></maven-javadoc-plugin.version>
<maven-eclipse-plugin.version>2.10</maven-eclipse-plugin.version>
<!-- We can't go to 3.0.0-M2 as it has a regression. See https://issues.apache.org/jira/browse/MENFORCER-306 -->
<maven-enforcer-plugin.version>3.0.0-M3</maven-enforcer-plugin.version>
<maven-failsafe-plugin.version>3.0.0-M3</maven-failsafe-plugin.version>
<maven-idea-plugin.version>2.2.1</maven-idea-plugin.version>
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
<maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
<maven-site-plugin.version><%- javaDependencies['maven-site-plugin'] %></maven-site-plugin.version>
<maven-enforcer-plugin.version><%- javaDependencies['maven-enforcer-plugin'] %></maven-enforcer-plugin.version> <maven-failsafe-plugin.version>3.0.0-M3</maven-failsafe-plugin.version>
<maven-failsafe-plugin.version><%- javaDependencies['maven-failsafe-plugin'] %></maven-failsafe-plugin.version>
<maven-idea-plugin.version><%- javaDependencies['maven-idea-plugin'] %></maven-idea-plugin.version>
<maven-resources-plugin.version><%- javaDependencies['maven-resources-plugin'] %></maven-resources-plugin.version>
<maven-surefire-plugin.version><%- javaDependencies['maven-surefire-plugin'] %></maven-surefire-plugin.version>
<maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
<maven-checkstyle-plugin.version>3.1.1</maven-checkstyle-plugin.version>

<maven-checkstyle-plugin.version><%- javaDependencies['maven-checkstyle-plugin'] %></maven-checkstyle-plugin.version>
<maven-exec-plugin.version>1.6.0</maven-exec-plugin.version>
<micronaut-plugin.version>3.2.3</micronaut-plugin.version>
<micronaut-plugin.version>4.2.0</micronaut-plugin.version>
<spotless-maven-plugin.version><%- javaDependencies['spotless-maven-plugin'] %></spotless-maven-plugin.version>

<%_ if (!skipClient) { _%>
<frontend-maven-plugin.version>1.10.0</frontend-maven-plugin.version>
Expand Down

0 comments on commit b75e390

Please sign in to comment.