brett 2004/12/03 23:48:48
Modified: java plugin.jelly
Log:
add a warning
Revision Changes Path
1.31 +12 -0 maven-plugins/java/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/java/plugin.jelly,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- plugin.jelly 7 Oct 2004 18:45:35 -0000 1.30
+++ plugin.jelly 4 Dec 2004 07:48:48 -0000 1.31
@@ -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"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]