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

Pass MAVEN_OPTS to the forked release build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 2.0-beta-3, 2.0-beta-4
    • None
    • 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

        There are no Sub-Tasks for this issue.

        Activity

          People

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

            Dates

              Created:
              Updated: