Skip to content
Snippets Groups Projects
Commit 2b622a20 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-3955 fix javax dependencies

parent 624524c2
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
<testcontainer.version>1.17.3</testcontainer.version> <testcontainer.version>1.17.3</testcontainer.version>
<maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version> <maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
<find-and-replace-maven-plugin.version>1.1.0</find-and-replace-maven-plugin.version>
</properties> </properties>
...@@ -143,6 +144,7 @@ ...@@ -143,6 +144,7 @@
<dependency> <dependency>
<groupId>net.devh</groupId> <groupId>net.devh</groupId>
<artifactId>grpc-client-spring-boot-starter</artifactId> <artifactId>grpc-client-spring-boot-starter</artifactId>
<version>2.15.0.RELEASE</version>
</dependency> </dependency>
<dependency> <dependency>
...@@ -390,6 +392,28 @@ ...@@ -390,6 +392,28 @@
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
<plugin>
<groupId>io.github.floverfelt</groupId>
<artifactId>find-and-replace-maven-plugin</artifactId>
<version>${find-and-replace-maven-plugin.version}</version>
<executions>
<execution>
<id>exec</id>
<phase>process-sources</phase>
<goals>
<goal>find-and-replace</goal>
</goals>
<configuration>
<replacementType>file-contents</replacementType>
<baseDir>target/generated-sources/</baseDir>
<findRegex>javax</findRegex>
<replaceValue>jakarta</replaceValue>
<recursive>true</recursive>
<fileMask>.java</fileMask>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
......
...@@ -2,8 +2,6 @@ package de.itvsh.ozg.pluto.attached_item; ...@@ -2,8 +2,6 @@ package de.itvsh.ozg.pluto.attached_item;
import static org.assertj.core.api.Assertions.*; import static org.assertj.core.api.Assertions.*;
import javax.validation.ConstraintViolationException;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
...@@ -13,6 +11,7 @@ import org.springframework.context.ApplicationEventPublisher; ...@@ -13,6 +11,7 @@ import org.springframework.context.ApplicationEventPublisher;
import de.itvsh.kop.common.test.ITCase; import de.itvsh.kop.common.test.ITCase;
import de.itvsh.ozg.pluto.command.CommandTestFactory; import de.itvsh.ozg.pluto.command.CommandTestFactory;
import jakarta.validation.ConstraintViolationException;
@ITCase @ITCase
class VorgangAttachedItemServiceITCase { class VorgangAttachedItemServiceITCase {
......
...@@ -27,8 +27,6 @@ import static org.assertj.core.api.Assertions.*; ...@@ -27,8 +27,6 @@ import static org.assertj.core.api.Assertions.*;
import java.util.Optional; import java.util.Optional;
import javax.validation.ConstraintViolationException;
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -36,6 +34,7 @@ import org.springframework.boot.test.mock.mockito.MockBean; ...@@ -36,6 +34,7 @@ import org.springframework.boot.test.mock.mockito.MockBean;
import de.itvsh.kop.common.test.ITCase; import de.itvsh.kop.common.test.ITCase;
import de.itvsh.ozg.pluto.vorgang.VorgangTestFactory; import de.itvsh.ozg.pluto.vorgang.VorgangTestFactory;
import jakarta.validation.ConstraintViolationException;
@ITCase @ITCase
class ClientAttributeServiceITCase { class ClientAttributeServiceITCase {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment