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

Pass MAVEN_OPTS to the forked release build

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-beta-3, 2.0-beta-4
    • Fix Version/s: None
    • Component/s: prepare

      Description

      I need to increase my jvm size for my build. The forked release doesn't get the maven_opts. I tried the -Darguments:

      mvn release:prepare -DdryRun=true -Darguments=-Xmx1024m
      gets me this:

      [INFO] Invalid task 'mx1024m': you must specify a valid lifecycle phase, or
      a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion
      :goal

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brianf Brian E Fox
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: