diff options
Diffstat (limited to 'modules/authmodule-eIDAS-v2/pom.xml')
-rw-r--r-- | modules/authmodule-eIDAS-v2/pom.xml | 145 |
1 files changed, 125 insertions, 20 deletions
diff --git a/modules/authmodule-eIDAS-v2/pom.xml b/modules/authmodule-eIDAS-v2/pom.xml index 105d16f0..2cb8d82e 100644 --- a/modules/authmodule-eIDAS-v2/pom.xml +++ b/modules/authmodule-eIDAS-v2/pom.xml @@ -6,7 +6,7 @@ <parent> <groupId>at.asitplus.eidas.ms_specific</groupId> <artifactId>modules</artifactId> - <version>1.2.5-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> </parent> <groupId>at.asitplus.eidas.ms_specific.modules</groupId> <artifactId>authmodule-eIDAS-v2</artifactId> @@ -50,6 +50,15 @@ <artifactId>eaaf-core</artifactId> </dependency> + <dependency> + <groupId>at.gv.egiz.eaaf</groupId> + <artifactId>eaaf_module_pvp2_core</artifactId> + </dependency> + <dependency> + <groupId>at.gv.egiz.eaaf</groupId> + <artifactId>eaaf_module_pvp2_sp</artifactId> + </dependency> + <!-- eIDAS reference implemenation libs --> <dependency> <groupId>eu.eidas</groupId> @@ -83,6 +92,16 @@ <!-- other third party libs --> <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-actuator</artifactId> + <exclusions> + <exclusion> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-tomcat</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> @@ -118,12 +137,25 @@ <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> </dependency> - + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + </dependency> + <dependency> + <groupId>org.openapitools</groupId> + <artifactId>jackson-databind-nullable</artifactId> + </dependency> + + <dependency> + <groupId>io.swagger.parser.v3</groupId> + <artifactId>swagger-parser</artifactId> + </dependency> + <dependency> <groupId>org.bitbucket.b_c</groupId> <artifactId>jose4j</artifactId> </dependency> - + <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> @@ -141,14 +173,28 @@ <artifactId>spring-test</artifactId> <scope>test</scope> </dependency> - + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-test</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-tomcat</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.github.skjolber</groupId> + <artifactId>mockito-soap-cxf</artifactId> + <scope>test</scope> + </dependency> <dependency> <groupId>at.asitplus.eidas.ms_specific</groupId> <artifactId>core_common_lib</artifactId> <scope>test</scope> <type>test-jar</type> </dependency> - + <dependency> <groupId>at.gv.egiz.eaaf</groupId> <artifactId>eaaf_core_utils</artifactId> @@ -163,22 +209,23 @@ </dependency> <dependency> - <groupId>com.github.skjolber</groupId> - <artifactId>mockito-soap-cxf</artifactId> - <scope>test</scope> + <groupId>at.gv.egiz.eaaf</groupId> + <artifactId>eaaf_module_pvp2_core</artifactId> + <scope>test</scope> + <type>test-jar</type> </dependency> <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-module-junit4</artifactId> + <groupId>at.gv.egiz.eaaf</groupId> + <artifactId>eaaf_module_pvp2_idp</artifactId> <scope>test</scope> + <type>test-jar</type> </dependency> <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito2</artifactId> + <groupId>com.squareup.okhttp3</groupId> + <artifactId>mockwebserver</artifactId> <scope>test</scope> </dependency> - </dependencies> <build> @@ -189,6 +236,9 @@ <resource> <directory>target/generated-sources/cxf</directory> </resource> + <resource> + <directory>target/generated-sources/swagger</directory> + </resource> </resources> <plugins> @@ -222,17 +272,37 @@ </dependencies> <executions> <execution> - <id>generate-sources</id> + <id>generate-sources-soap</id> <phase>generate-sources</phase> <configuration> <sourceRoot>${project.build.directory}/generated/cxf</sourceRoot> <wsdlOptions> <wsdlOption> - <wsdl>${basedir}/src/main/resources/szr_client/SZR_v4.0.wsdl</wsdl> + <wsdl>${basedir}/src/main/resources/wsdl/szr_client/SZR_v4.0.wsdl</wsdl> <extraargs> <extraarg>-verbose </extraarg> </extraargs> </wsdlOption> + <wsdlOption> + <wsdl>${basedir}/src/main/resources/wsdl/zmr_client/wsdl/Service.wsdl</wsdl> + <extraargs> + <extraarg>-verbose </extraarg> + </extraargs> + </wsdlOption> + + <!--use custom package name for search address Web-Service, + because ZMR and address Web-Service use the same XML namespace but defines different schema. --> + <wsdlOption> + <wsdl>${basedir}/src/main/resources/wsdl/addresssearching_client/wsdl/Service.wsdl</wsdl> + <extraargs> + <extraarg>-verbose </extraarg> + </extraargs> + <packagenames> + <packagename>http://bmi.gv.at/namespace/zmr-su/base/20040201#=at.gv.bmi.namespace.zmr_su.base._20040201_.address</packagename> + <packagename>http://bmi.gv.at/namespace/zmr-su/zmr/20040201#=at.gv.bmi.namespace.zmr_su.zrm._20040201_.address</packagename> + </packagenames> + </wsdlOption> + </wsdlOptions> </configuration> <goals> @@ -241,7 +311,40 @@ </execution> </executions> </plugin> - + + <plugin> + <groupId>org.openapitools</groupId> + <artifactId>openapi-generator-maven-plugin</artifactId> + <executions> + <execution> + <id>generate-sources-json</id> + <phase>generate-sources</phase> + <configuration> + <skip>false</skip> + <skipOverwrite>false</skipOverwrite> + <inputSpec>${project.basedir}/src/main/resources/wsdl/ernp_client/openapi.json</inputSpec> + <generatorName>java</generatorName> + <output>${project.build.directory}/generated/swagger</output> + <apiPackage>at.asitplus.eidas.specific.modules.auth.eidas.v2.dao.ernp.api</apiPackage> + <modelPackage>at.asitplus.eidas.specific.modules.auth.eidas.v2.dao.ernp.model</modelPackage> + <invokerPackage>at.asitplus.eidas.specific.modules.auth.eidas.v2.dao.ernp.invoker</invokerPackage> + <configOptions> + <configPackage>at.asitplus.eidas.specific.modules.auth.eidas.v2.clients.ernp</configPackage> + <delegatePattern>true</delegatePattern> + <basePackage>at.asitplus.eidas.specific.modules.auth.eidas.v2</basePackage> + <java8>true</java8> + <dateLibrary>java8</dateLibrary> + <serializationLibrary>jackson</serializationLibrary> + <library>resttemplate</library> + </configOptions> + </configuration> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> @@ -263,14 +366,16 @@ <goal>report</goal> </goals> <configuration> - <haltOnFailure>true</haltOnFailure> + <haltOnFailure>false</haltOnFailure> <excludes> <exclude>**/at/gv/e_government/reference/namespace/persondata/_20020228/*</exclude> <exclude>**/org/w3/_2000/_09/*</exclude> <exclude>**/org/w3/_2001/_04/*</exclude> <exclude>**/szrservices/*</exclude> - <exclude>**/generated/cxf/*</exclude> - </excludes> + <exclude>**/generated/cxf/*</exclude> + <exclude>**at/gv/bmi/namespace/*</exclude> + <exclude>**at/asitplus/eidas/specific/modules/auth/eidas/v2/dao/ernp/*</exclude> + </excludes> </configuration> </execution> </executions> @@ -292,4 +397,4 @@ </plugin> </plugins> </build> -</project>
\ No newline at end of file +</project> |