diff options
author | Thomas <> | 2022-08-22 09:28:58 +0200 |
---|---|---|
committer | Thomas <> | 2022-08-22 09:28:58 +0200 |
commit | 0db117e2340494242e2234b6c113be5ed2c63cf6 (patch) | |
tree | 430ec549288b0c1fef5c7ec91d4b7bac1991744e /ms_specific_connector | |
parent | c24b37f2b32947a4ad7bd810e952846c4aef1587 (diff) | |
download | National_eIDAS_Gateway-0db117e2340494242e2234b6c113be5ed2c63cf6.tar.gz National_eIDAS_Gateway-0db117e2340494242e2234b6c113be5ed2c63cf6.tar.bz2 National_eIDAS_Gateway-0db117e2340494242e2234b6c113be5ed2c63cf6.zip |
build(core): optimize build process to assembly ms-proxy and ms-connector by using differend project versions
Diffstat (limited to 'ms_specific_connector')
-rw-r--r-- | ms_specific_connector/pom.xml | 12 | ||||
-rw-r--r-- | ms_specific_connector/src/main/resources/application.properties | 1 |
2 files changed, 11 insertions, 2 deletions
diff --git a/ms_specific_connector/pom.xml b/ms_specific_connector/pom.xml index 40c09731..be4d49e4 100644 --- a/ms_specific_connector/pom.xml +++ b/ms_specific_connector/pom.xml @@ -270,7 +270,15 @@ <version>2.2.6.RELEASE</version> <configuration> <executable>true</executable> - <!-- layout>ZIP</layout --> + <additionalProperties> + <encoding.source>UTF-8</encoding.source> + <encoding.reporting>UTF-8</encoding.reporting> + <application.version>${ms_specific_connector.version}</application.version> + <core.version>${project.version}</core.version> + </additionalProperties> + <excludeInfoProperties> + <infoProperty>version</infoProperty> + </excludeInfoProperties> </configuration> <executions> <execution> @@ -290,7 +298,7 @@ <descriptor>src/assembly/assembly_dir.xml</descriptor> <descriptor>src/assembly/assembly_zip.xml</descriptor> </descriptors> - <finalName>${project.artifactId}-${project.version}</finalName> + <finalName>${project.artifactId}-${ms_specific_connector.version}</finalName> <outputDirectory>${project.parent.build.directory}</outputDirectory> </configuration> <executions> diff --git a/ms_specific_connector/src/main/resources/application.properties b/ms_specific_connector/src/main/resources/application.properties index 660e8099..1a245851 100644 --- a/ms_specific_connector/src/main/resources/application.properties +++ b/ms_specific_connector/src/main/resources/application.properties @@ -3,6 +3,7 @@ spring.config.use-legacy-processing=true ## ApplicationServer configuration server.servlet.contextPath=/ms_connector +server.error.path=/public/error #server.port=7080 app.build.artifactId=ms_connector |