[jira] [Commented] (MCOMPILER-243) Compiler Plugin's Documentation on Compiler Args Seems Wrong
[ https://issues.apache.org/jira/browse/MCOMPILER-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596937#comment-14596937 ] Paavo Parkkinen commented on MCOMPILER-243: --- Since I ended up here chasing the same issue, I thought I would comment on your response real quick. I believe the original reported issue was about a documentation bug, not a software bug. The documentation is incorrect, and I would argue should be fixed in this case. See: http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html I created a PR for this: https://github.com/apache/maven-plugins/pull/55 > Compiler Plugin's Documentation on Compiler Args Seems Wrong > > > Key: MCOMPILER-243 > URL: https://issues.apache.org/jira/browse/MCOMPILER-243 > Project: Maven Compiler Plugin > Issue Type: Bug >Reporter: Tim Stewart >Assignee: Karl Heinz Marbaise >Priority: Trivial > Labels: compiler, docuentation > > On this page: > > http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html > I'm instructed to express compilerArgs this way: > > > org.apache.maven.plugins > maven-compiler-plugin > 3.3 > > -verbose > -Xlint:all,-options,-path > > > > When I do that I get an error: > Unrecognised tag: 'compilerArgs' (position: START_TAG seen > ...\n... @21:27) > But when I tuck the compilerArgs XML element under the configuration element, > it works: > > org.apache.maven.plugins > maven-compiler-plugin > 3.3 > > > -verbose > -Xlint:all,-options,-path > > 1.8 > 1.8 > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MCOMPILER-243) Compiler Plugin's Documentation on Compiler Args Seems Wrong
[ https://issues.apache.org/jira/browse/MCOMPILER-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15036889#comment-15036889 ] Paavo Parkkinen commented on MCOMPILER-243: --- Looking at the PR (https://github.com/apache/maven-plugins/pull/55) there seems to be a commit that fixes the documentation (http://svn.apache.org/viewvc?view=revision&revision=1688699), but clearly it's not reflected on the page (http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html). What needs to be done to get the fix on to the live site? > Compiler Plugin's Documentation on Compiler Args Seems Wrong > > > Key: MCOMPILER-243 > URL: https://issues.apache.org/jira/browse/MCOMPILER-243 > Project: Maven Compiler Plugin > Issue Type: Bug >Reporter: Tim Stewart >Assignee: Karl Heinz Marbaise >Priority: Trivial > Labels: compiler, docuentation > > On this page: > > http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html > I'm instructed to express compilerArgs this way: > > > org.apache.maven.plugins > maven-compiler-plugin > 3.3 > > -verbose > -Xlint:all,-options,-path > > > > When I do that I get an error: > Unrecognised tag: 'compilerArgs' (position: START_TAG seen > ...\n... @21:27) > But when I tuck the compilerArgs XML element under the configuration element, > it works: > > org.apache.maven.plugins > maven-compiler-plugin > 3.3 > > > -verbose > -Xlint:all,-options,-path > > 1.8 > 1.8 > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)