maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <>
Subject [jira] [Commented] (MNG-6725) Skip '.mavenrc' via MAVEN_SKIP_RC=1 and '-Dmaven.skip.rc=true' on child ITs (by default on Jenkins CI).
Date Tue, 30 Jul 2019 12:39:00 GMT


Tibor Digana commented on MNG-6725:

[~hboutemy] Herve, i think we {{should first of all}} doubt about our code.
I was always like this and every good developer has to fix his own code before pushing someone
else  (e.g. INFRA) to workaround or mask or hide our internal problems.
Before we blame JDK7, JDK8 and Java itself, before we blame Jenkins itself from failures in
our integration tests, we {{have to}} do everything and total maximum to investigate every
potentional candidate of a bug or root cause in broken build and broken ITs. Nobody wil do
it for us, and we have to do it first. Not to wait one month but do it immediately. Unfortunatelly
this mindset is still not in every developer, I am afraid.

> Skip '.mavenrc' via MAVEN_SKIP_RC=1 and '-Dmaven.skip.rc=true' on child ITs (by default
on Jenkins CI).
> -------------------------------------------------------------------------------------------------------
>                 Key: MNG-6725
>                 URL:
>             Project: Maven
>          Issue Type: Task
>          Components: Integration Tests
>         Environment: ASF Jenkins CI
>            Reporter: Tibor Digana
>            Assignee: Tibor Digana
>            Priority: Major
>             Fix For: 3.6.x-candidate
> This is related to the problem with MAVEN_OPTS.
> If Jenkins has global '.mavenrc' then the environment variables are merged with local
ones and applied in Maven JVM which is controlled by $MVN_HOME/bin/mvn
> If you want to isolate the JVM from global '.mavenrc', you have to set environment variable
to non-zero length value, i.e. MAVEN_SKIP_RC=1.
> This commit controls skipping '.mavenrc' in {{AbstractMavenIntegrationTestCase}}.

This message was sent by Atlassian JIRA

View raw message