First release as Maven multi-module project and introduced avatar project module, still to be implemented

This commit is contained in:
Mauro Mugnaini 2020-07-31 18:27:30 +02:00
parent 855258d917
commit 2f07cb96de
17 changed files with 165 additions and 41 deletions

View File

@ -1,7 +1,10 @@
# Changelog for "keycloak-extension-spi"
## [v0.1.0-SNAPSHOT]
- First release as Maven multi-module project and support for avatar (#19726)
## [v0.0.1-SNAPSHOT]
- First release (#19657)
- First release (#19657, #19684)
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

View File

@ -0,0 +1,20 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.gcube</groupId>
<artifactId>keycloak-d4science-spi</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>avatar-realm-resource</artifactId>
<packaging>jar</packaging>
<dependencies />
<build />
</project>

View File

@ -0,0 +1,20 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.gcube</groupId>
<artifactId>keycloak-d4science-spi</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>event-listener-provider</artifactId>
<packaging>jar</packaging>
<dependencies />
<build />
</project>

View File

@ -0,0 +1,20 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.gcube</groupId>
<artifactId>keycloak-d4science-spi</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>identity-provider-mapper</artifactId>
<packaging>jar</packaging>
<dependencies />
<build />
</project>

View File

@ -0,0 +1,60 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.gcube</groupId>
<artifactId>keycloak-d4science-spi</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>keycloak-d4science-spi-ear</artifactId>
<packaging>ear</packaging>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>maven-portal-bom</artifactId>
<version>3.6.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.gcube</groupId>
<artifactId>event-listener-provider</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.gcube</groupId>
<artifactId>identity-provider-mapper</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.gcube</groupId>
<artifactId>ldap-storage-mapper</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<earSourceDirectory>src/main/resources</earSourceDirectory>
<includeLibInApplicationXml>true</includeLibInApplicationXml>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1,20 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.gcube</groupId>
<artifactId>keycloak-d4science-spi</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>ldap-storage-mapper</artifactId>
<packaging>jar</packaging>
<dependencies />
<build />
</project>

61
pom.xml
View File

@ -8,21 +8,30 @@
<artifactId>maven-parent</artifactId>
<groupId>org.gcube.tools</groupId>
<version>1.1.0</version>
<relativePath />
</parent>
<groupId>org.gcube</groupId>
<artifactId>keycloak-d4science-spi</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<version>0.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<keycloak-version>10.0.2</keycloak-version>
<jboss.logging.version>3.4.1.Final</jboss.logging.version>
</properties>
<modules>
<module>avatar-realm-resource</module>
<module>event-listener-provider</module>
<module>identity-provider-mapper</module>
<module>keycloak-d4science-spi-ear</module>
<module>ldap-storage-mapper</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-parent</artifactId>
<version>10.0.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>maven-portal-bom</artifactId>
@ -38,15 +47,12 @@
<groupId>org.gcube.common</groupId>
<artifactId>event-publisher-library</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>oidc-library</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
@ -56,37 +62,31 @@
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-core</artifactId>
<version>${keycloak-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-server-spi</artifactId>
<version>${keycloak-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-server-spi-private</artifactId>
<version>${keycloak-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-services</artifactId>
<version>${keycloak-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-ldap-federation</artifactId>
<version>${keycloak-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>${jboss.logging.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
@ -103,31 +103,12 @@
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<!-- <version>${wildfly.plugin.version}</version> -->
<version>2.0.0.Final</version>
<configuration>
<skip>false</skip>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>