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

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

      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'

        1. bamboo.log
          5 kB
          Lou Springer

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

                Created:
                Updated:
                Resolved: