[ http://jira.codehaus.org/browse/MCOMPILER-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann updated MCOMPILER-41:
---------------------------------------
Attachment: MCOMPILER-41.zip
Not reproducable with the attached mini project (Maven Compiler Plugin 2.0.2).
> recompiling behaves differently when build.sourceDirectory is not set to the default
path src/main/java/
> --------------------------------------------------------------------------------------------------------
>
> Key: MCOMPILER-41
> URL: http://jira.codehaus.org/browse/MCOMPILER-41
> Project: Maven 2.x Compiler Plugin
> Issue Type: Bug
> Environment: Linux, Windox XP
> Reporter: akinokaze
> Attachments: MCOMPILER-41.zip
>
>
> the default build.sourceDirectory is at src/man/java
> When our code is located in this default directory, the first time we run mvn compile
all the source codes will be compiled as expected.
> When we run mvn compile again without any changes to the src code, the message
> "Nothing to compile - all classes are up to date", which is also the expected behaviour.
> If we set build.sourceDirectory to another directory, the behaviour is different.
> The first time we run mvn compile all the source codes will be compiled as expected.
> But when we run mvn compile again without any changes to the src code, all the source
codes are compiled again.
> This will increase the rebuild time significantly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|