Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.0.3
-
Fix Version/s: None
-
Component/s: Bootstrap & Build
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
The javac command generated by Maven contains a trailing colon or semi-colon depending on the OS. For example:
-sourcepath <project>\src\main\java;
which is equivalent to:
-sourcepath <project>\src\main\java;\
Therefore, if a source file exists in the root directory under its project structure, the source file will be compiled.
(Similarly, a trailing colon or semi-colon is added to the classpath.)