diff options
author | liamfallon <liam.fallon@est.tech> | 2023-01-31 10:43:09 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2023-01-31 12:48:56 +0000 |
commit | 1e82ff4b693e2920dfde67cdfc30bf0648f1b097 (patch) | |
tree | f185097810ad6d45f24e26c201e7e3b5b4ed5bd4 /main/pom.xml | |
parent | f1aed94b6821c9a5246023490e6a6d772ba09452 (diff) |
Upgrade and clean up dependencies
- Upgrade Hibernate
- Upgrade Mockito
- Upgrade Mockserver
- Remove Powermock (no longer supported) and replace with spring-test ReflectionTestUtils
- Upgrade Spring Framework
- Add spring-security to allow authentication on unit tests using MockMVC
Minor clean-up
- Replace deprecated authorization configuraiton on spring boot applications with SecurityFilterChain bean
- Change @LocalPort include on tests to use test include rather than runtime include
- Remove unused imports
- Remove unused constants and variables
- Add deprecation annotations where required
Issue-ID: POLICY-4482
Change-Id: Ia61e137f7f7b7807f376d894be05d1c357a86bdd
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'main/pom.xml')
-rw-r--r-- | main/pom.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/main/pom.xml b/main/pom.xml index b251fee2..af1c8c5c 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -4,6 +4,7 @@ ================================================================================ Copyright (C) 2019-2022 AT&T Intellectual Property. All rights reserved. Modifications Copyright (C) 2020 Bell Canada. + Modifications Copyright (C) 2023 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -118,8 +119,13 @@ <scope>test</scope> </dependency> <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito2</artifactId> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-test</artifactId> <scope>test</scope> </dependency> <dependency> |