summaryrefslogtreecommitdiff
path: root/eaaf_core_api
diff options
context:
space:
mode:
authorThomas <>2023-08-31 12:04:23 +0200
committerThomas <>2023-08-31 12:04:23 +0200
commit5acc09000c59c93510567e88cb701919122dc5b2 (patch)
treedbb36493b787f96804369753e4dde361f2725ff3 /eaaf_core_api
parent34d55551acd6c49c34cf1a8d7759558eb92fd617 (diff)
downloadEAAF-Components-5acc09000c59c93510567e88cb701919122dc5b2.tar.gz
EAAF-Components-5acc09000c59c93510567e88cb701919122dc5b2.tar.bz2
EAAF-Components-5acc09000c59c93510567e88cb701919122dc5b2.zip
feat(core): starting switch from Spring5/JAVA11 to Spring6/Java17
IMPORTEND: Is not finished because that contains a braking change, like javax.servlet.* --> jakarta.servket.* as one example and we miss some third-party libs that use the new API. # Conflicts: # eaaf_core_api/checks/spotbugs-exclude.xml # eaaf_core_api/pom.xml # eaaf_core_utils/checks/spotbugs-exclude.xml # pom.xml
Diffstat (limited to 'eaaf_core_api')
-rw-r--r--eaaf_core_api/checks/spotbugs-exclude.xml16
-rw-r--r--eaaf_core_api/pom.xml8
2 files changed, 19 insertions, 5 deletions
diff --git a/eaaf_core_api/checks/spotbugs-exclude.xml b/eaaf_core_api/checks/spotbugs-exclude.xml
index 1c4cf203..acc5bd3f 100644
--- a/eaaf_core_api/checks/spotbugs-exclude.xml
+++ b/eaaf_core_api/checks/spotbugs-exclude.xml
@@ -9,4 +9,18 @@
<Bug pattern="JACKSON_UNSAFE_DESERIALIZATION" />
</OR>
</Match>
-</FindBugsFilter> \ No newline at end of file
+ <Match>
+ <!-- These exceptions forward internal errors by design -->
+ <OR>
+ <Class name="at.gv.egiz.eaaf.core.api.data.ExceptionContainer" />
+ <Class name="at.gv.egiz.eaaf.core.exceptions.AuthnRequestValidatorException" />
+ <Class name="at.gv.egiz.eaaf.core.exceptions.PendingReqIdValidationException" />
+ <Class name="at.gv.egiz.eaaf.core.exceptions.TaskExecutionException" />
+ <Class name="at.gv.egiz.eaaf.core.exceptions.XPathException" />
+ </OR>
+ <OR>
+ <Bug pattern="EI_EXPOSE_REP" />
+ <Bug pattern="EI_EXPOSE_REP2" />
+ </OR>
+ </Match>
+</FindBugsFilter>
diff --git a/eaaf_core_api/pom.xml b/eaaf_core_api/pom.xml
index 4fea906f..9a482b7e 100644
--- a/eaaf_core_api/pom.xml
+++ b/eaaf_core_api/pom.xml
@@ -53,8 +53,8 @@
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
+ <groupId>jakarta.servlet</groupId>
+ <artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
@@ -69,7 +69,7 @@
</resources>
<plugins>
- <plugin>
+ <plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs-maven-plugin.version}</version>
@@ -78,7 +78,7 @@
<excludeFilterFile>checks/spotbugs-exclude.xml</excludeFilterFile>
</configuration>
</plugin>
- </plugins>
+ </plugins>
</build>