diff options
Diffstat (limited to 'eaaf_core_api')
-rw-r--r-- | eaaf_core_api/checks/spotbugs-exclude.xml | 16 | ||||
-rw-r--r-- | eaaf_core_api/pom.xml | 8 |
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> |