add a warning

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116269 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2004-12-04 07:48:48 +00:00
parent a98d7492f9
commit c506f1f5f6

View File

@@ -43,6 +43,18 @@
<ant:echo>Compiling to ${maven.build.dest}</ant:echo>
<j:choose>
<j:when test="${sourcesPresent == 'true'}">
<j:if test="${context.getVariable('maven.compile.target') == null}">
<ant:echo>
==========================================================
NOTE: Targetting JVM ${java.specification.version}, classes
will not run on earlier JVMs
==========================================================
</ant:echo>
</j:if>
<ant:javac
destdir="${maven.build.dest}"
excludes="**/package.html"