From 825ae48e867c9fad03e920886dbaf4421ebeb53c Mon Sep 17 00:00:00 2001 From: gaepi Date: Mon, 16 Oct 2023 09:42:13 +0200 Subject: [PATCH 1/2] JAVA-25848 | renaming modules --- lightrun/{api-service => lightrun-api-service}/.gitignore | 0 lightrun/{api-service => lightrun-api-service}/pom.xml | 4 ++-- .../com/baeldung/apiservice/ApiServiceApplication.java | 0 .../java/com/baeldung/apiservice/RequestIdGenerator.java | 0 .../java/com/baeldung/apiservice/RestTemplateConfig.java | 0 .../src/main/java/com/baeldung/apiservice/WebConfig.java | 0 .../baeldung/apiservice/adapters/http/TaskResponse.java | 0 .../apiservice/adapters/http/TasksController.java | 0 .../apiservice/adapters/http/UnknownTaskException.java | 0 .../baeldung/apiservice/adapters/http/UserResponse.java | 0 .../java/com/baeldung/apiservice/adapters/tasks/Task.java | 0 .../apiservice/adapters/tasks/TaskRepository.java | 0 .../java/com/baeldung/apiservice/adapters/users/User.java | 0 .../apiservice/adapters/users/UserRepository.java | 0 .../src/main/resources/application.properties | 0 .../{tasks-service => lightrun-tasks-service}/.gitignore | 0 .../{tasks-service => lightrun-tasks-service}/pom.xml | 4 ++-- .../java/com/baeldung/tasksservice/ArtemisConfig.java | 0 .../com/baeldung/tasksservice/SimpleCacheCustomizer.java | 0 .../baeldung/tasksservice/TasksServiceApplication.java | 0 .../tasksservice/adapters/http/CreateTaskRequest.java | 0 .../tasksservice/adapters/http/PatchTaskRequest.java | 0 .../baeldung/tasksservice/adapters/http/TaskResponse.java | 0 .../tasksservice/adapters/http/TasksController.java | 0 .../tasksservice/adapters/http/http-client.env.json | 0 .../com/baeldung/tasksservice/adapters/http/tasks.http | 0 .../baeldung/tasksservice/adapters/jms/JmsConsumer.java | 0 .../tasksservice/adapters/repository/TaskRecord.java | 0 .../tasksservice/adapters/repository/TasksRepository.java | 0 .../baeldung/tasksservice/service/DeletedUserService.java | 0 .../com/baeldung/tasksservice/service/TasksService.java | 0 .../tasksservice/service/UnknownTaskException.java | 0 .../src/main/resources/application.properties | 0 .../resources/db/migration/V1_0_0__create-tasks-table.sql | 0 .../{users-service => lightrun-users-service}/.gitignore | 0 .../{users-service => lightrun-users-service}/README.md | 0 .../{users-service => lightrun-users-service}/pom.xml | 4 ++-- .../main/java/com/baeldung/usersservice/JmsConfig.java | 0 .../baeldung/usersservice/UsersServiceApplication.java | 0 .../usersservice/adapters/http/CreateUserRequest.java | 0 .../usersservice/adapters/http/PatchUserRequest.java | 0 .../baeldung/usersservice/adapters/http/UserResponse.java | 0 .../usersservice/adapters/http/UsersController.java | 0 .../usersservice/adapters/http/http-client.env.json | 0 .../com/baeldung/usersservice/adapters/http/users.http | 0 .../com/baeldung/usersservice/adapters/jms/JmsSender.java | 0 .../usersservice/adapters/repository/UserRecord.java | 0 .../usersservice/adapters/repository/UsersRepository.java | 0 .../usersservice/service/UnknownUserException.java | 0 .../com/baeldung/usersservice/service/UsersService.java | 0 .../src/main/resources/application.properties | 0 .../resources/db/migration/V1_0_0__create-users-table.sql | 0 .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../com/baeldung/coverageaggregation/MyApplication.java | 0 .../com/baeldung/coverageaggregation/MyController.java | 0 .../coverageaggregation/MyControllerIntegrationTest.java | 0 .../pom.xml | 4 ++-- .../java/com/baeldung/coverageaggregation/MyService.java | 0 .../baeldung/coverageaggregation/MyServiceUnitTest.java | 0 maven-modules/jacoco-coverage-aggregation/pom.xml | 6 +++--- .../parent-pom-module1}/pom.xml | 4 ++-- .../parent-pom-module2/parent-pom-module3}/pom.xml | 4 ++-- .../parent-pom-module2}/pom.xml | 8 ++++---- .../{aggregator => maven-parent-pom-aggregator}/pom.xml | 7 +++---- maven-modules/maven-parent-pom-resolution/pom.xml | 2 +- 66 files changed, 27 insertions(+), 28 deletions(-) rename lightrun/{api-service => lightrun-api-service}/.gitignore (100%) rename lightrun/{api-service => lightrun-api-service}/pom.xml (94%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/ApiServiceApplication.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/RequestIdGenerator.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/RestTemplateConfig.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/WebConfig.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/adapters/http/TaskResponse.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/adapters/http/TasksController.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/adapters/http/UnknownTaskException.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/adapters/http/UserResponse.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/adapters/tasks/Task.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/adapters/tasks/TaskRepository.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/adapters/users/User.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/java/com/baeldung/apiservice/adapters/users/UserRepository.java (100%) rename lightrun/{api-service => lightrun-api-service}/src/main/resources/application.properties (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/.gitignore (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/pom.xml (96%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/ArtemisConfig.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/SimpleCacheCustomizer.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/TasksServiceApplication.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/adapters/http/CreateTaskRequest.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/adapters/http/PatchTaskRequest.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/adapters/http/TaskResponse.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/adapters/http/TasksController.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/adapters/http/http-client.env.json (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/adapters/http/tasks.http (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/adapters/jms/JmsConsumer.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/adapters/repository/TaskRecord.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/adapters/repository/TasksRepository.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/service/DeletedUserService.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/service/TasksService.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/java/com/baeldung/tasksservice/service/UnknownTaskException.java (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/resources/application.properties (100%) rename lightrun/{tasks-service => lightrun-tasks-service}/src/main/resources/db/migration/V1_0_0__create-tasks-table.sql (100%) rename lightrun/{users-service => lightrun-users-service}/.gitignore (100%) rename lightrun/{users-service => lightrun-users-service}/README.md (100%) rename lightrun/{users-service => lightrun-users-service}/pom.xml (95%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/JmsConfig.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/UsersServiceApplication.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/adapters/http/CreateUserRequest.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/adapters/http/PatchUserRequest.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/adapters/http/UserResponse.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/adapters/http/UsersController.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/adapters/http/http-client.env.json (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/adapters/http/users.http (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/adapters/jms/JmsSender.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/adapters/repository/UserRecord.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/adapters/repository/UsersRepository.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/service/UnknownUserException.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/java/com/baeldung/usersservice/service/UsersService.java (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/resources/application.properties (100%) rename lightrun/{users-service => lightrun-users-service}/src/main/resources/db/migration/V1_0_0__create-users-table.sql (100%) rename maven-modules/jacoco-coverage-aggregation/{aggregate-report => jacoco-coverage-aggregate-report}/pom.xml (95%) rename maven-modules/jacoco-coverage-aggregation/{controllers => jacoco-coverage-controllers-example}/pom.xml (94%) rename maven-modules/jacoco-coverage-aggregation/{controllers => jacoco-coverage-controllers-example}/src/main/java/com/baeldung/coverageaggregation/MyApplication.java (100%) rename maven-modules/jacoco-coverage-aggregation/{controllers => jacoco-coverage-controllers-example}/src/main/java/com/baeldung/coverageaggregation/MyController.java (100%) rename maven-modules/jacoco-coverage-aggregation/{controllers => jacoco-coverage-controllers-example}/src/test/java/com/baeldung/coverageaggregation/MyControllerIntegrationTest.java (100%) rename maven-modules/jacoco-coverage-aggregation/{services => jacoco-coverage-services-example}/pom.xml (93%) rename maven-modules/jacoco-coverage-aggregation/{services => jacoco-coverage-services-example}/src/main/java/com/baeldung/coverageaggregation/MyService.java (100%) rename maven-modules/jacoco-coverage-aggregation/{services => jacoco-coverage-services-example}/src/test/java/com/baeldung/coverageaggregation/MyServiceUnitTest.java (100%) rename maven-modules/maven-parent-pom-resolution/{aggregator/module1 => maven-parent-pom-aggregator/parent-pom-module1}/pom.xml (83%) rename maven-modules/maven-parent-pom-resolution/{aggregator/module2/module3 => maven-parent-pom-aggregator/parent-pom-module2/parent-pom-module3}/pom.xml (86%) rename maven-modules/maven-parent-pom-resolution/{aggregator/module2 => maven-parent-pom-aggregator/parent-pom-module2}/pom.xml (72%) rename maven-modules/maven-parent-pom-resolution/{aggregator => maven-parent-pom-aggregator}/pom.xml (78%) diff --git a/lightrun/api-service/.gitignore b/lightrun/lightrun-api-service/.gitignore similarity index 100% rename from lightrun/api-service/.gitignore rename to lightrun/lightrun-api-service/.gitignore diff --git a/lightrun/api-service/pom.xml b/lightrun/lightrun-api-service/pom.xml similarity index 94% rename from lightrun/api-service/pom.xml rename to lightrun/lightrun-api-service/pom.xml index f44ad07edb..b7ed5f951b 100644 --- a/lightrun/api-service/pom.xml +++ b/lightrun/lightrun-api-service/pom.xml @@ -4,9 +4,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.baeldung - api-service + lightrun-api-service 0.0.1-SNAPSHOT - api-service + lightrun-api-service Aggregator Service for LightRun Article diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/ApiServiceApplication.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/ApiServiceApplication.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/ApiServiceApplication.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/ApiServiceApplication.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/RequestIdGenerator.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/RequestIdGenerator.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/RequestIdGenerator.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/RequestIdGenerator.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/RestTemplateConfig.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/RestTemplateConfig.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/RestTemplateConfig.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/RestTemplateConfig.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/WebConfig.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/WebConfig.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/WebConfig.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/WebConfig.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/http/TaskResponse.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/http/TaskResponse.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/http/TaskResponse.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/http/TaskResponse.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/http/TasksController.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/http/TasksController.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/http/TasksController.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/http/TasksController.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/http/UnknownTaskException.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/http/UnknownTaskException.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/http/UnknownTaskException.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/http/UnknownTaskException.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/http/UserResponse.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/http/UserResponse.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/http/UserResponse.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/http/UserResponse.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/tasks/Task.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/tasks/Task.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/tasks/Task.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/tasks/Task.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/tasks/TaskRepository.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/tasks/TaskRepository.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/tasks/TaskRepository.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/tasks/TaskRepository.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/users/User.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/users/User.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/users/User.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/users/User.java diff --git a/lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/users/UserRepository.java b/lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/users/UserRepository.java similarity index 100% rename from lightrun/api-service/src/main/java/com/baeldung/apiservice/adapters/users/UserRepository.java rename to lightrun/lightrun-api-service/src/main/java/com/baeldung/apiservice/adapters/users/UserRepository.java diff --git a/lightrun/api-service/src/main/resources/application.properties b/lightrun/lightrun-api-service/src/main/resources/application.properties similarity index 100% rename from lightrun/api-service/src/main/resources/application.properties rename to lightrun/lightrun-api-service/src/main/resources/application.properties diff --git a/lightrun/tasks-service/.gitignore b/lightrun/lightrun-tasks-service/.gitignore similarity index 100% rename from lightrun/tasks-service/.gitignore rename to lightrun/lightrun-tasks-service/.gitignore diff --git a/lightrun/tasks-service/pom.xml b/lightrun/lightrun-tasks-service/pom.xml similarity index 96% rename from lightrun/tasks-service/pom.xml rename to lightrun/lightrun-tasks-service/pom.xml index c3542b0089..2689a9794d 100644 --- a/lightrun/tasks-service/pom.xml +++ b/lightrun/lightrun-tasks-service/pom.xml @@ -4,9 +4,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.baeldung - tasks-service + lightrun-tasks-service 0.0.1-SNAPSHOT - tasks-service + lightrun-tasks-service Tasks Service for LightRun Article diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/ArtemisConfig.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/ArtemisConfig.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/ArtemisConfig.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/ArtemisConfig.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/SimpleCacheCustomizer.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/SimpleCacheCustomizer.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/SimpleCacheCustomizer.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/SimpleCacheCustomizer.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/TasksServiceApplication.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/TasksServiceApplication.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/TasksServiceApplication.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/TasksServiceApplication.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/CreateTaskRequest.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/CreateTaskRequest.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/CreateTaskRequest.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/CreateTaskRequest.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/PatchTaskRequest.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/PatchTaskRequest.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/PatchTaskRequest.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/PatchTaskRequest.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/TaskResponse.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/TaskResponse.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/TaskResponse.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/TaskResponse.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/TasksController.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/TasksController.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/TasksController.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/TasksController.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/http-client.env.json b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/http-client.env.json similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/http-client.env.json rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/http-client.env.json diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/tasks.http b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/tasks.http similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/tasks.http rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/http/tasks.http diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/jms/JmsConsumer.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/jms/JmsConsumer.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/jms/JmsConsumer.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/jms/JmsConsumer.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/repository/TaskRecord.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/repository/TaskRecord.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/repository/TaskRecord.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/repository/TaskRecord.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/repository/TasksRepository.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/repository/TasksRepository.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/adapters/repository/TasksRepository.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/adapters/repository/TasksRepository.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/service/DeletedUserService.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/service/DeletedUserService.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/service/DeletedUserService.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/service/DeletedUserService.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/service/TasksService.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/service/TasksService.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/service/TasksService.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/service/TasksService.java diff --git a/lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/service/UnknownTaskException.java b/lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/service/UnknownTaskException.java similarity index 100% rename from lightrun/tasks-service/src/main/java/com/baeldung/tasksservice/service/UnknownTaskException.java rename to lightrun/lightrun-tasks-service/src/main/java/com/baeldung/tasksservice/service/UnknownTaskException.java diff --git a/lightrun/tasks-service/src/main/resources/application.properties b/lightrun/lightrun-tasks-service/src/main/resources/application.properties similarity index 100% rename from lightrun/tasks-service/src/main/resources/application.properties rename to lightrun/lightrun-tasks-service/src/main/resources/application.properties diff --git a/lightrun/tasks-service/src/main/resources/db/migration/V1_0_0__create-tasks-table.sql b/lightrun/lightrun-tasks-service/src/main/resources/db/migration/V1_0_0__create-tasks-table.sql similarity index 100% rename from lightrun/tasks-service/src/main/resources/db/migration/V1_0_0__create-tasks-table.sql rename to lightrun/lightrun-tasks-service/src/main/resources/db/migration/V1_0_0__create-tasks-table.sql diff --git a/lightrun/users-service/.gitignore b/lightrun/lightrun-users-service/.gitignore similarity index 100% rename from lightrun/users-service/.gitignore rename to lightrun/lightrun-users-service/.gitignore diff --git a/lightrun/users-service/README.md b/lightrun/lightrun-users-service/README.md similarity index 100% rename from lightrun/users-service/README.md rename to lightrun/lightrun-users-service/README.md diff --git a/lightrun/users-service/pom.xml b/lightrun/lightrun-users-service/pom.xml similarity index 95% rename from lightrun/users-service/pom.xml rename to lightrun/lightrun-users-service/pom.xml index 9560dcf23b..40594db725 100644 --- a/lightrun/users-service/pom.xml +++ b/lightrun/lightrun-users-service/pom.xml @@ -4,9 +4,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.baeldung - users-service + lightrun-users-service 0.0.1-SNAPSHOT - users-service + lightrun-users-service Users Service for LightRun Article diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/JmsConfig.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/JmsConfig.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/JmsConfig.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/JmsConfig.java diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/UsersServiceApplication.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/UsersServiceApplication.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/UsersServiceApplication.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/UsersServiceApplication.java diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/CreateUserRequest.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/CreateUserRequest.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/CreateUserRequest.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/CreateUserRequest.java diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/PatchUserRequest.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/PatchUserRequest.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/PatchUserRequest.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/PatchUserRequest.java diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/UserResponse.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/UserResponse.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/UserResponse.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/UserResponse.java diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/UsersController.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/UsersController.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/UsersController.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/UsersController.java diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/http-client.env.json b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/http-client.env.json similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/http-client.env.json rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/http-client.env.json diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/users.http b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/users.http similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/http/users.http rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/http/users.http diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/jms/JmsSender.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/jms/JmsSender.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/jms/JmsSender.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/jms/JmsSender.java diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/repository/UserRecord.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/repository/UserRecord.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/repository/UserRecord.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/repository/UserRecord.java diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/repository/UsersRepository.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/repository/UsersRepository.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/adapters/repository/UsersRepository.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/adapters/repository/UsersRepository.java diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/service/UnknownUserException.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/service/UnknownUserException.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/service/UnknownUserException.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/service/UnknownUserException.java diff --git a/lightrun/users-service/src/main/java/com/baeldung/usersservice/service/UsersService.java b/lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/service/UsersService.java similarity index 100% rename from lightrun/users-service/src/main/java/com/baeldung/usersservice/service/UsersService.java rename to lightrun/lightrun-users-service/src/main/java/com/baeldung/usersservice/service/UsersService.java diff --git a/lightrun/users-service/src/main/resources/application.properties b/lightrun/lightrun-users-service/src/main/resources/application.properties similarity index 100% rename from lightrun/users-service/src/main/resources/application.properties rename to lightrun/lightrun-users-service/src/main/resources/application.properties diff --git a/lightrun/users-service/src/main/resources/db/migration/V1_0_0__create-users-table.sql b/lightrun/lightrun-users-service/src/main/resources/db/migration/V1_0_0__create-users-table.sql similarity index 100% rename from lightrun/users-service/src/main/resources/db/migration/V1_0_0__create-users-table.sql rename to lightrun/lightrun-users-service/src/main/resources/db/migration/V1_0_0__create-users-table.sql diff --git a/maven-modules/jacoco-coverage-aggregation/aggregate-report/pom.xml b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-aggregate-report/pom.xml similarity index 95% rename from maven-modules/jacoco-coverage-aggregation/aggregate-report/pom.xml rename to maven-modules/jacoco-coverage-aggregation/jacoco-coverage-aggregate-report/pom.xml index 1a076cacae..627a9f3206 100644 --- a/maven-modules/jacoco-coverage-aggregation/aggregate-report/pom.xml +++ b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-aggregate-report/pom.xml @@ -4,8 +4,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.baeldung.jacoco-coverage-aggregation - aggregate-report - aggregate-report + jacoco-coverage-aggregate-report + jacoco-coverage-aggregate-report pom diff --git a/maven-modules/jacoco-coverage-aggregation/controllers/pom.xml b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-controllers-example/pom.xml similarity index 94% rename from maven-modules/jacoco-coverage-aggregation/controllers/pom.xml rename to maven-modules/jacoco-coverage-aggregation/jacoco-coverage-controllers-example/pom.xml index 5aa54f042f..886e931224 100644 --- a/maven-modules/jacoco-coverage-aggregation/controllers/pom.xml +++ b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-controllers-example/pom.xml @@ -4,8 +4,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.baeldung.jacoco-coverage-aggregation - controllers - controllers + jacoco-coverage-controllers-example + jacoco-coverage-controllers-example jar diff --git a/maven-modules/jacoco-coverage-aggregation/controllers/src/main/java/com/baeldung/coverageaggregation/MyApplication.java b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-controllers-example/src/main/java/com/baeldung/coverageaggregation/MyApplication.java similarity index 100% rename from maven-modules/jacoco-coverage-aggregation/controllers/src/main/java/com/baeldung/coverageaggregation/MyApplication.java rename to maven-modules/jacoco-coverage-aggregation/jacoco-coverage-controllers-example/src/main/java/com/baeldung/coverageaggregation/MyApplication.java diff --git a/maven-modules/jacoco-coverage-aggregation/controllers/src/main/java/com/baeldung/coverageaggregation/MyController.java b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-controllers-example/src/main/java/com/baeldung/coverageaggregation/MyController.java similarity index 100% rename from maven-modules/jacoco-coverage-aggregation/controllers/src/main/java/com/baeldung/coverageaggregation/MyController.java rename to maven-modules/jacoco-coverage-aggregation/jacoco-coverage-controllers-example/src/main/java/com/baeldung/coverageaggregation/MyController.java diff --git a/maven-modules/jacoco-coverage-aggregation/controllers/src/test/java/com/baeldung/coverageaggregation/MyControllerIntegrationTest.java b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-controllers-example/src/test/java/com/baeldung/coverageaggregation/MyControllerIntegrationTest.java similarity index 100% rename from maven-modules/jacoco-coverage-aggregation/controllers/src/test/java/com/baeldung/coverageaggregation/MyControllerIntegrationTest.java rename to maven-modules/jacoco-coverage-aggregation/jacoco-coverage-controllers-example/src/test/java/com/baeldung/coverageaggregation/MyControllerIntegrationTest.java diff --git a/maven-modules/jacoco-coverage-aggregation/services/pom.xml b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-services-example/pom.xml similarity index 93% rename from maven-modules/jacoco-coverage-aggregation/services/pom.xml rename to maven-modules/jacoco-coverage-aggregation/jacoco-coverage-services-example/pom.xml index 50c8c87f54..2c06694b46 100644 --- a/maven-modules/jacoco-coverage-aggregation/services/pom.xml +++ b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-services-example/pom.xml @@ -4,8 +4,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.baeldung.jacoco-coverage-aggregation - services - services + jacoco-coverage-services-example + jacoco-coverage-services-example jar diff --git a/maven-modules/jacoco-coverage-aggregation/services/src/main/java/com/baeldung/coverageaggregation/MyService.java b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-services-example/src/main/java/com/baeldung/coverageaggregation/MyService.java similarity index 100% rename from maven-modules/jacoco-coverage-aggregation/services/src/main/java/com/baeldung/coverageaggregation/MyService.java rename to maven-modules/jacoco-coverage-aggregation/jacoco-coverage-services-example/src/main/java/com/baeldung/coverageaggregation/MyService.java diff --git a/maven-modules/jacoco-coverage-aggregation/services/src/test/java/com/baeldung/coverageaggregation/MyServiceUnitTest.java b/maven-modules/jacoco-coverage-aggregation/jacoco-coverage-services-example/src/test/java/com/baeldung/coverageaggregation/MyServiceUnitTest.java similarity index 100% rename from maven-modules/jacoco-coverage-aggregation/services/src/test/java/com/baeldung/coverageaggregation/MyServiceUnitTest.java rename to maven-modules/jacoco-coverage-aggregation/jacoco-coverage-services-example/src/test/java/com/baeldung/coverageaggregation/MyServiceUnitTest.java diff --git a/maven-modules/jacoco-coverage-aggregation/pom.xml b/maven-modules/jacoco-coverage-aggregation/pom.xml index d85f41968d..70243973e8 100644 --- a/maven-modules/jacoco-coverage-aggregation/pom.xml +++ b/maven-modules/jacoco-coverage-aggregation/pom.xml @@ -17,9 +17,9 @@ - services - controllers - aggregate-report + jacoco-coverage-services-example + jacoco-coverage-controllers-example + jacoco-coverage-aggregate-report diff --git a/maven-modules/maven-parent-pom-resolution/aggregator/module1/pom.xml b/maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/parent-pom-module1/pom.xml similarity index 83% rename from maven-modules/maven-parent-pom-resolution/aggregator/module1/pom.xml rename to maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/parent-pom-module1/pom.xml index 67e60fb386..94164b472c 100644 --- a/maven-modules/maven-parent-pom-resolution/aggregator/module1/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/parent-pom-module1/pom.xml @@ -3,12 +3,12 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - module1 + parent-pom-module1 pom com.baeldung.maven-parent-pom-resolution - aggregator + maven-parent-pom-aggregator 1.0.0-SNAPSHOT diff --git a/maven-modules/maven-parent-pom-resolution/aggregator/module2/module3/pom.xml b/maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/parent-pom-module2/parent-pom-module3/pom.xml similarity index 86% rename from maven-modules/maven-parent-pom-resolution/aggregator/module2/module3/pom.xml rename to maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/parent-pom-module2/parent-pom-module3/pom.xml index f4e3e81e7d..533157d621 100644 --- a/maven-modules/maven-parent-pom-resolution/aggregator/module2/module3/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/parent-pom-module2/parent-pom-module3/pom.xml @@ -3,12 +3,12 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - module3 + parent-pom-module3 pom com.baeldung.maven-parent-pom-resolution - aggregator + maven-parent-pom-aggregator 1.0.0-SNAPSHOT diff --git a/maven-modules/maven-parent-pom-resolution/aggregator/module2/pom.xml b/maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/parent-pom-module2/pom.xml similarity index 72% rename from maven-modules/maven-parent-pom-resolution/aggregator/module2/pom.xml rename to maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/parent-pom-module2/pom.xml index 9b36ef37fb..9cb4407125 100644 --- a/maven-modules/maven-parent-pom-resolution/aggregator/module2/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/parent-pom-module2/pom.xml @@ -3,19 +3,19 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - module2 + parent-pom-module2 pom com.baeldung.maven-parent-pom-resolution - module1 + parent-pom-module1 1.0.0-SNAPSHOT - ../module1/pom.xml + ../parent-pom-module1/pom.xml - module3 + parent-pom-module3 \ No newline at end of file diff --git a/maven-modules/maven-parent-pom-resolution/aggregator/pom.xml b/maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/pom.xml similarity index 78% rename from maven-modules/maven-parent-pom-resolution/aggregator/pom.xml rename to maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/pom.xml index dde2c46370..8e3a922e76 100644 --- a/maven-modules/maven-parent-pom-resolution/aggregator/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/maven-parent-pom-aggregator/pom.xml @@ -4,19 +4,18 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.baeldung.maven-parent-pom-resolution - aggregator + maven-parent-pom-aggregator pom com.baeldung maven-parent-pom-resolution 1.0.0-SNAPSHOT - - module1 - module2 + parent-pom-module1 + parent-pom-module2 \ No newline at end of file diff --git a/maven-modules/maven-parent-pom-resolution/pom.xml b/maven-modules/maven-parent-pom-resolution/pom.xml index 288bf5f780..fa3ca3dc9a 100644 --- a/maven-modules/maven-parent-pom-resolution/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/pom.xml @@ -9,7 +9,7 @@ pom - aggregator + maven-parent-pom-aggregator disable-plugin-examples From 97403b833c49d2a926b4ae69be995b4bd8288084 Mon Sep 17 00:00:00 2001 From: gaepi Date: Mon, 16 Oct 2023 17:00:00 +0200 Subject: [PATCH 2/2] JAVA-25848 | fixed parent include --- lightrun/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lightrun/pom.xml b/lightrun/pom.xml index 3fcec48cbd..78534922f6 100644 --- a/lightrun/pom.xml +++ b/lightrun/pom.xml @@ -18,9 +18,9 @@ - tasks-service - users-service - api-service + lightrun-tasks-service + lightrun-users-service + lightrun-api-service \ No newline at end of file