diff --git a/generators/server/generator.js b/generators/server/generator.js
index 5381cd9c..432848c0 100644
--- a/generators/server/generator.js
+++ b/generators/server/generator.js
@@ -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.
diff --git a/generators/server/templates/pom.xml.ejs b/generators/server/templates/pom.xml.ejs
index bbcc6b9e..f2fe0a7d 100644
--- a/generators/server/templates/pom.xml.ejs
+++ b/generators/server/templates/pom.xml.ejs
@@ -118,22 +118,26 @@ _%>
<%_ if (cacheProviderEhcache) { _%>
3.10.8
<%_ } _%>
+ <%- javaDependencies['archunit-junit5'] %>
<%= versions.testcontainers %>
- 3.1.0
- 3.10.1
- 3.1.1
+ <%- javaDependencies['maven-clean-plugin'] %>
+ <%- javaDependencies['maven-compiler-plugin'] %>
+ <%- javaDependencies['maven-javadoc-plugin'] %>
2.10
- 3.0.0-M3
- 3.0.0-M3
- 2.2.1
- 3.1.0
- 3.0.0-M4
+ <%- javaDependencies['maven-site-plugin'] %>
+ <%- javaDependencies['maven-enforcer-plugin'] %> 3.0.0-M3
+ <%- javaDependencies['maven-failsafe-plugin'] %>
+ <%- javaDependencies['maven-idea-plugin'] %>
+ <%- javaDependencies['maven-resources-plugin'] %>
+ <%- javaDependencies['maven-surefire-plugin'] %>
3.2.4
- 3.1.1
+
+ <%- javaDependencies['maven-checkstyle-plugin'] %>
1.6.0
- 3.2.3
+ 4.2.0
+ <%- javaDependencies['spotless-maven-plugin'] %>
<%_ if (!skipClient) { _%>
1.10.0