You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/03/25 06:43:19 UTC
cvs commit: maven-plugins/java/xdocs changes.xml properties.xml
brett 2004/03/24 21:43:19
Modified: java plugin.jelly plugin.properties
java/xdocs changes.xml properties.xml
Log:
add maven.compile.source property. Needed to work under JDK 1.5.0
Revision Changes Path
1.25 +1 -0 maven-plugins/java/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/java/plugin.jelly,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- plugin.jelly 4 Mar 2004 18:35:34 -0000 1.24
+++ plugin.jelly 25 Mar 2004 05:43:19 -0000 1.25
@@ -48,6 +48,7 @@
excludes="**/package.html"
debug="${maven.compile.debug}"
deprecation="${maven.compile.deprecation}"
+ source="${maven.compile.source}"
target="${maven.compile.target}"
optimize="${maven.compile.optimize}">
<ant:src>
1.8 +2 -1 maven-plugins/java/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/maven-plugins/java/plugin.properties,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- plugin.properties 4 Mar 2004 18:35:34 -0000 1.7
+++ plugin.properties 25 Mar 2004 05:43:19 -0000 1.8
@@ -21,4 +21,5 @@
# FIXME: Need to move these to the jar plugin
maven.jar.manifest = ${maven.conf.dir}/Manifest.mf
maven.jar.mainclass =
-maven.compile.target = 1.1
\ No newline at end of file
+maven.compile.target = 1.1
+maven.compile.source = 1.3
1.7 +4 -0 maven-plugins/java/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/java/xdocs/changes.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- changes.xml 4 Mar 2004 18:35:34 -0000 1.6
+++ changes.xml 25 Mar 2004 05:43:19 -0000 1.7
@@ -26,6 +26,10 @@
<body>
+ <release version="1.4-SNAPSHOT" date="in CVS">
+ <action dev="brett" type="fix">Add source property, default to 1.3. This is required to use JDK 1.5.</action>
+ </release>
+
<release version="1.3" date="2003-09-29">
<action dev="evenisse" type="remove">
Remove clean goals and jar goals. Clean goals and jar goals move to
1.10 +16 -0 maven-plugins/java/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven-plugins/java/xdocs/properties.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- properties.xml 4 Mar 2004 18:35:34 -0000 1.9
+++ properties.xml 25 Mar 2004 05:43:19 -0000 1.10
@@ -147,6 +147,22 @@
</td>
</tr>
<tr>
+ <td>maven.compile.source</td>
+ <td>Yes</td>
+ <td>
+ <p>
+ Specifies the source version for the Java compiler.
+ </p>
+ <p>
+ Corresponds to the <code>source</code> attribute for the ant
+ <a href="http://ant.apache.org/manual/CoreTasks/javac.html">javac</a>
+ task.
+ This value defaults to 1.3 so that builds on JDK 1.4 or later stil work on
+ earlier JVMs. Valid values are 1.3, 1.4, 1.5.
+ </p>
+ </td>
+ </tr>
+ <tr>
<td>maven.compile.target</td>
<td>Yes</td>
<td>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org