Hi everyone,
I'm wondering why, modifying just a single file, a "without clean" build takes 
a time very close to a "clean" build.

Some numbers about my build times:
1) mvn clean install: 01:13 min
2) mvn install (without file changes): 10.541 s
3) mvn install (with a single source file changed, among 2680 others left 
unchanged): 01:06 min

In case 3 I'm expecting a time closer to case 2, not to case 1. Both case 1 and 
3 reports "Compiling 2680 source files".

Are there some options to make maven-compiler-plugin skip compiling sources 
where the xxx.class file has a more recent update time than the relative 
xxx.java file?

Many thanks in advance,
Francesco


--

Francesco Caliumi
Developer @ Diennea - MagNews
Tel.: (+39) 0546 066100 - Int. 266
Viale G.Marconi 30/14 - 48018 Faenza (RA)

[Magnews.it]<http://www.magnews.it/it>

[Linkedin]<http://www.linkedin.com/company/diennea---magnews>     [Twitter] 
<http://twitter.com/DienneaMagNews>      [Facebook] 
<http://www.facebook.com/pages/MagNews/197617841797>      [Newsletter] 
<http://www.magnews.it/it/iscriviti-alla-newsletter>

________________________________

CONFIDENTIALITY & PRIVACY NOTICE
This e-mail (including any attachments) is strictly confidential and may also 
contain privileged information. If you are not the intended recipient you are 
not authorised to read, print, save, process or disclose this message. If you 
have received this message by mistake, please inform the sender immediately and 
destroy this e-mail, its attachments and any copies. Any use, distribution, 
reproduction or disclosure by any person other than the intended recipient is 
strictly prohibited and the person responsible may incur in penalties.
The use of this e-mail is only for professional purposes; there is no guarantee 
that the correspondence towards this e-mail will be read only by the recipient, 
because, under certain circumstances, there may be a need to access this email 
by third subjects belonging to the Company.

Reply via email to