Repository: jhipster/jhipster-lite
Pull request #12091 (2025-03-12 21:46:46)

Rename XxxModulesFactory to XxxModuleFactory


Patch:
diff --git a/src/main/java/tech/jhipster/lite/generator/client/react/core/application/ReactApplicationService.java b/src/main/java/tech/jhipster/lite/generator/client/react/core/application/ReactApplicationService.java
index 81e025979..41e963914 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/react/core/application/ReactApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/react/core/application/ReactApplicationService.java
@@ -1,7 +1,7 @@
 package tech.jhipster.lite.generator.client.react.core.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.client.react.core.domain.ReactModulesFactory;
+import tech.jhipster.lite.generator.client.react.core.domain.ReactModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.npm.NpmLazyInstaller;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
@@ -9,10 +9,10 @@ import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 @Service
 public class ReactApplicationService {
 
-  private final ReactModulesFactory factory;
+  private final ReactModuleFactory factory;
 
   public ReactApplicationService(NpmLazyInstaller npmLazyInstaller) {
-    factory = new ReactModulesFactory(npmLazyInstaller);
+    factory = new ReactModuleFactory(npmLazyInstaller);
   }
 
   public JHipsterModule buildModule(JHipsterModuleProperties properties) {
diff --git a/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModulesFactory.java b/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModuleFactory.java
similarity index 98%
rename from src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModulesFactory.java
rename to src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModuleFactory.java
index 6d7416470..cd960a7bb 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModulesFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModuleFactory.java
@@ -28,7 +28,7 @@ import tech.jhipster.lite.module.domain.file.JHipsterSource;
 import tech.jhipster.lite.module.domain.npm.NpmLazyInstaller;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
-public class ReactModulesFactory {
+public class ReactModuleFactory {
 
   private static final JHipsterSource SOURCE = from("client/react/core");
 
@@ -51,7 +51,7 @@ public class ReactModulesFactory {
 
   private final NpmLazyInstaller npmLazyInstaller;
 
-  public ReactModulesFactory(NpmLazyInstaller npmLazyInstaller) {
+  public ReactModuleFactory(NpmLazyInstaller npmLazyInstaller) {
     this.npmLazyInstaller = npmLazyInstaller;
   }
 
diff --git a/src/main/java/tech/jhipster/lite/generator/client/vue/core/application/VueApplicationService.java b/src/main/java/tech/jhipster/lite/generator/client/vue/core/application/VueApplicationService.java
index 141bc930e..6d296ca27 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/vue/core/application/VueApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/vue/core/application/VueApplicationService.java
@@ -1,7 +1,7 @@
 package tech.jhipster.lite.generator.client.vue.core.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.client.vue.core.domain.VueModulesFactory;
+import tech.jhipster.lite.generator.client.vue.core.domain.VueModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.npm.NpmLazyInstaller;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
@@ -9,10 +9,10 @@ import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 @Service
 public class VueApplicationService {
 
-  private final VueModulesFactory factory;
+  private final VueModuleFactory factory;
 
   public VueApplicationService(NpmLazyInstaller npmLazyInstaller) {
-    factory = new VueModulesFactory(npmLazyInstaller);
+    factory = new VueModuleFactory(npmLazyInstaller);
   }
 
   public JHipsterModule buildVueModule(JHipsterModuleProperties properties) {
diff --git a/src/main/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModulesFactory.java b/src/main/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModuleFactory.java
similarity index 99%
rename from src/main/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModulesFactory.java
rename to src/main/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModuleFactory.java
index ff246820b..73ac9ee9a 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModulesFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModuleFactory.java
@@ -28,7 +28,7 @@ import tech.jhipster.lite.module.domain.npm.NpmLazyInstaller;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 import tech.jhipster.lite.shared.error.domain.Assert;
 
-public class VueModulesFactory {
+public class VueModuleFactory {
 
   private static final JHipsterSource SOURCE = from("client/vue");
   private static final JHipsterSource APP_SOURCE = from("client/vue/webapp/app");
@@ -55,7 +55,7 @@ public class VueModulesFactory {
 
   private final NpmLazyInstaller npmLazyInstaller;
 
-  public VueModulesFactory(NpmLazyInstaller npmLazyInstaller) {
+  public VueModuleFactory(NpmLazyInstaller npmLazyInstaller) {
     this.npmLazyInstaller = npmLazyInstaller;
   }
 
diff --git a/src/main/java/tech/jhipster/lite/generator/client/vue/security/jwt/application/VueJwtApplicationService.java b/src/main/java/tech/jhipster/lite/generator/client/vue/security/jwt/application/VueJwtApplicationService.java
index 8b8705f38..65fd8f761 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/vue/security/jwt/application/VueJwtApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/vue/security/jwt/application/VueJwtApplicationService.java
@@ -1,17 +1,17 @@
 package tech.jhipster.lite.generator.client.vue.security.jwt.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.client.vue.security.jwt.domain.VueJwtModulesFactory;
+import tech.jhipster.lite.generator.client.vue.security.jwt.domain.VueJwtModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @Service
 public class VueJwtApplicationService {
 
-  private final VueJwtModulesFactory factory;
+  private final VueJwtModuleFactory factory;
 
   public VueJwtApplicationService() {
-    factory = new VueJwtModulesFactory();
+    factory = new VueJwtModuleFactory();
   }
 
   public JHipsterModule buildModule(JHipsterModuleProperties properties) {
diff --git a/src/main/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModulesFactory.java b/src/main/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModuleFactory.java
similarity index 98%
rename from src/main/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModulesFactory.java
rename to src/main/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModuleFactory.java
index 27fd182ad..55de48cbd 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModulesFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModuleFactory.java
@@ -9,7 +9,7 @@ import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 import tech.jhipster.lite.shared.error.domain.Assert;
 import tech.jhipster.lite.shared.slug.domain.JHLiteModuleSlug;
 
-public class VueJwtModulesFactory {
+public class VueJwtModuleFactory {
 
   private static final JHipsterSource SOURCE = from("client/vue");
   private static final JHipsterSource APP_SOURCE = from("client/vue/security/jwt/webapp/app");
diff --git a/src/main/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/application/VueOAuth2KeycloakApplicationService.java b/src/main/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/application/VueOAuth2KeycloakApplicationService.java
index 6d74f6ee5..70ae72703 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/application/VueOAuth2KeycloakApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/application/VueOAuth2KeycloakApplicationService.java
@@ -1,17 +1,17 @@
 package tech.jhipster.lite.generator.client.vue.security.oauth2_keycloak.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.client.vue.security.oauth2_keycloak.domain.VueOAuth2KeycloakModulesFactory;
+import tech.jhipster.lite.generator.client.vue.security.oauth2_keycloak.domain.VueOAuth2KeycloakModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @Service
 public class VueOAuth2KeycloakApplicationService {
 
-  private final VueOAuth2KeycloakModulesFactory factory;
+  private final VueOAuth2KeycloakModuleFactory factory;
 
   public VueOAuth2KeycloakApplicationService() {
-    factory = new VueOAuth2KeycloakModulesFactory();
+    factory = new VueOAuth2KeycloakModuleFactory();
   }
 
   public JHipsterModule buildModule(JHipsterModuleProperties properties) {
diff --git a/src/main/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModulesFactory.java b/src/main/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModuleFactory.java
similarity index 98%
rename from src/main/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModulesFactory.java
rename to src/main/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModuleFactory.java
index 181894383..a373acbc2 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModulesFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModuleFactory.java
@@ -10,7 +10,7 @@ import tech.jhipster.lite.module.domain.file.JHipsterSource;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 import tech.jhipster.lite.shared.error.domain.Assert;
 
-public class VueOAuth2KeycloakModulesFactory {
+public class VueOAuth2KeycloakModuleFactory {
 
   private static final JHipsterSource SOURCE = from("client/vue");
   private static final JHipsterSource APP_SOURCE = from("client/vue/security/oauth2_keycloak/webapp/app");
diff --git a/src/main/java/tech/jhipster/lite/generator/server/sonarqube/application/SonarQubeApplicationService.java b/src/main/java/tech/jhipster/lite/generator/server/sonarqube/application/SonarQubeApplicationService.java
index 590a72192..0456c7b26 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/sonarqube/application/SonarQubeApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/sonarqube/application/SonarQubeApplicationService.java
@@ -1,7 +1,7 @@
 package tech.jhipster.lite.generator.server.sonarqube.application;
 
 import org.springframework.stereotype.Component;
-import tech.jhipster.lite.generator.server.sonarqube.domain.SonarQubeModulesFactory;
+import tech.jhipster.lite.generator.server.sonarqube.domain.SonarQubeModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.docker.DockerImages;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
@@ -9,10 +9,10 @@ import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 @Component
 public class SonarQubeApplicationService {
 
-  private final SonarQubeModulesFactory factory;
+  private final SonarQubeModuleFactory factory;
 
   public SonarQubeApplicationService(DockerImages dockerImages) {
-    factory = new SonarQubeModulesFactory(dockerImages);
+    factory = new SonarQubeModuleFactory(dockerImages);
   }
 
   public JHipsterModule buildBackendModule(JHipsterModuleProperties properties) {
diff --git a/src/main/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModulesFactory.java b/src/main/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModuleFactory.java
similarity index 97%
rename from src/main/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModulesFactory.java
rename to src/main/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModuleFactory.java
index ebacba2af..70b567a2d 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModulesFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModuleFactory.java
@@ -19,7 +19,7 @@ import tech.jhipster.lite.module.domain.mavenplugin.MavenPlugin;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 import tech.jhipster.lite.shared.error.domain.Assert;
 
-public class SonarQubeModulesFactory {
+public class SonarQubeModuleFactory {
 
   private static final JHipsterSource SOURCE = from("server/sonar");
   private static final JHipsterDestination SONAR_PROPERTIES_DESTINATION = to("sonar-project.properties");
@@ -27,7 +27,7 @@ public class SonarQubeModulesFactory {
 
   private final DockerImages dockerImages;
 
-  public SonarQubeModulesFactory(DockerImages dockerImages) {
+  public SonarQubeModuleFactory(DockerImages dockerImages) {
     this.dockerImages = dockerImages;
   }
 
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/application/EhcacheApplicationService.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/application/EhcacheApplicationService.java
index 60068867f..991593d38 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/application/EhcacheApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/application/EhcacheApplicationService.java
@@ -1,17 +1,17 @@
 package tech.jhipster.lite.generator.server.springboot.cache.ehcache.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.server.springboot.cache.ehcache.domain.EHCacheModulesFactory;
+import tech.jhipster.lite.generator.server.springboot.cache.ehcache.domain.EHCacheModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @Service
 public class EhcacheApplicationService {
 
-  private final EHCacheModulesFactory factory;
+  private final EHCacheModuleFactory factory;
 
   public EhcacheApplicationService() {
-    factory = new EHCacheModulesFactory();
+    factory = new EHCacheModuleFactory();
   }
 
   public JHipsterModule buildJavaConfigurationModule(JHipsterModuleProperties properties) {
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModulesFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModuleFactory.java
similarity index 99%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModulesFactory.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModuleFactory.java
index 09d8e21c1..939ce1574 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModulesFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModuleFactory.java
@@ -19,7 +19,7 @@ import tech.jhipster.lite.module.domain.file.JHipsterSource;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 import tech.jhipster.lite.shared.error.domain.Assert;
 
-public class EHCacheModulesFactory {
+public class EHCacheModuleFactory {
 
   private static final JHipsterSource SOURCE = from("server/springboot/cache/ehcache");
 
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/common/domain/AuthenticationModulesFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/common/domain/AuthenticationModuleFactory.java
similarity index 98%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/common/domain/AuthenticationModulesFactory.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/common/domain/AuthenticationModuleFactory.java
index 5e8183e5d..512e6d2e3 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/common/domain/AuthenticationModulesFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/common/domain/AuthenticationModuleFactory.java
@@ -19,7 +19,7 @@ import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 import tech.jhipster.lite.module.domain.replacement.TextNeedleBeforeReplacer;
 import tech.jhipster.lite.shared.error.domain.Assert;
 
-public final class AuthenticationModulesFactory {
+public final class AuthenticationModuleFactory {
 
   private static final String AUTHENTICATION_DESTINATION = "shared/authentication";
 
@@ -39,7 +39,7 @@ public final class AuthenticationModulesFactory {
   );
   private static final TextNeedleBeforeReplacer ANNOTATION_NEEDLE = lineBeforeText("@Target(ElementType.TYPE)");
 
-  private AuthenticationModulesFactory() {}
+  private AuthenticationModuleFactory() {}
 
   public static JHipsterModuleBuilder authenticationModuleBuilder(JHipsterModuleProperties properties) {
     Assert.notNull("properties", properties);
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/jwt/domain/JwtAuthenticationModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/jwt/domain/JwtAuthenticationModuleFactory.java
index 552cbf52f..c30d7208d 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/jwt/domain/JwtAuthenticationModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/jwt/domain/JwtAuthenticationModuleFactory.java
@@ -1,6 +1,6 @@
 package tech.jhipster.lite.generator.server.springboot.mvc.security.jwt.domain;
 
-import static tech.jhipster.lite.generator.server.springboot.mvc.security.common.domain.AuthenticationModulesFactory.authenticationModuleBuilder;
+import static tech.jhipster.lite.generator.server.springboot.mvc.security.common.domain.AuthenticationModuleFactory.authenticationModuleBuilder;
 import static tech.jhipster.lite.module.domain.JHipsterModule.artifactId;
 import static tech.jhipster.lite.module.domain.JHipsterModule.from;
 import static tech.jhipster.lite.module.domain.JHipsterModule.groupId;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/oauth2/core/domain/OAuth2ModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/oauth2/core/domain/OAuth2ModuleFactory.java
index 56028a85f..28aa9e6e8 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/oauth2/core/domain/OAuth2ModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/security/oauth2/core/domain/OAuth2ModuleFactory.java
@@ -1,6 +1,6 @@
 package tech.jhipster.lite.generator.server.springboot.mvc.security.oauth2.core.domain;
 
-import static tech.jhipster.lite.generator.server.springboot.mvc.security.common.domain.AuthenticationModulesFactory.authenticationModuleBuilder;
+import static tech.jhipster.lite.generator.server.springboot.mvc.security.common.domain.AuthenticationModuleFactory.authenticationModuleBuilder;
 import static tech.jhipster.lite.module.domain.JHipsterModule.JHipsterModuleBuilder;
 import static tech.jhipster.lite.module.domain.JHipsterModule.artifactId;
 import static tech.jhipster.lite.module.domain.JHipsterModule.from;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/application/SpringBootMvcApplicationService.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/application/SpringBootMvcApplicationService.java
index 5ef24c177..03bb54f62 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/application/SpringBootMvcApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/application/SpringBootMvcApplicationService.java
@@ -1,17 +1,17 @@
 package tech.jhipster.lite.generator.server.springboot.mvc.web.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.server.springboot.mvc.web.domain.SpringBootMvcsModulesFactory;
+import tech.jhipster.lite.generator.server.springboot.mvc.web.domain.SpringBootMvcsModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @Service
 public class SpringBootMvcApplicationService {
 
-  private final SpringBootMvcsModulesFactory factory;
+  private final SpringBootMvcsModuleFactory factory;
 
   public SpringBootMvcApplicationService() {
-    factory = new SpringBootMvcsModulesFactory();
+    factory = new SpringBootMvcsModuleFactory();
   }
 
   public JHipsterModule buildTomcatModule(JHipsterModuleProperties properties) {
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModulesFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactory.java
similarity index 99%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModulesFactory.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactory.java
index a78836cf6..49f168f99 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModulesFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactory.java
@@ -26,7 +26,7 @@ import tech.jhipster.lite.module.domain.javaproperties.PropertyKey;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 import tech.jhipster.lite.shared.error.domain.Assert;
 
-public class SpringBootMvcsModulesFactory {
+public class SpringBootMvcsModuleFactory {
 
   private static final String PACKAGE_INFO = "package-info.java";
   private static final String CORS = "cors";


Test patch:
diff --git a/src/test/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModulesFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModuleFactoryTest.java
similarity index 98%
rename from src/test/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModulesFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModuleFactoryTest.java
index 5b31ac280..cf8ac3481 100644
--- a/src/test/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModulesFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/client/react/core/domain/ReactModuleFactoryTest.java
@@ -23,10 +23,10 @@ import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @UnitTest
 @ExtendWith(MockitoExtension.class)
-class ReactModulesFactoryTest {
+class ReactModuleFactoryTest {
 
   @InjectMocks
-  private ReactModulesFactory factory;
+  private ReactModuleFactory factory;
 
   @Mock
   private NpmLazyInstaller npmLazyInstaller;
diff --git a/src/test/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModulesFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModuleFactoryTest.java
similarity index 98%
rename from src/test/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModulesFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModuleFactoryTest.java
index 6b735b7d2..8fab70b3a 100644
--- a/src/test/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModulesFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/client/vue/core/domain/VueModuleFactoryTest.java
@@ -25,10 +25,10 @@ import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @UnitTest
 @ExtendWith(MockitoExtension.class)
-class VueModulesFactoryTest {
+class VueModuleFactoryTest {
 
   @InjectMocks
-  private VueModulesFactory factory;
+  private VueModuleFactory factory;
 
   @Mock
   private NpmLazyInstaller npmLazyInstaller;
diff --git a/src/test/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModulesFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModuleFactoryTest.java
similarity index 96%
rename from src/test/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModulesFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModuleFactoryTest.java
index 862c8f2df..5f59161f5 100644
--- a/src/test/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModulesFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/client/vue/security/jwt/domain/VueJwtModuleFactoryTest.java
@@ -10,9 +10,9 @@ import tech.jhipster.lite.module.domain.JHipsterModulesFixture;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @UnitTest
-class VueJwtModulesFactoryTest {
+class VueJwtModuleFactoryTest {
 
-  private static final VueJwtModulesFactory factory = new VueJwtModulesFactory();
+  private static final VueJwtModuleFactory factory = new VueJwtModuleFactory();
 
   @Test
   void shouldBuildVueJwtModule() {
diff --git a/src/test/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModulesFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModuleFactoryTest.java
similarity index 95%
rename from src/test/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModulesFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModuleFactoryTest.java
index a49f6b1a7..31da61e38 100644
--- a/src/test/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModulesFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/client/vue/security/oauth2_keycloak/domain/VueOAuth2KeycloakModuleFactoryTest.java
@@ -10,9 +10,9 @@ import tech.jhipster.lite.module.domain.JHipsterModulesFixture;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @UnitTest
-class VueOAuth2KeycloakModulesFactoryTest {
+class VueOAuth2KeycloakModuleFactoryTest {
 
-  private static final VueOAuth2KeycloakModulesFactory factory = new VueOAuth2KeycloakModulesFactory();
+  private static final VueOAuth2KeycloakModuleFactory factory = new VueOAuth2KeycloakModuleFactory();
 
   @Test
   void shouldBuildVueOAuth2KeycloakModule() {
diff --git a/src/test/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModulesFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModuleFactoryTest.java
similarity index 98%
rename from src/test/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModulesFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModuleFactoryTest.java
index b7967b2ae..9bee3d7d0 100644
--- a/src/test/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModulesFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/server/sonarqube/domain/SonarQubeModuleFactoryTest.java
@@ -19,13 +19,13 @@ import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @UnitTest
 @ExtendWith(MockitoExtension.class)
-class SonarQubeModulesFactoryTest {
+class SonarQubeModuleFactoryTest {
 
   @Mock
   private DockerImages dockerImages;
 
   @InjectMocks
-  private SonarQubeModulesFactory factory;
+  private SonarQubeModuleFactory factory;
 
   @Nested
   class Maven {
diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModulesFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModuleFactoryTest.java
similarity index 96%
rename from src/test/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModulesFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModuleFactoryTest.java
index 344f39e64..d92ee910a 100644
--- a/src/test/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModulesFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/server/springboot/cache/ehcache/domain/EHCacheModuleFactoryTest.java
@@ -10,9 +10,9 @@ import tech.jhipster.lite.module.domain.JHipsterModulesFixture;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @UnitTest
-class EHCacheModulesFactoryTest {
+class EHCacheModuleFactoryTest {
 
-  private static final EHCacheModulesFactory factory = new EHCacheModulesFactory();
+  private static final EHCacheModuleFactory factory = new EHCacheModuleFactory();
 
   @Test
   void shouldBuildJavaConfigurationModule() {
diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModulesFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactoryTest.java
similarity index 97%
rename from src/test/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModulesFactoryTest.java
rename to src/test/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactoryTest.java
index b626df400..0c0e84df0 100644
--- a/src/test/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModulesFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactoryTest.java
@@ -10,9 +10,9 @@ import tech.jhipster.lite.module.domain.JHipsterModulesFixture;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @UnitTest
-class SpringBootMvcsModulesFactoryTest {
+class SpringBootMvcsModuleFactoryTest {
 
-  private static final SpringBootMvcsModulesFactory factory = new SpringBootMvcsModulesFactory();
+  private static final SpringBootMvcsModuleFactory factory = new SpringBootMvcsModuleFactory();
 
   @Test
   void shouldBuildTomcatMvcModule() {