Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

98
Views
Gradlew vs mvn timezone

I got a Docker container by default in UTC Timezone (gitlab runner)

When i start my tests in the container with "mvn" then jvm uses UTC timezone, but when i start the same tests with "gradelw" then jvm uses the host machine TimeZone.

Is there any difference between mvn and gradlew how they start jvm timezone point of view?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

There should be a setting somewhere in your pom.xml or the way how you run it. Actually, there could be a lot of ways it works in UTC in Maven.

Try running Gradle with the user.timezone property: ./gradlew test -Duser.timezone=GMT. That is probably the easiest way to validate the setup.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!