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:
parent
70e52d6971
commit
5b68ce99dc
@ -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>
|
||||
|
||||
@ -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
|
||||
maven.compile.target = 1.1
|
||||
maven.compile.source = 1.3
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user