diff --git a/xta-adapter/pom.xml b/xta-adapter/pom.xml index 991690bec8440887dad3097176ae8b956703c3ff..ecd0144f52a6511d8518eec132cb7fe44a98e158 100644 --- a/xta-adapter/pom.xml +++ b/xta-adapter/pom.xml @@ -57,19 +57,11 @@ <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> - <!-- <version>2.3.3</version>--> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> - <!-- <version>2.3.3</version>--> </dependency> - <!-- https://mvnrepository.com/artifact/javax.xml.ws/jaxws-api --> - <!--<dependency>--> - <!-- <groupId>javax.xml.ws</groupId>--> - <!-- <artifactId>jaxws-impl</artifactId>--> - <!-- <version>2.3.1</version>--> - <!--</dependency>--> </dependencies> <build> <plugins> @@ -97,42 +89,11 @@ <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> </plugin> - <!-- <plugin>--> - <!-- <groupId>com.evolvedbinary.maven.jvnet</groupId>--> - <!-- <artifactId>jaxb30-maven-plugin</artifactId>--> - <!-- <configuration><cleanPackageDirectories>false</cleanPackageDirectories></configuration>--> - <!-- </plugin>--> - <!-- <plugin>--> - <!-- <groupId>com.helger.maven</groupId>--> - <!-- <artifactId>jaxb40-maven-plugin</artifactId>--> - <!-- <version>0.16.1</version>--> - <!-- <executions>--> - <!-- <execution>--> - <!-- <goals>--> - <!-- <goal>generate</goal>--> - <!-- </goals>--> - <!-- <configuration>--> - <!-- <cleanPackageDirectories>false</cleanPackageDirectories>--> - <!-- <bindingIncludes>*wsdl</bindingIncludes>--> - <!-- </configuration>--> - <!-- </execution>--> - <!-- </executions>--> - <!-- </plugin>--> + <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> - <!-- <version>2.5.0</version>--> <executions> - <!-- <execution>--> - <!-- <id>schema files</id>--> - <!-- <phase>generate-sources</phase>--> - <!-- <goals>--> - <!-- <goal>xjc</goal>--> - <!-- </goals>--> - <!-- <configuration>--> - <!-- <sourceType>xmlschema</sourceType>--> - <!-- </configuration>--> - <!-- </execution>--> <execution> <id>wsdl1</id> <goals> @@ -143,20 +104,11 @@ <sources> <source>${basedir}/src/main/resources/XTA.wsdl</source> </sources> - <!-- <--> - <!-- <schemaDirectory>src/main/resources/schema/wsdl</schemaDirectory>--> <clearOutputDir>false</clearOutputDir> <arguments>-wsdl</arguments> </configuration> </execution> </executions> - <!-- <dependencies>--> - <!-- <dependency>--> - <!-- <groupId>org.glassfish.jaxb</groupId>--> - <!-- <artifactId>jaxb-runtime</artifactId>--> - <!-- <version>4.0.1</version>--> - <!-- </dependency>--> - <!-- </dependencies>--> </plugin> </plugins> </build> diff --git a/xta-adapter/src/test/java/de/ozgcloud/eingang/xta/XtaRemoteServiceTest.java b/xta-adapter/src/test/java/de/ozgcloud/eingang/xta/XtaRemoteServiceTest.java deleted file mode 100644 index 89b7643984928a908277366b62b51faed6bbd341..0000000000000000000000000000000000000000 --- a/xta-adapter/src/test/java/de/ozgcloud/eingang/xta/XtaRemoteServiceTest.java +++ /dev/null @@ -1,42 +0,0 @@ -package de.ozgcloud.eingang.xta; - -class XtaRemoteServiceTest { -// -// @Spy -// @InjectMocks -// private XtaRemoteService service; -// -// @Mock -// private XtaMessageMetaDataMapper mapper; -// -// @Nested -// class TestGetMessagesMetadata { -// -// @BeforeEach -// void init() { -// when(service.getStatusList()).thenReturn(MsgStatusListTypeTestFactory.create()); -// when(mapper.fromSoap(any())).thenReturn(XtaMessageMetaDataTestFactory.create()); -// } -// -// @Test -// void shouldCallGetStatusList() { -// service.getMessagesMetadata().toList(); -// -// verify(service).getStatusList(); -// } -// -// @Test -// void shouldCallMapper() { -// service.getMessagesMetadata().toList(); -// -// verify(mapper).fromSoap(notNull()); -// } -// -// @Test -// void shouldReturnMessageId() { -// var metaData = service.getMessagesMetadata(); -// -// assertThat(metaData).hasSize(1).first().usingRecursiveComparison().isEqualTo(XtaMessageMetaDataTestFactory.create()); -// } -// } -}