included idm-common

This commit is contained in:
Alfredo Oliviero 2024-04-22 17:23:06 +02:00
parent febe596ff7
commit 5ad8978d15
4 changed files with 12 additions and 5 deletions

2
.vscode/launch.json vendored
View File

@ -9,7 +9,7 @@
{
"type": "java",
"name": "Debug (Attach)",
"projectName": "identity-manager",
"projectName": "idm-service",
"request": "attach",
"hostName": "localhost",
"port": 5005

View File

@ -5,6 +5,6 @@ FROM d4science/smartgears-distribution:4.0.0-SNAPSHOT-java$JAVA_VERSION-tomcat10
COPY ./docker/logback.xml /etc/
COPY ./docker/container.ini /etc/
COPY ./docker/*.gcubekey /tomcat/lib
COPY ./target/idm.war /tomcat/webapps/
COPY ./target/idm-service.war /tomcat/webapps/
EXPOSE 8080

View File

@ -2,7 +2,7 @@
accepted_java_versions=(11 17)
NAME=identity-manager
NAME=idm-service
PORT=8080
DEBUG_PORT=5005
DEBUG=false

11
pom.xml
View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.idm</groupId>
<artifactId>idm</artifactId>
<artifactId>idm-service</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Identity Manager (IDM) Service</name>
<description>Identity Manager (IDM) Service - Smartgears</description>
@ -62,6 +62,13 @@
not by smartgears so it mixed different versions.
We explicity import its jackson dependency to ovverride the version
-->
<dependency>
<groupId>org.gcube.idm.client</groupId>
<artifactId>idm-common-library</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
@ -300,7 +307,7 @@ java.lang.NoClassDefFoundError: org/apache/http/ssl/TrustStrategy
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
<configuration>
<warName>identity-manager</warName>
<warName>idm-service</warName>
<outputDirectory>tomcat/webapps</outputDirectory>
</configuration>
</plugin>