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

mvn release:perform does not inherit command line variable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      When I deploy i must add -Duser.name=mickw to ensure scpexe logins in with the correct username.
      eg mvn deploy -Duser.name=mick

      But when I run "mvn release:perform" scpexe fails when it forks the sub process:
      mvn deploy site-deploy --no-plugin-updates -P null,null -DperformRelease=true

      and it's missing the -Duser.name=mickw variable.

      I need some way of setting the user.name property to make it possible to run release:perform

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mck Michael Semb Wever
              Votes:
              4 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: