Skip to content

Commit

Permalink
fix jackson conflict with spring
Browse files Browse the repository at this point in the history
  • Loading branch information
max402 committed Apr 20, 2024
1 parent 570d5ea commit f99687c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 26 deletions.
5 changes: 5 additions & 0 deletions datasafe-encryption/datasafe-encryption-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,24 +98,29 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<!-- Avoiding declaring that in parent POM due to issues with Spring -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
9 changes: 4 additions & 5 deletions datasafe-rest-impl/src/test/resources/jwt-config.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
jwt_secret=${JWT_SECRET}
default_user=${DEFAULT_USER}
default_password=${DEFAULT_PASSWORD}
#10 Days in ms
token_expiration=${TOKEN_EXPIRATION:864000000}
jwt_secret=n2r5u8x/A%D*G-KaPdSgVkYp3s6v9y$B&E(H+MbQeThWmZq4t7w!z%C*F-J@NcRf
default_user=username
default_password=password
token_expiration=864000000
21 changes: 0 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -333,27 +333,6 @@
<artifactId>jaxb-api</artifactId>
<version>${jaxb-api.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down

0 comments on commit f99687c

Please sign in to comment.