Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-551

Unable to release with maven 3 when having no $HOME/.m2/settings.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-8, 2.0-beta-9, 2.0
    • 2.1
    • prepare
    • None

    Description

      I've recently tried to release a small remote-resources project, but couldn't do it with mvn3. After some look-up, it seems to be the result of several changes:

      • I don't have any $HOME/.m2/settings.xml (only the $M2_HOME/conf/settings.xml is present and configured).
      • From the 2.0-beta-8 of the release plugin, it now uses the -s option during the prepare phase
      • from the mvn3.0-alpha-3, maven now don't ignore silently the absence of a settings.xml file specified with the -s option (see MNG-4408)

      To reproduce, try to run release:prepare with mvn3 without having a user settings.xml.

      Let me know if you need more information.

      Cheers

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              mathus.b@mipih.fr Baptiste MATHUS
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: