diff --git a/authentication/authentication-authtypelockfilter-impl/pom.xml b/authentication/authentication-authtypelockfilter-impl/pom.xml index 9bf39b49ed..d88a41c348 100644 --- a/authentication/authentication-authtypelockfilter-impl/pom.xml +++ b/authentication/authentication-authtypelockfilter-impl/pom.xml @@ -489,7 +489,7 @@ true - ${project.build.outputDirectory}/git.properties + git.properties ^git.build.(time|version)$ ^git.commit.id.(abbrev|full)$ diff --git a/authentication/authentication-common/pom.xml b/authentication/authentication-common/pom.xml index 0c424e1169..15fd3667a7 100644 --- a/authentication/authentication-common/pom.xml +++ b/authentication/authentication-common/pom.xml @@ -261,4 +261,33 @@ spring-batch-infrastructure + + + + pl.project13.maven + git-commit-id-plugin + 3.0.1 + + + get-the-git-infos + + revision + + validate + + + + true + git.properties + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + + full + ${project.basedir}/.git + + + + + diff --git a/authentication/authentication-core/pom.xml b/authentication/authentication-core/pom.xml index e630e10cde..2c359ba5e2 100644 --- a/authentication/authentication-core/pom.xml +++ b/authentication/authentication-core/pom.xml @@ -178,4 +178,33 @@ + + + + pl.project13.maven + git-commit-id-plugin + 3.0.1 + + + get-the-git-infos + + revision + + validate + + + + true + git.properties + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + + full + ${project.basedir}/.git + + + + + diff --git a/authentication/authentication-filter-api/pom.xml b/authentication/authentication-filter-api/pom.xml index ba3ddec221..9a116d9728 100644 --- a/authentication/authentication-filter-api/pom.xml +++ b/authentication/authentication-filter-api/pom.xml @@ -411,7 +411,7 @@ true - ${project.build.outputDirectory}/git.properties + git.properties ^git.build.(time|version)$ ^git.commit.id.(abbrev|full)$ @@ -443,5 +443,4 @@ https://github.com/mosip/commons - diff --git a/authentication/authentication-hotlistfilter-impl/pom.xml b/authentication/authentication-hotlistfilter-impl/pom.xml index 06562c1e2b..a637ff3cd2 100644 --- a/authentication/authentication-hotlistfilter-impl/pom.xml +++ b/authentication/authentication-hotlistfilter-impl/pom.xml @@ -491,7 +491,7 @@ true - ${project.build.outputDirectory}/git.properties + git.properties ^git.build.(time|version)$ ^git.commit.id.(abbrev|full)$ @@ -523,5 +523,4 @@ https://github.com/mosip/commons - diff --git a/authentication/authentication-internal-service/pom.xml b/authentication/authentication-internal-service/pom.xml index bd5a9b6bd3..ee1365fdeb 100644 --- a/authentication/authentication-internal-service/pom.xml +++ b/authentication/authentication-internal-service/pom.xml @@ -274,6 +274,31 @@ ${maven.compiler.target} + + pl.project13.maven + git-commit-id-plugin + 3.0.1 + + + get-the-git-infos + + revision + + validate + + + + true + ${project.build.outputDirectory}/service-git.properties + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + + full + ${project.basedir}/.git + + + diff --git a/authentication/authentication-otp-service/pom.xml b/authentication/authentication-otp-service/pom.xml index c252452dc2..deaa522903 100644 --- a/authentication/authentication-otp-service/pom.xml +++ b/authentication/authentication-otp-service/pom.xml @@ -1,309 +1,337 @@ - 4.0.0 - - io.mosip.authentication - authentication-parent - 1.2.1-SNAPSHOT - - 1.2.1-SNAPSHOT - authentication-otp-service - authentication-otp-service - - UTF-8 - 2.22.0 - 0.8.11 - - - - io.mosip.authentication - authentication-common - ${authentication-common.version} - - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.core - jackson-core - - - - - org.springframework.boot - spring-boot-starter-web - - - com.fasterxml.jackson.core - jackson-databind - - - com.fasterxml.jackson.core - jackson-core - - - - - - io.mosip.kernel - kernel-dataaccess-hibernate - ${kernel-dataaccess-hibernate.version} - - - - org.postgresql - postgresql - - - io.micrometer - micrometer-core - - - io.micrometer - micrometer-registry-prometheus - - - org.mockito - mockito-core - test - - - org.objenesis - objenesis - ${objenesis.version} - test - - - io.mosip.kernel - kernel-logger-logback - ${kernel-logger-logback.version} - - - org.springframework.boot - - spring-boot-starter-security - - - - com.fasterxml.jackson.core - jackson-databind - - - - - org.springdoc - springdoc-openapi-starter-webmvc-ui - ${springdoc.version} - - - org.springframework.boot - spring-boot-starter-webflux - - - com.fasterxml.jackson.core - jackson-databind - - - com.fasterxml.jackson.core - jackson-core - - - - - io.mosip.kernel - kernel-core - ${kernel-core.version} - - - org.springframework.boot - - spring-boot-starter-security - - - - com.fasterxml.jackson.core - jackson-databind - - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.core - jackson-core - - - - - com.fasterxml.jackson.module - jackson-module-jaxb-annotations - - - com.fasterxml.jackson.core - jackson-databind - - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.core - jackson-core - - - - - io.mosip.kernel - kernel-openid-bridge-api - ${kernel-openid-bridge-api.version} - - - com.fasterxml.jackson.core - jackson-databind - - - - - com.fasterxml.jackson.dataformat - jackson-dataformat-xml - - - com.fasterxml.jackson.core - jackson-databind - - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot-maven-plugin.version} - - true - ZIP - - - - - build-info - repackage - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.22.0 - - false - false - - ${argLine} --add-opens - java.xml/jdk.xml.internal=ALL-UNNAMED - --illegal-access=permit - - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.maven.plugin.version} - - - - prepare-agent - - - - report - prepare-package - - report - - - - - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + 4.0.0 + + io.mosip.authentication + authentication-parent + 1.2.1-SNAPSHOT + + 1.2.1-SNAPSHOT + authentication-otp-service + authentication-otp-service + + UTF-8 + 2.22.0 + 0.8.11 + + + + io.mosip.authentication + authentication-common + ${authentication-common.version} + + + com.fasterxml.jackson.core + jackson-annotations + + + com.fasterxml.jackson.core + jackson-core + + + + + org.springframework.boot + spring-boot-starter-web + + + com.fasterxml.jackson.core + jackson-databind + + + com.fasterxml.jackson.core + jackson-core + + + + + + io.mosip.kernel + kernel-dataaccess-hibernate + ${kernel-dataaccess-hibernate.version} + + + + org.postgresql + postgresql + + + io.micrometer + micrometer-core + + + io.micrometer + micrometer-registry-prometheus + + + org.mockito + mockito-core + test + + + org.objenesis + objenesis + ${objenesis.version} + test + + + io.mosip.kernel + kernel-logger-logback + ${kernel-logger-logback.version} + + + org.springframework.boot + + spring-boot-starter-security + + + + com.fasterxml.jackson.core + jackson-databind + + + + + org.springdoc + springdoc-openapi-starter-webmvc-ui + ${springdoc.version} + + + org.springframework.boot + spring-boot-starter-webflux + + + com.fasterxml.jackson.core + jackson-databind + + + com.fasterxml.jackson.core + jackson-core + + + + + io.mosip.kernel + kernel-core + ${kernel-core.version} + + + org.springframework.boot + + spring-boot-starter-security + + + + com.fasterxml.jackson.core + jackson-databind + + + com.fasterxml.jackson.core + jackson-annotations + + + com.fasterxml.jackson.core + jackson-core + + + + + com.fasterxml.jackson.module + jackson-module-jaxb-annotations + + + com.fasterxml.jackson.core + jackson-databind + + + com.fasterxml.jackson.core + jackson-annotations + + + com.fasterxml.jackson.core + jackson-core + + + + + io.mosip.kernel + kernel-openid-bridge-api + ${kernel-openid-bridge-api.version} + + + com.fasterxml.jackson.core + jackson-databind + + + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + + + com.fasterxml.jackson.core + jackson-databind + + + + - - - openapi-doc-generate-profile - - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot-maven-plugin.version} - - true - ZIP - 1000 - 180 - - - - pre-integration-test - - start - - - - src/test/resources - - - openapi-profile - - - --server.port=8090 - --server.servlet.context-path=/app/generic - - - - - post-integration-test - - stop - - - - - build-info - repackage - - - - - - org.springdoc - springdoc-openapi-maven-plugin - 0.2 - - - integration-test - - generate - - - - - http://localhost:8090/app/generic/v3/api-docs/Id%20Authentication%20OTP%20Service - - ${name}-openapi.json - ${project.build.directory} - false - - - - - - + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot-maven-plugin.version} + + true + ZIP + + + + + build-info + repackage + + + + + + pl.project13.maven + git-commit-id-plugin + 3.0.1 + + + get-the-git-infos + + revision + + validate + + + + true + ${project.build.outputDirectory}/service-git.properties + + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + + full + ${project.basedir}/.git + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.22.0 + + false + false + + ${argLine} --add-opens + java.xml/jdk.xml.internal=ALL-UNNAMED + --illegal-access=permit + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.maven.plugin.version} + + + + prepare-agent + + + + report + prepare-package + + report + + + + + + + + + + + openapi-doc-generate-profile + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot-maven-plugin.version} + + true + ZIP + 1000 + 180 + + + + pre-integration-test + + start + + + + src/test/resources + + + openapi-profile + + + --server.port=8090 + --server.servlet.context-path=/app/generic + + + + + post-integration-test + + stop + + + + + build-info + repackage + + + + + + org.springdoc + springdoc-openapi-maven-plugin + 0.2 + + + integration-test + + generate + + + + + + http://localhost:8090/app/generic/v3/api-docs/Id%20Authentication%20OTP%20Service + + ${name}-openapi.json + ${project.build.directory} + false + + + + + + diff --git a/authentication/authentication-service/pom.xml b/authentication/authentication-service/pom.xml index 92453c26af..99ee029965 100644 --- a/authentication/authentication-service/pom.xml +++ b/authentication/authentication-service/pom.xml @@ -327,6 +327,31 @@ + + pl.project13.maven + git-commit-id-plugin + 3.0.1 + + + get-the-git-infos + + revision + + validate + + + + true + ${project.build.outputDirectory}/service-git.properties + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + + full + ${project.basedir}/.git + + +