Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6083

Maven 3.3.9 breaks release:perform by not including maven.config

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.9
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None

      Description

      Our release process runs both our build and our integration tests. The integration tests rely on our project root directory's .mvn/maven.config file to run properly. The maven.config file is NOT checked into the source tree because it contains environment-specific values so each developer has their own version of it on each machine on which they build.

      This has been working fine for months now but simply changing the version of Maven used from 3.3.3 to 3.3.9 causes the build to break due to not having the -Ds defined in $PROJECT_ROOT/.mvn/maven.config.

      It appears that the release:perform goal checks out the release source in another location and with Maven 3.3.9, the maven.config from the original location is not being used. The build specifies the release-plugin version so the difference seems to be in the core Maven distribution.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rhpatrick00 Robert Patrick
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: