Skip to content

Tag: maven

Maven install failed: com.jcraft.jsch.JSchException: Auth cancel

I try to deploy to my work VDS. I have bad error and don`t know how solve it. I can’t figure out what the problem is. Through the terminal, the connection via the SSH protocol is stable Answer Most likely, this error occurs due to a passphrase or a non-default name of the SSH key. Try changing the priva…

How to configure timezone in Maven so Pitest picks it up

I try to apply Pitest to an older project that relies on timezone settings. Some tests are specifically for daylight-saving issues, when certain days in a year have more or less than 24 hours in local time. I cannot change the code or the tests. These tests fail with Pitest but run fine otherwise. From what I…

Maven install fails with type=pom dependency

I’m updating a maven dependency tika-parsers from v1.14 to v2.4.0. Changing the version alone causes maven to fail to find the jar: Could not resolve dependencies for project samm:samm:war:2.0.0: Could not find artifact org.apache.tika:tika-parsers:jar:2.4.0 in central (https://repo.maven.apache.org/mav…