Skip to content

Commit b2f3f75

Browse files
committed
upped dependency versions, fixed annotation processor to support Java 9+
1 parent b0c01c8 commit b2f3f75

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>kumuluzee-security</artifactId>
99
<groupId>com.kumuluz.ee.security</groupId>
10-
<version>1.0.2-SNAPSHOT</version>
10+
<version>1.1.0-SNAPSHOT</version>
1111
</parent>
1212

1313
<name>KumuluzEE Security Commons</name>

common/src/main/java/com/kumuluz/ee/security/processor/AnnotationProcessor.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
import javax.ws.rs.core.Application;
4242
import java.io.*;
4343
import java.lang.annotation.Annotation;
44+
import java.nio.file.NoSuchFileException;
4445
import java.util.*;
4546

4647
/**
@@ -114,7 +115,8 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
114115
}
115116

116117
private boolean extendsJAXRSApplicationClass(Element element) {
117-
TypeMirror applicationClass = processingEnv.getElementUtils().getTypeElement(Application.class.getCanonicalName()).asType();
118+
TypeMirror applicationClass =
119+
processingEnv.getElementUtils().getTypeElement(Application.class.getCanonicalName()).asType();
118120
return processingEnv.getTypeUtils().isAssignable(element.asType(), applicationClass);
119121
}
120122

@@ -165,7 +167,7 @@ private FileObject readOldFile(Set<String> content, String resourceName) throws
165167
reader = resource.openReader(true);
166168
readOldFile(content, reader);
167169
return resource;
168-
} catch (FileNotFoundException e) {
170+
} catch (NoSuchFileException | FileNotFoundException e) {
169171
// close reader, return null
170172
} finally {
171173
if (reader != null) {

keycloak/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kumuluzee-security</artifactId>
77
<groupId>com.kumuluz.ee.security</groupId>
8-
<version>1.0.2-SNAPSHOT</version>
8+
<version>1.1.0-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.kumuluz.ee.security</groupId>
88
<artifactId>kumuluzee-security</artifactId>
9-
<version>1.0.2-SNAPSHOT</version>
9+
<version>1.1.0-SNAPSHOT</version>
1010
<modules>
1111
<module>common</module>
1212
<module>keycloak</module>
@@ -27,7 +27,7 @@
2727
<maven.compiler.target>1.8</maven.compiler.target>
2828
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2929

30-
<kumuluzee.version>3.3.0</kumuluzee.version>
30+
<kumuluzee.version>3.4.0</kumuluzee.version>
3131

3232
<nexus.staging.plugin.version>1.6.8</nexus.staging.plugin.version>
3333
<gpg.plugin.version>1.6</gpg.plugin.version>

0 commit comments

Comments
 (0)