How to import a java package inside POM.xml?
I’m working on contract tests using Pact in a Java application with Quarkus. However, I’m running into a snag: I need to modify the requests before sending them, since authentication is required for the endpoint. I found a solution in the documentation that involves sending an authorization with each request, but the token has an expiration period. This means that the current solution is not ideal, as I have to manually generate and replace the token in the pom.xml file every time I run the tests.