add maven.compile.source property. Needed to work under JDK 1.5.0

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114938 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2004-03-25 05:43:19 +00:00
parent 70e52d6971
commit 5b68ce99dc
4 changed files with 23 additions and 1 deletions

View File

@@ -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

View File

@@ -146,6 +146,22 @@
The source directories maven uses to compile java code.
</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>