Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0
-
None
-
Windows 7
Description
I notice one of my builds had this in the maven-compiler-plugin configuration:
<include>my/path/MyFile.inc</include>
In 2.5.1, the inc file is excluded from the generated compiler file and the build is successful.
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:
$ 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/MyFile.inc Usage: javac <options> <source files> use -help for a list of possible options
I've removed the inc file from the compiler configuration, but the compiler plugin should handle more gracefully.