From d74e3fb616f30599991c2f84869035a3c1340ead Mon Sep 17 00:00:00 2001 From: Emil <39118431+emilpaw@users.noreply.github.com> Date: Thu, 25 Jan 2024 19:09:32 +0100 Subject: [PATCH] move service class to correct package --- generators/quarkus/entity-files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/quarkus/entity-files.js b/generators/quarkus/entity-files.js index 32909fde..e6829152 100644 --- a/generators/quarkus/entity-files.js +++ b/generators/quarkus/entity-files.js @@ -44,7 +44,7 @@ export const entityQuarkusFiles = { }), javaMainPackageTemplatesBlock({ condition: generator => generator.service === 'serviceClass' && !generator.embedded, - renameTo: (data, filename) => filename.replace('ServiceImpl.java', 'Service.java'), + renameTo: (_data, file) => file.replace('service/impl', 'service').replace('Impl.java', '.java'), templates: ['_entityPackage_/service/impl/_entityClass_ServiceImpl.java'], }), javaMainPackageTemplatesBlock({