From 4a2ae6a96fdd892d3c4bcaf8eae223109595cadd Mon Sep 17 00:00:00 2001 From: brett Date: Sat, 8 May 2004 00:57:44 +0000 Subject: [PATCH] PR: MPJAVA-1 Submitted by: Scott Foster add memory attributes to pass to javac task git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115204 13f79535-47bb-0310-9956-ffa450edef68 --- java/plugin.jelly | 10 ++++++++++ java/xdocs/changes.xml | 1 + java/xdocs/properties.xml | 30 ++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) diff --git a/java/plugin.jelly b/java/plugin.jelly index 9e5661b7..a16ba2f7 100644 --- a/java/plugin.jelly +++ b/java/plugin.jelly @@ -91,6 +91,15 @@ + + + + + + + + + @@ -101,6 +110,7 @@ + diff --git a/java/xdocs/changes.xml b/java/xdocs/changes.xml index 1b6ed3a0..96ed412e 100644 --- a/java/xdocs/changes.xml +++ b/java/xdocs/changes.xml @@ -27,6 +27,7 @@ + Add memory usage parameters to pass to the ant javac task Add source property, default to 1.3. This is required to use JDK 1.5. diff --git a/java/xdocs/properties.xml b/java/xdocs/properties.xml index d0f56bee..514b77f0 100644 --- a/java/xdocs/properties.xml +++ b/java/xdocs/properties.xml @@ -116,6 +116,36 @@

+ + maven.compile.memoryInitialSize + Yes + +

+ Sets the initial memory size value passed to the VM when fork is set to true. + Has no effect if fork is false. +

+

+ Corresponds to the memoryInitialSize attribute for the ant + javac + task. +

+ + + + maven.compile.memoryMaximumSize + Yes + +

+ Sets the maximum memory size value passed to the VM when fork is set to true. + Has no effect if fork is false. +

+

+ Corresponds to the memoryMaximumSize attribute for the ant + javac + task. +

+ + maven.compile.optimize Yes