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

Pass MAVEN_OPTS to the forked release build

    XMLWordPrintableJSON

Details

    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

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

            Dates

              Created:
              Updated: