Repository: jhipster/jhipster-lite
Pull request #10067 (2024-06-14 11:43:55)

remove banner modules
See the TO-DO/Roadmap details:
- #4122


Patch:
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/application/BannerApplicationService.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/application/BannerApplicationService.java
deleted file mode 100644
index a39ad1ed3..000000000
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/application/BannerApplicationService.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package tech.jhipster.lite.generator.server.springboot.banner.application;
-
-import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.server.springboot.banner.domain.BannerModuleFactory;
-import tech.jhipster.lite.module.domain.JHipsterModule;
-import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
-
-@Service
-public class BannerApplicationService {
-
-  private final BannerModuleFactory factory;
-
-  public BannerApplicationService() {
-    this.factory = new BannerModuleFactory();
-  }
-
-  public JHipsterModule buildJHipsterV7Banner(JHipsterModuleProperties properties) {
-    return factory.buildModuleBannerJHipsterV7(properties);
-  }
-
-  public JHipsterModule buildJHipsterV7ReactBanner(JHipsterModuleProperties properties) {
-    return factory.buildModuleBannerJHipsterV7React(properties);
-  }
-
-  public JHipsterModule buildJHipsterV7VueBanner(JHipsterModuleProperties properties) {
-    return factory.buildModuleBannerJHipsterV7Vue(properties);
-  }
-
-  public JHipsterModule buildJHipsterV2Banner(JHipsterModuleProperties properties) {
-    return factory.buildModuleBannerJHipsterV2(properties);
-  }
-
-  public JHipsterModule buildJHipsterV3Banner(JHipsterModuleProperties properties) {
-    return factory.buildModuleBannerJHipsterV3(properties);
-  }
-}
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/domain/BannerModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/domain/BannerModuleFactory.java
deleted file mode 100644
index 7ae323dc0..000000000
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/domain/BannerModuleFactory.java
+++ /dev/null
@@ -1,58 +0,0 @@
-package tech.jhipster.lite.generator.server.springboot.banner.domain;
-
-import static tech.jhipster.lite.module.domain.JHipsterModule.*;
-
-import tech.jhipster.lite.module.domain.JHipsterModule;
-import tech.jhipster.lite.module.domain.file.JHipsterDestination;
-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 BannerModuleFactory {
-
-  private static final String SOURCE_FOLDER = "server/springboot/banner";
-  private static final String PROPERTIES = "properties";
-
-  public JHipsterModule buildModuleBannerJHipsterV7(JHipsterModuleProperties properties) {
-    Assert.notNull(PROPERTIES, properties);
-    return buildModuleBanner(properties, "banner-jhipster-v7.txt");
-  }
-
-  public JHipsterModule buildModuleBannerJHipsterV7React(JHipsterModuleProperties properties) {
-    Assert.notNull(PROPERTIES, properties);
-    return buildModuleBanner(properties, "banner-jhipster-v7-react.txt");
-  }
-
-  public JHipsterModule buildModuleBannerJHipsterV7Vue(JHipsterModuleProperties properties) {
-    Assert.notNull(PROPERTIES, properties);
-    return buildModuleBanner(properties, "banner-jhipster-v7-vue.txt");
-  }
-
-  public JHipsterModule buildModuleBannerJHipsterV2(JHipsterModuleProperties properties) {
-    Assert.notNull(PROPERTIES, properties);
-    return buildModuleBanner(properties, "banner-jhipster-v2.txt");
-  }
-
-  public JHipsterModule buildModuleBannerJHipsterV3(JHipsterModuleProperties properties) {
-    Assert.notNull(PROPERTIES, properties);
-    return buildModuleBanner(properties, "banner-jhipster-v3.txt");
-  }
-
-  private JHipsterModule buildModuleBanner(JHipsterModuleProperties properties, String file) {
-    // @formatter:off
-    return moduleBuilder(properties)
-      .files()
-        .add(source().file(file), destination())
-        .and()
-      .build();
-    // @formatter:on
-  }
-
-  private JHipsterSource source() {
-    return from(SOURCE_FOLDER);
-  }
-
-  private JHipsterDestination destination() {
-    return new JHipsterDestination("src/main/resources").append("banner.txt");
-  }
-}
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/infrastructure/primary/BannerModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/infrastructure/primary/BannerModuleConfiguration.java
deleted file mode 100644
index dd013e84a..000000000
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/infrastructure/primary/BannerModuleConfiguration.java
+++ /dev/null
@@ -1,79 +0,0 @@
-package tech.jhipster.lite.generator.server.springboot.banner.infrastructure.primary;
-
-import static tech.jhipster.lite.generator.slug.domain.JHLiteFeatureSlug.*;
-import static tech.jhipster.lite.generator.slug.domain.JHLiteModuleSlug.*;
-
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import tech.jhipster.lite.generator.server.springboot.banner.application.BannerApplicationService;
-import tech.jhipster.lite.module.domain.resource.JHipsterModuleOrganization;
-import tech.jhipster.lite.module.domain.resource.JHipsterModuleResource;
-
-@Configuration
-class BannerModuleConfiguration {
-
-  private static final String GROUP = "Spring Boot - Banner";
-  private static final String SERVER = "server";
-  private static final String SPRING = "spring";
-  private static final String SPRING_BOOT_TAG = "spring-boot";
-  private static final String BANNER_TAG = "banner";
-
-  @Bean
-  JHipsterModuleResource jhipsterV7BannerResource(BannerApplicationService banners) {
-    return JHipsterModuleResource.builder()
-      .slug(BANNER_JHIPSTER_V7)
-      .withoutProperties()
-      .apiDoc(GROUP, "Add banner JHipster v7 for Angular")
-      .organization(organization())
-      .tags(SERVER, SPRING, SPRING_BOOT_TAG, BANNER_TAG)
-      .factory(banners::buildJHipsterV7Banner);
-  }
-
-  @Bean
-  JHipsterModuleResource jhipsterV7ReactBannerResource(BannerApplicationService banners) {
-    return JHipsterModuleResource.builder()
-      .slug(BANNER_JHIPSTER_V7_REACT)
-      .withoutProperties()
-      .apiDoc(GROUP, "Add banner JHipster v7 for React")
-      .organization(organization())
-      .tags(SERVER, SPRING, SPRING_BOOT_TAG, BANNER_TAG)
-      .factory(banners::buildJHipsterV7ReactBanner);
-  }
-
-  @Bean
-  JHipsterModuleResource jhipsterV7VueBannerResource(BannerApplicationService banners) {
-    return JHipsterModuleResource.builder()
-      .slug(BANNER_JHIPSTER_V7_VUE)
-      .withoutProperties()
-      .apiDoc(GROUP, "Add banner JHipster v7 for Vue")
-      .organization(organization())
-      .tags(SERVER, SPRING, SPRING_BOOT_TAG, BANNER_TAG)
-      .factory(banners::buildJHipsterV7VueBanner);
-  }
-
-  @Bean
-  JHipsterModuleResource jhipsterV2BannerResource(BannerApplicationService banners) {
-    return JHipsterModuleResource.builder()
-      .slug(BANNER_JHIPSTER_V2)
-      .withoutProperties()
-      .apiDoc(GROUP, "Add banner JHipster v2")
-      .organization(organization())
-      .tags(SERVER, SPRING, SPRING_BOOT_TAG, BANNER_TAG)
-      .factory(banners::buildJHipsterV2Banner);
-  }
-
-  @Bean
-  JHipsterModuleResource jhipsterV3BannerResource(BannerApplicationService banners) {
-    return JHipsterModuleResource.builder()
-      .slug(BANNER_JHIPSTER_V3)
-      .withoutProperties()
-      .apiDoc(GROUP, "Add banner JHipster v3")
-      .organization(organization())
-      .tags(SERVER, SPRING, SPRING_BOOT_TAG, BANNER_TAG)
-      .factory(banners::buildJHipsterV3Banner);
-  }
-
-  private JHipsterModuleOrganization organization() {
-    return JHipsterModuleOrganization.builder().feature(BANNER).addDependency(SPRING_BOOT).build();
-  }
-}
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/package-info.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/package-info.java
deleted file mode 100644
index 9f26d0247..000000000
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/banner/package-info.java
+++ /dev/null
@@ -1,2 +0,0 @@
-@tech.jhipster.lite.BusinessContext
-package tech.jhipster.lite.generator.server.springboot.banner;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/customjhlite/domain/CustomJHLiteModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/customjhlite/domain/CustomJHLiteModuleFactory.java
index 12c4cde69..eea0a632c 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/customjhlite/domain/CustomJHLiteModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/customjhlite/domain/CustomJHLiteModuleFactory.java
@@ -1,14 +1,16 @@
 package tech.jhipster.lite.generator.server.springboot.customjhlite.domain;
 
-import static tech.jhipster.lite.generator.server.springboot.cucumbercommon.domain.CucumbersModules.cucumberModuleBuilder;
+import static tech.jhipster.lite.generator.server.springboot.cucumbercommon.domain.CucumbersModules.*;
 import static tech.jhipster.lite.module.domain.JHipsterModule.*;
 
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.JHipsterProjectFilePath;
 import tech.jhipster.lite.module.domain.file.JHipsterDestination;
 import tech.jhipster.lite.module.domain.file.JHipsterSource;
-import tech.jhipster.lite.module.domain.javadependency.*;
+import tech.jhipster.lite.module.domain.javadependency.JavaDependency;
 import tech.jhipster.lite.module.domain.javadependency.JavaDependency.JavaDependencyOptionalValueBuilder;
+import tech.jhipster.lite.module.domain.javadependency.JavaDependencyScope;
+import tech.jhipster.lite.module.domain.javadependency.JavaDependencyType;
 import tech.jhipster.lite.module.domain.javaproperties.PropertyKey;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 import tech.jhipster.lite.shared.error.domain.Assert;
@@ -25,7 +27,6 @@ public class CustomJHLiteModuleFactory {
   private static final PropertyKey SERVER_PORT_KEY = propertyKey("server.port");
   private static final PropertyKey JACKSON_INCLUSION_KEY = propertyKey("spring.jackson.default-property-inclusion");
 
-  private static final PropertyKey HIDDEN_TAGS_PROPERTY_KEY = propertyKey("jhlite-hidden-resources.tags");
   private static final PropertyKey HIDDEN_SLUGS_PROPERTY_KEY = propertyKey("jhlite-hidden-resources.slugs");
   private static final PropertyKey BEAN_DEFINITION_OVERRIDING_PROPERTY_KEY = propertyKey("spring.main.allow-bean-definition-overriding");
 
@@ -57,7 +58,6 @@ public class CustomJHLiteModuleFactory {
       .springMainProperties()
         .set(SERVER_PORT_KEY, propertyValue(properties.serverPort().get()))
         .set(JACKSON_INCLUSION_KEY, propertyValue("non_null"))
-        .set(HIDDEN_TAGS_PROPERTY_KEY, propertyValue("banner"))
         .comment(HIDDEN_SLUGS_PROPERTY_KEY, comment("Disable the modules and its dependencies by slugs"))
         .set(HIDDEN_SLUGS_PROPERTY_KEY, propertyValue("custom-jhlite"))
         .and()
diff --git a/src/main/java/tech/jhipster/lite/generator/slug/domain/JHLiteFeatureSlug.java b/src/main/java/tech/jhipster/lite/generator/slug/domain/JHLiteFeatureSlug.java
index 1ec688e2f..7432d9bc5 100644
--- a/src/main/java/tech/jhipster/lite/generator/slug/domain/JHLiteFeatureSlug.java
+++ b/src/main/java/tech/jhipster/lite/generator/slug/domain/JHLiteFeatureSlug.java
@@ -6,7 +6,6 @@ public enum JHLiteFeatureSlug implements JHipsterFeatureSlugFactory {
   ANGULAR_AUTHENTICATION("angular-authentication"),
   AUTHENTICATION("authentication"),
   AUTHENTICATION_SPRINGDOC("authentication-springdoc"),
-  BANNER("banner"),
   JCACHE("jcache"),
   CLIENT_CORE("client-core"),
   CUCUMBER_AUTHENTICATION("cucumber-authentication"),
diff --git a/src/main/java/tech/jhipster/lite/generator/slug/domain/JHLiteModuleSlug.java b/src/main/java/tech/jhipster/lite/generator/slug/domain/JHLiteModuleSlug.java
index 97be57d02..489acfad9 100644
--- a/src/main/java/tech/jhipster/lite/generator/slug/domain/JHLiteModuleSlug.java
+++ b/src/main/java/tech/jhipster/lite/generator/slug/domain/JHLiteModuleSlug.java
@@ -14,11 +14,6 @@ public enum JHLiteModuleSlug implements JHipsterModuleSlugFactory {
   ANGULAR_OAUTH_2("angular-oauth2"),
   APPLICATION_SERVICE_HEXAGONAL_ARCHITECTURE_DOCUMENTATION("application-service-hexagonal-architecture-documentation"),
   APPROVAL_TESTS("approval-tests"),
-  BANNER_JHIPSTER_V2("banner-jhipster-v2"),
-  BANNER_JHIPSTER_V3("banner-jhipster-v3"),
-  BANNER_JHIPSTER_V7("banner-jhipster-v7"),
-  BANNER_JHIPSTER_V7_REACT("banner-jhipster-v7-react"),
-  BANNER_JHIPSTER_V7_VUE("banner-jhipster-v7-vue"),
   CAFFEINE_CACHE("caffeine-cache"),
   CASSANDRA("cassandra"),
   CASSANDRA_MIGRATION("cassandra-migration"),
diff --git a/src/main/resources/config/application.yml b/src/main/resources/config/application.yml
index 0de3b19c5..b8d18f725 100644
--- a/src/main/resources/config/application.yml
+++ b/src/main/resources/config/application.yml
@@ -66,7 +66,6 @@ application:
 #  forced-project-folder: /tmp/jhlite
 
 jhlite-hidden-resources:
-  tags: banner
   slugs:
     - svelte-core
 
diff --git a/src/main/resources/generator/server/springboot/banner/banner-jhipster-v2.txt b/src/main/resources/generator/server/springboot/banner/banner-jhipster-v2.txt
deleted file mode 100644
index 04e048a5a..000000000
--- a/src/main/resources/generator/server/springboot/banner/banner-jhipster-v2.txt
+++ /dev/null
@@ -1,9 +0,0 @@
- _     _   ___   __  _____  ____  ___       __  _____   __    __    _
-| |_| | | | |_) ( (`  | |  | |_  | |_)     ( (`  | |   / /\  / /`  | |_/
-|_| | |_| |_|   _)_)  |_|  |_|__ |_| \     _)_)  |_|  /_/--\ \_\_, |_| \
-                             ____  ___   ___
-                            | |_  / / \ | |_)
-                            |_|   \_\_/ |_| \
-              _    __    _       __        ___   ____  _      __
-             | |  / /\  \ \  /  / /\      | | \ | |_  \ \  / ( (`
-           \_|_| /_/--\  \_\/  /_/--\     |_|_/ |_|__  \_\/  _)_)
diff --git a/src/main/resources/generator/server/springboot/banner/banner-jhipster-v3.txt b/src/main/resources/generator/server/springboot/banner/banner-jhipster-v3.txt
deleted file mode 100644
index 1e0423130..000000000
--- a/src/main/resources/generator/server/springboot/banner/banner-jhipster-v3.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-
-  ${AnsiColor.GREEN}      ██ ${AnsiColor.RED} ██    ██  ████████  ███████    ██████  ████████  ████████  ███████
-  ${AnsiColor.GREEN}      ██ ${AnsiColor.RED} ██    ██     ██     ██    ██  ██          ██     ██        ██    ██
-  ${AnsiColor.GREEN}      ██ ${AnsiColor.RED} ████████     ██     ███████    █████      ██     ██████    ███████
-  ${AnsiColor.GREEN}██    ██ ${AnsiColor.RED} ██    ██     ██     ██             ██     ██     ██        ██   ██
-  ${AnsiColor.GREEN} ██████  ${AnsiColor.RED} ██    ██  ████████  ██        ██████      ██     ████████  ██    ██
-
-${AnsiColor.BRIGHT_BLUE}:: JHipster 🤓  :: Running Spring Boot ${spring-boot.version} ::
-:: http://jhipster.github.io ::${AnsiColor.DEFAULT}
diff --git a/src/main/resources/generator/server/springboot/banner/banner-jhipster-v7-react.txt b/src/main/resources/generator/server/springboot/banner/banner-jhipster-v7-react.txt
deleted file mode 100644
index c78ac6636..000000000
--- a/src/main/resources/generator/server/springboot/banner/banner-jhipster-v7-react.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-
-  ${AnsiColor.GREEN}      ██╗${AnsiColor.CYAN} ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗
-  ${AnsiColor.GREEN}      ██║${AnsiColor.CYAN} ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
-  ${AnsiColor.GREEN}      ██║${AnsiColor.CYAN} ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝
-  ${AnsiColor.GREEN}██╗   ██║${AnsiColor.CYAN} ██╔═══██║    ██║    ██╔════╝   ╚═══██╗    ██║    ██╔═══╝   ██╔══██║
-  ${AnsiColor.GREEN}╚██████╔╝${AnsiColor.CYAN} ██║   ██║ ████████╗ ██║       ██████╔╝    ██║    ████████╗ ██║  ╚██╗
-  ${AnsiColor.GREEN} ╚═════╝ ${AnsiColor.CYAN} ╚═╝   ╚═╝ ╚═══════╝ ╚═╝       ╚═════╝     ╚═╝    ╚═══════╝ ╚═╝   ╚═╝
-
-${AnsiColor.BRIGHT_BLUE}:: JHipster 🤓  :: Running Spring Boot ${spring-boot.version} ::
-:: https://www.jhipster.tech ::${AnsiColor.DEFAULT}
diff --git a/src/main/resources/generator/server/springboot/banner/banner-jhipster-v7-vue.txt b/src/main/resources/generator/server/springboot/banner/banner-jhipster-v7-vue.txt
deleted file mode 100644
index cca8e3b12..000000000
--- a/src/main/resources/generator/server/springboot/banner/banner-jhipster-v7-vue.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-
- ${AnsiColor.GREEN}      ██╗${AnsiColor.BLUE} ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ████${AnsiColor.GREEN}███╗
- ${AnsiColor.GREEN}      ██║ ██║ ${AnsiColor.BLUE}  ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔══${AnsiColor.GREEN}═══╝ ██╔═══██╗
- ${AnsiColor.GREEN}      ██║ ████████║${AnsiColor.BLUE}    ██║    ███████╔╝ ╚█████╗     ██║   ${AnsiColor.GREEN} ██████╗   ███████╔╝
- ${AnsiColor.GREEN}██╗   ██║ ██╔═══██║    ██║   ${AnsiColor.BLUE} ██╔════╝   ╚═══██╗    ${AnsiColor.GREEN}██║    ██╔═══╝   ██╔══██║
- ${AnsiColor.GREEN}╚██████╔╝ ██║   ██║ ████████╗ ██║ ${AnsiColor.BLUE}      ██████${AnsiColor.GREEN}╔╝    ██║    ████████╗ ██║  ╚██╗
- ${AnsiColor.GREEN} ╚═════╝  ╚═╝   ╚═╝ ╚═══════╝ ╚═╝      ${AnsiColor.BLUE} ╚═${AnsiColor.GREEN}════╝     ╚═╝    ╚═══════╝ ╚═╝   ╚═╝
-
-${AnsiColor.BRIGHT_BLUE}:: JHipster 🤓  :: Running Spring Boot ${spring-boot.version} ::
-:: https://www.jhipster.tech ::${AnsiColor.DEFAULT}
diff --git a/src/main/resources/generator/server/springboot/banner/banner-jhipster-v7.txt b/src/main/resources/generator/server/springboot/banner/banner-jhipster-v7.txt
deleted file mode 100644
index e0bc55aaf..000000000
--- a/src/main/resources/generator/server/springboot/banner/banner-jhipster-v7.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-
-  ${AnsiColor.GREEN}      ██╗${AnsiColor.RED} ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗
-  ${AnsiColor.GREEN}      ██║${AnsiColor.RED} ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
-  ${AnsiColor.GREEN}      ██║${AnsiColor.RED} ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝
-  ${AnsiColor.GREEN}██╗   ██║${AnsiColor.RED} ██╔═══██║    ██║    ██╔════╝   ╚═══██╗    ██║    ██╔═══╝   ██╔══██║
-  ${AnsiColor.GREEN}╚██████╔╝${AnsiColor.RED} ██║   ██║ ████████╗ ██║       ██████╔╝    ██║    ████████╗ ██║  ╚██╗
-  ${AnsiColor.GREEN} ╚═════╝ ${AnsiColor.RED} ╚═╝   ╚═╝ ╚═══════╝ ╚═╝       ╚═════╝     ╚═╝    ╚═══════╝ ╚═╝   ╚═╝
-
-${AnsiColor.BRIGHT_BLUE}:: JHipster 🤓  :: Running Spring Boot ${spring-boot.version} ::
-:: https://www.jhipster.tech ::${AnsiColor.DEFAULT}


Test patch:
diff --git a/src/test/features/server/springboot/banner.feature b/src/test/features/server/springboot/banner.feature
deleted file mode 100644
index 8c5c3083e..000000000
--- a/src/test/features/server/springboot/banner.feature
+++ /dev/null
@@ -1,26 +0,0 @@
-Feature: Banner
-
-  Scenario: Should add banner JHipster v7
-    When I apply "banner-jhipster-v7" module to default project without parameters
-    Then I should have files in "src/main/resources"
-      | banner.txt |
-
-  Scenario: Should add banner JHipster v7 for React
-    When I apply "banner-jhipster-v7-react" module to default project without parameters
-    Then I should have files in "src/main/resources"
-      | banner.txt |
-
-  Scenario: Should add banner JHipster v7 for Vue
-    When I apply "banner-jhipster-v7-vue" module to default project without parameters
-    Then I should have files in "src/main/resources"
-      | banner.txt |
-
-  Scenario: Should add banner JHipster v2
-    When I apply "banner-jhipster-v2" module to default project without parameters
-    Then I should have files in "src/main/resources"
-      | banner.txt |
-
-  Scenario: Should add banner JHipster v3
-    When I apply "banner-jhipster-v3" module to default project without parameters
-    Then I should have files in "src/main/resources"
-      | banner.txt |
diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/banner/domain/BannerModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/banner/domain/BannerModuleFactoryTest.java
deleted file mode 100644
index b1fbfcd24..000000000
--- a/src/test/java/tech/jhipster/lite/generator/server/springboot/banner/domain/BannerModuleFactoryTest.java
+++ /dev/null
@@ -1,56 +0,0 @@
-package tech.jhipster.lite.generator.server.springboot.banner.domain;
-
-import static tech.jhipster.lite.module.domain.JHipsterModulesFixture.*;
-import static tech.jhipster.lite.module.infrastructure.secondary.JHipsterModulesAssertions.*;
-
-import org.junit.jupiter.api.DisplayName;
-import org.junit.jupiter.api.Test;
-import tech.jhipster.lite.UnitTest;
-import tech.jhipster.lite.module.domain.JHipsterModule;
-
-@UnitTest
-class BannerModuleFactoryTest {
-
-  private static final BannerModuleFactory factory = new BannerModuleFactory();
-  private static final String BANNER_TXT = "src/main/resources/banner.txt";
-
-  @Test
-  @DisplayName("JHipster Banner V7")
-  void shouldCreateModuleJHipsterBannerV7() {
-    JHipsterModule module = factory.buildModuleBannerJHipsterV7(testModuleProperties());
-
-    assertThatModule(module).hasFiles(BANNER_TXT);
-  }
-
-  @Test
-  @DisplayName("JHipster Banner V7 React")
-  void shouldCreateModuleJHipsterBannerV7React() {
-    JHipsterModule module = factory.buildModuleBannerJHipsterV7React(testModuleProperties());
-
-    assertThatModule(module).hasFiles(BANNER_TXT);
-  }
-
-  @Test
-  @DisplayName("JHipster Banner V7 Vue")
-  void shouldCreateModuleJHipsterBannerV7Vue() {
-    JHipsterModule module = factory.buildModuleBannerJHipsterV7Vue(testModuleProperties());
-
-    assertThatModule(module).hasFiles(BANNER_TXT);
-  }
-
-  @Test
-  @DisplayName("JHipster Banner V2")
-  void shouldCreateModuleJHipsterBannerV2() {
-    JHipsterModule module = factory.buildModuleBannerJHipsterV2(testModuleProperties());
-
-    assertThatModule(module).hasFiles(BANNER_TXT);
-  }
-
-  @Test
-  @DisplayName("JHipster Banner V3")
-  void shouldCreateModuleJHipsterBannerV3() {
-    JHipsterModule module = factory.buildModuleBannerJHipsterV3(testModuleProperties());
-
-    assertThatModule(module).hasFiles(BANNER_TXT);
-  }
-}
diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/customjhlite/domain/CustomJHLiteModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/customjhlite/domain/CustomJHLiteModuleFactoryTest.java
index 5c009e33e..db7be947c 100644
--- a/src/test/java/tech/jhipster/lite/generator/server/springboot/customjhlite/domain/CustomJHLiteModuleFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/server/springboot/customjhlite/domain/CustomJHLiteModuleFactoryTest.java
@@ -71,7 +71,6 @@ class CustomJHLiteModuleFactoryTest {
           jhlite-hidden-resources:
             # Disable the modules and its dependencies by slugs
             slugs: custom-jhlite
-            tags: banner
           server:
             port: 9000
           spring: