Make it work with any version of the JDK. fixes MPJAVA-22.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116120 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4324c220e6
commit
eaaf6cba60
@ -48,7 +48,6 @@
|
||||
excludes="**/package.html"
|
||||
debug="${maven.compile.debug}"
|
||||
deprecation="${maven.compile.deprecation}"
|
||||
target="${maven.compile.target}"
|
||||
optimize="${maven.compile.optimize}">
|
||||
<ant:src>
|
||||
<ant:path refid="maven.compile.src.set"/>
|
||||
@ -116,6 +115,10 @@
|
||||
<j:if test="${context.getVariable('maven.compile.source') != null}">
|
||||
<ant:setProperty name="source" value="${maven.compile.source}" />
|
||||
</j:if>
|
||||
|
||||
<j:if test="${context.getVariable('maven.compile.target') != null}">
|
||||
<ant:setProperty name="target" value="${maven.compile.target}" />
|
||||
</j:if>
|
||||
|
||||
<j:if test="${context.getVariable('maven.compile.verbose') != null}">
|
||||
<ant:setProperty name="verbose" value="${maven.compile.verbose}" />
|
||||
|
||||
@ -17,5 +17,3 @@
|
||||
# -------------------------------------------------------------------
|
||||
# P L U G I N P R O P E R T I E S
|
||||
# -------------------------------------------------------------------
|
||||
|
||||
maven.compile.target = 1.1
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.5-SNAPSHOT" date="in CVS">
|
||||
<action dev="vmassol" type="fix" issue="MPJAVA-22">Make it work by default with any version of the JDK</action>
|
||||
<action dev="brett" type="update">Deprecate dependency handle</action>
|
||||
<action dev="dion" type="update">Use assert taglib for tests</action>
|
||||
</release>
|
||||
|
||||
@ -176,9 +176,7 @@
|
||||
<p>
|
||||
Corresponds to the <code>target</code> attribute for the ant
|
||||
<a href="http://ant.apache.org/manual/CoreTasks/javac.html">javac</a>
|
||||
task.
|
||||
This value defaults to 1.1 so that builds on JDK 1.4 or later stil work on
|
||||
earlier JVMs.
|
||||
task. This value defaults to the Ant task default value.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user