[ 
https://jira.codehaus.org/browse/MNG-5187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte updated MNG-5187:
--------------------------------

    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.)


  was:
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.)


    
> Trailing Root Directory is Added to sourcepath (and classpath)
> --------------------------------------------------------------
>
>                 Key: MNG-5187
>                 URL: https://jira.codehaus.org/browse/MNG-5187
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 3.0.3
>            Reporter: Clint Shank
>            Priority: Minor
>
> 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.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to