Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12315

Location of the temporary file "Maven Global Settings" incompatible with release: prepare

    Details

      Description

      During the execution of a release (via m2release) maven project that uses a global settings file, a crash occurs because a temporary file is found in the project workspace

      mavenExecutionResult exceptions not empty
      message : Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.1:prepare (default-cli) on project cniegutils: Cannot prepare the release because you have local modifications : 
      [config5912716113899525677tmp:unknown]
      

      ...and the file name isn't stable for exclusion with the release plugin

        Activity

        Hide
        domi Dominik Bartholdi added a comment - - edited

        as the config-file-provider only 'provides' the files, this needs a fix in the "maven-plugin"

        Show
        domi Dominik Bartholdi added a comment - - edited as the config-file-provider only 'provides' the files, this needs a fix in the "maven-plugin"
        Hide
        dogfood dogfood added a comment -

        Integrated in jenkins_main_trunk #1466
        [FIXED JENKINS-12315] Location of the temporary file 'Maven Global Settings' incompatible with release: prepare

        imod : b5644ea25bb7bb49233bc950e199253cf72cb52f
        Files :

        • maven-plugin/src/main/java/hudson/maven/settings/SettingsProviderUtils.java
        Show
        dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1466 [FIXED JENKINS-12315] Location of the temporary file 'Maven Global Settings' incompatible with release: prepare imod : b5644ea25bb7bb49233bc950e199253cf72cb52f Files : maven-plugin/src/main/java/hudson/maven/settings/SettingsProviderUtils.java
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: imod
        Path:
        maven-plugin/src/main/java/hudson/maven/settings/SettingsProviderUtils.java
        http://jenkins-ci.org/commit/jenkins/b5644ea25bb7bb49233bc950e199253cf72cb52f
        Log:
        [FIXED JENKINS-12315] Location of the temporary file 'Maven Global Settings' incompatible with release: prepare

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: imod Path: maven-plugin/src/main/java/hudson/maven/settings/SettingsProviderUtils.java http://jenkins-ci.org/commit/jenkins/b5644ea25bb7bb49233bc950e199253cf72cb52f Log: [FIXED JENKINS-12315] Location of the temporary file 'Maven Global Settings' incompatible with release: prepare
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: imod
        Path:
        src/main/java/hudson/maven/settings/SettingsProviderUtils.java
        http://jenkins-ci.org/commit/maven-plugin/da57bd8a7a420c4ef39dc2f1b318301ca6557c83
        Log:
        [FIXED JENKINS-12315] Location of the temporary file 'Maven Global Settings' incompatible with release: prepare

        Originally-Committed-As: b5644ea25bb7bb49233bc950e199253cf72cb52f

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: imod Path: src/main/java/hudson/maven/settings/SettingsProviderUtils.java http://jenkins-ci.org/commit/maven-plugin/da57bd8a7a420c4ef39dc2f1b318301ca6557c83 Log: [FIXED JENKINS-12315] Location of the temporary file 'Maven Global Settings' incompatible with release: prepare Originally-Committed-As: b5644ea25bb7bb49233bc950e199253cf72cb52f

          People

          • Assignee:
            domi Dominik Bartholdi
            Reporter:
            ptitrene Dominique Arnou
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: