maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor Baker (JIRA)" <>
Subject [jira] (MCOMPILER-192) Compiler includes non java files
Date Thu, 20 Dec 2012 06:21:13 GMT


Trevor Baker updated MCOMPILER-192:

> Compiler includes non java files
> --------------------------------
>                 Key: MCOMPILER-192
>                 URL:
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0
>         Environment: Windows 7
>            Reporter: Trevor Baker
>         Attachments:
> I notice one of my builds had this in the maven-compiler-plugin configuration:
> {noformat}
> <include>my/path/</include>
> {noformat}
> In 2.5.1, the inc file is excluded from the generated compiler file and the build is
> In 3.0, the inc file is included in the generated compiler file and the build is not
successful. There are no warnings or errors displayed.
> The CLI returnCode is 2 but there is no output to grab messages from. When I grab the
generated compiler file and run by myself on the command line, I get this:
> {noformat}
> $ cmd.exe /X /C "C:\tools\jdk-1.6.0_33\bin\javac.exe @C:/Tools/cygwin/tmp/org.codehaus.plexus.compiler.javac.JavacCompiler3357522045371592375arguments"
> javac: invalid flag: C:/Users/me/project/src/java/my/path/
> Usage: javac <options> <source files>
> use -help for a list of possible options
> {noformat}
> I've removed the inc file from the compiler configuration, but the compiler plugin should
handle more gracefully.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message