Skip to content

Commit 5a47b7d

Browse files
committed
Clean up pom.xml, update keycloak version to 19.0.2
Remove useless dependencies. Bump Java target version. Bump keycloak version to 19.0.2 for lib dependencies. The mqtt provider compiled this way is compatible with quarkus based keycloak releases up to and including 21.0 Change-Id: I22641fa8423511abcb3f22e1616454d294db23b9
1 parent 87cf562 commit 5a47b7d

File tree

1 file changed

+5
-69
lines changed

1 file changed

+5
-69
lines changed

pom.xml

Lines changed: 5 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1919
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2020
<groupId>org.softwarefactory.keycloak.providers.events.mqtt</groupId>
21-
<version>15.0.2</version>
21+
<version>19.0.2</version>
2222

2323
<name>Keycloak: Event Publisher to MQTT</name>
2424
<description/>
@@ -28,10 +28,8 @@
2828
<packaging>jar</packaging>
2929

3030
<properties>
31-
<version.wildfly>14.0.1.Final</version.wildfly>
3231
<version.keycloak>${project.version}</version.keycloak>
3332

34-
<version.wildfly.maven.plugin>1.2.2.Final</version.wildfly.maven.plugin>
3533
<servlet.api.30.version>1.0.2.Final</servlet.api.30.version>
3634
<jboss-jaxrs-api_2.1_spec>1.0.1.Final</jboss-jaxrs-api_2.1_spec>
3735
<version.jboss.maven.plugin>7.4.Final</version.jboss.maven.plugin>
@@ -42,12 +40,8 @@
4240
<version.antrun.maven.plugin>1.8</version.antrun.maven.plugin>
4341
<version.frontend.maven.plugin>1.4</version.frontend.maven.plugin>
4442
<version.resources.maven.plugin>3.0.2</version.resources.maven.plugin>
45-
<version.compiler.maven.plugin>3.1</version.compiler.maven.plugin>
43+
<version.compiler.maven.plugin>3.8.1</version.compiler.maven.plugin>
4644

47-
<arquillian-graphene.version>2.3.2</arquillian-graphene.version>
48-
<arquillian-phantom.version>1.2.1.Final</arquillian-phantom.version>
49-
<version.wildfly.arquillian.container>2.0.2.Final</version.wildfly.arquillian.container>
50-
<version.remote.wildfly.arquillian.container>8.2.1.Final</version.remote.wildfly.arquillian.container>
5145
<version.junit>4.12</version.junit>
5246
<version.hamcrest>1.3</version.hamcrest>
5347
<version.creaper>1.6.1</version.creaper>
@@ -86,37 +80,6 @@
8680
<version>${version.keycloak}</version>
8781
<scope>provided</scope>
8882
</dependency>
89-
<dependency>
90-
<groupId>org.jboss.arquillian.protocol</groupId>
91-
<artifactId>arquillian-protocol-servlet</artifactId>
92-
<version>1.4.1.Final</version>
93-
<scope>test</scope>
94-
</dependency>
95-
<dependency>
96-
<groupId>org.jboss.arquillian.graphene</groupId>
97-
<artifactId>graphene-webdriver</artifactId>
98-
<version>${arquillian-graphene.version}</version>
99-
<type>pom</type>
100-
<scope>test</scope>
101-
</dependency>
102-
<dependency>
103-
<groupId>org.jboss.arquillian.extension</groupId>
104-
<artifactId>arquillian-phantom-driver</artifactId>
105-
<version>${arquillian-phantom.version}</version>
106-
<scope>test</scope>
107-
</dependency>
108-
<dependency>
109-
<groupId>org.wildfly.extras.creaper</groupId>
110-
<artifactId>creaper-core</artifactId>
111-
<version>${version.creaper}</version>
112-
<scope>test</scope>
113-
<exclusions>
114-
<exclusion>
115-
<groupId>com.google.guava</groupId>
116-
<artifactId>guava</artifactId>
117-
</exclusion>
118-
</exclusions>
119-
</dependency>
12083
<dependency>
12184
<groupId>org.hamcrest</groupId>
12285
<artifactId>hamcrest-all</artifactId>
@@ -138,8 +101,8 @@
138101
<artifactId>maven-compiler-plugin</artifactId>
139102
<version>${version.compiler.maven.plugin}</version>
140103
<configuration>
141-
<source>1.8</source>
142-
<target>1.8</target>
104+
<source>11</source>
105+
<target>11</target>
143106
</configuration>
144107
</plugin>
145108
<plugin>
@@ -175,36 +138,9 @@
175138
</execution>
176139
</executions>
177140
</plugin>
178-
<plugin>
179-
<groupId>org.wildfly.plugins</groupId>
180-
<artifactId>wildfly-maven-plugin</artifactId>
181-
<version>1.2.2.Final</version>
182-
<configuration>
183-
<skip>${wildfly.skip}</skip>
184-
<filename>${project.build.finalName}.jar</filename>
185-
<port>${keycloak.management.port}</port>
186-
</configuration>
187-
<!-- <executions>
188-
<execution>
189-
<id>add-spi</id>
190-
<phase>generate-test-resources</phase>
191-
<goals>
192-
<goal>execute-commands</goal>
193-
</goals>
194-
<configuration>
195-
<commands>
196-
<command>if (outcome != success) of /subsystem=keycloak-server/spi=eventsListener:add</command>
197-
<command> /subsystem=keycloak-server/spi=eventsListener/provider=mqtt:add(enabled=true)</command>
198-
<command>end-if</command>
199-
200-
<command>reload</command>
201-
</commands>
202-
</configuration>
203-
</execution>
204-
</executions> -->
205-
</plugin>
206141
<plugin>
207142
<artifactId>maven-enforcer-plugin</artifactId>
143+
<version>3.2.1</version>
208144
<executions>
209145
<execution>
210146
<id>enforce-quickstart-realm-file-exist</id>

0 commit comments

Comments
 (0)