diff --git a/java/plugin.jelly b/java/plugin.jelly index 4885a3bd..23df90da 100644 --- a/java/plugin.jelly +++ b/java/plugin.jelly @@ -70,6 +70,7 @@ destdir="${maven.build.dest}" excludes="**/package.html" debug="${maven.compile.debug}" + debuglevel="${maven.compile.debuglevel}" nowarn="${maven.compile.nowarn}" deprecation="${maven.compile.deprecation}" optimize="${maven.compile.optimize}"> diff --git a/java/plugin.properties b/java/plugin.properties index da58d3d4..e03ff8ac 100644 --- a/java/plugin.properties +++ b/java/plugin.properties @@ -21,3 +21,4 @@ maven.compile.log=${maven.build.dir}/compile.log maven.compile.deprecation=on maven.compile.nowarn=off +maven.compile.debuglevel=lines,vars,source \ No newline at end of file diff --git a/java/xdocs/changes.xml b/java/xdocs/changes.xml index fd63dd67..8da8c51b 100644 --- a/java/xdocs/changes.xml +++ b/java/xdocs/changes.xml @@ -26,6 +26,7 @@
maven.compile.debuglevel.maven.compile.nowarn.maven.compile.deprecation=on by default.
+ Keyword list to be appended to the -g command-line switch.
+ This is only used if maven.compile.debug=on.
+ Defaults to lines,vars,source.
+
+ Corresponds to the debuglevel attribute for the ant
+ javac
+ task.
+