Repository: jhipster/jhipster-lite
Pull request #12154 (2025-03-21 13:42:47)

Fix: update dependency org.eclipse.jgit:org.eclipse.jgit to v7.2.0.202503040940-r
Fix #12152 


Patch:
diff --git a/pom.xml b/pom.xml
index d0b853b34..24489c812 100644
--- a/pom.xml
+++ b/pom.xml
@@ -64,7 +64,7 @@
     <compiler-plugin.version>3.14.0</compiler-plugin.version>
     <surefire-plugin.version>3.5.2</surefire-plugin.version>
     <jacoco.version>0.8.12</jacoco.version>
-    <jgit.version>7.1.0.202411261347-r</jgit.version>
+    <jgit.version>7.2.0.202503040940-r</jgit.version>
     <archunit-junit5.version>1.4.0</archunit-junit5.version>
     <springdoc-openapi.version>2.8.5</springdoc-openapi.version>
     <properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/package-info.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/package-info.java
deleted file mode 100644
index 82ab716ae..000000000
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/package-info.java
+++ /dev/null
@@ -1,2 +0,0 @@
-@tech.jhipster.lite.BusinessContext
-package tech.jhipster.lite.generator.server.springboot.cucumber_authentication;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/application/CucumberAuthenticationApplicationService.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/application/CucumberAuthenticationApplicationService.java
similarity index 77%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/application/CucumberAuthenticationApplicationService.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/application/CucumberAuthenticationApplicationService.java
index 11107e148..03373d7fb 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/application/CucumberAuthenticationApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/application/CucumberAuthenticationApplicationService.java
@@ -1,7 +1,7 @@
-package tech.jhipster.lite.generator.server.springboot.cucumber_authentication.application;
+package tech.jhipster.lite.generator.server.springboot.cucumberauthentication.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.server.springboot.cucumber_authentication.domain.CucumberAuthenticationModuleFactory;
+import tech.jhipster.lite.generator.server.springboot.cucumberauthentication.domain.CucumberAuthenticationModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/domain/CucumberAuthenticationModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/domain/CucumberAuthenticationModuleFactory.java
similarity index 98%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/domain/CucumberAuthenticationModuleFactory.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/domain/CucumberAuthenticationModuleFactory.java
index f62446d38..fa004491c 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/domain/CucumberAuthenticationModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/domain/CucumberAuthenticationModuleFactory.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.server.springboot.cucumber_authentication.domain;
+package tech.jhipster.lite.generator.server.springboot.cucumberauthentication.domain;
 
 import static tech.jhipster.lite.module.domain.JHipsterModule.documentationTitle;
 import static tech.jhipster.lite.module.domain.JHipsterModule.from;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/infrastructure/primary/CucumberAuthenticationModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/infrastructure/primary/CucumberAuthenticationModuleConfiguration.java
similarity index 91%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/infrastructure/primary/CucumberAuthenticationModuleConfiguration.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/infrastructure/primary/CucumberAuthenticationModuleConfiguration.java
index 62bc9daf5..7bb146e52 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumber_authentication/infrastructure/primary/CucumberAuthenticationModuleConfiguration.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/infrastructure/primary/CucumberAuthenticationModuleConfiguration.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.server.springboot.cucumber_authentication.infrastructure.primary;
+package tech.jhipster.lite.generator.server.springboot.cucumberauthentication.infrastructure.primary;
 
 import static tech.jhipster.lite.shared.slug.domain.JHLiteFeatureSlug.CUCUMBER_AUTHENTICATION;
 import static tech.jhipster.lite.shared.slug.domain.JHLiteFeatureSlug.SPRING_BOOT_CUCUMBER;
@@ -9,7 +9,7 @@ import static tech.jhipster.lite.shared.slug.domain.JHLiteModuleSlug.SPRING_BOOT
 
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
-import tech.jhipster.lite.generator.server.springboot.cucumber_authentication.application.CucumberAuthenticationApplicationService;
+import tech.jhipster.lite.generator.server.springboot.cucumberauthentication.application.CucumberAuthenticationApplicationService;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleOrganization;
 import tech.jhipster.lite.module.domain.resource.JHipsterModulePropertiesDefinition;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleResource;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/package-info.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/package-info.java
new file mode 100644
index 000000000..e3b3bb19c
--- /dev/null
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/package-info.java
@@ -0,0 +1,2 @@
+@tech.jhipster.lite.BusinessContext
+package tech.jhipster.lite.generator.server.springboot.cucumberauthentication;
diff --git a/src/main/java/tech/jhipster/lite/module/infrastructure/secondary/git/NativeHints.java b/src/main/java/tech/jhipster/lite/module/infrastructure/secondary/git/NativeHints.java
index 304d0b981..d8cbc6b20 100644
--- a/src/main/java/tech/jhipster/lite/module/infrastructure/secondary/git/NativeHints.java
+++ b/src/main/java/tech/jhipster/lite/module/infrastructure/secondary/git/NativeHints.java
@@ -37,8 +37,7 @@ class NativeHints implements RuntimeHintsRegistrar {
       .registerType(CoreConfig.HideDotFiles.class, MemberCategory.values())
       .registerType(CoreConfig.SymLinks.class, MemberCategory.values())
       .registerType(CoreConfig.LogRefUpdates.class, MemberCategory.values())
-      .registerType(CoreConfig.TrustLooseRefStat.class, MemberCategory.values())
-      .registerType(CoreConfig.TrustPackedRefsStat.class, MemberCategory.values());
+      .registerType(CoreConfig.TrustStat.class, MemberCategory.values());
 
     // patterns for JGit and our own template files
     hints.resources().registerPattern("generator/**").registerResourceBundle("org.eclipse.jgit.internal.JGitText.properties");


Test patch:
diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/domain/CucumberAuthenticationModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/domain/CucumberAuthenticationModuleFactoryTest.java
index 2072cbf08..f227b40e1 100644
--- a/src/test/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/domain/CucumberAuthenticationModuleFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/server/springboot/cucumberauthentication/domain/CucumberAuthenticationModuleFactoryTest.java
@@ -5,7 +5,6 @@ import static tech.jhipster.lite.module.infrastructure.secondary.JHipsterModules
 import org.junit.jupiter.api.Test;
 import tech.jhipster.lite.TestFileUtils;
 import tech.jhipster.lite.UnitTest;
-import tech.jhipster.lite.generator.server.springboot.cucumber_authentication.domain.CucumberAuthenticationModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.JHipsterModulesFixture;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;