hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@hortonworks.com>
Subject Re: Maven always detects changes - Is this a Docker 'feature'?
Date Tue, 16 Jun 2015 09:57:56 GMT
Your clocks are probably confused.

ant -diagnostics actually measures clock drift between System.currentTimeMillis() and the
timestamps coming off the tmp dir. You should do the same with files touched in target/


> On 15 Jun 2015, at 23:31, Colin P. McCabe <cmccabe@apache.org> wrote:
> 
> Hi Darrell,
> 
> Sorry, I'm not familiar with this feature of Maven.  Perhaps try
> asking on the Apache Maven mailing list?
> 
> best,
> Colin
> 
> On Fri, May 22, 2015 at 8:34 AM, Darrell Taylor
> <darrell.taylor@gmail.com> wrote:
>> Hi,
>> 
>> Is it normal behaviour for maven to detect changes when I run tests with no
>> changes?
>> 
>> e.g.
>> $ mvn test -Dtest=TestDFSShell -nsu -o
>> ...
>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
>> hadoop-hdfs ---
>> [INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 576 source files to
>> /home/darrell/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/classes
>> ...
>> 
>> Then I run the same command again without touching anything else and it
>> compiles everything again.  It's getting rather tedious.
>> 
>> I am running this from inside the docker container.
>> 
>> Any help appreciated.
>> 
>> Thanks
>> Darrell.


Mime
View raw message