Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-7904

mvn release:prepare fails with 'Cannot prepare the release because you have local modifications'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Highest
    • None
    • None
    • None
    • None

    Description

      Can't perform maven release prepare.

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Cannot prepare the release because you have local modifications :
      [build-number.txt:unknown]

      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch

      Maven job parameters:

      clean release:prepare -Darguments='-Dmaven.test.skip=true' --batch-mode

      Also tried
      clean release:prepare -Darguments='-Dmaven.test.skip=true'

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              12f4729fb845 Lou Springer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: