Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

97
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda