no-overwrite failure

26 views
Skip to first unread message

Stephanie Wang

unread,
May 6, 2020, 6:47:07 PM5/6/20
to mojohaus-dev
Hi,

We pulled the latest master from GitHub and tried building the project but got below failure:

[INFO] Building: no-overwrite/pom.xml
[INFO] run post-build script verify.groovy
[INFO]   The post-build script did not succeed. assert now - flattendPom.lastModified() > 20*1000
       |   | |           |              |   |
       |   | |           1588804864000  |   20000
       |   | |                          false
       |   | /usr/local/google/home/stephwang/Desktop/stephdev/flatten-maven-plugin/target/it/no-overwrite/.flattened-pom.xml
       |   348
       1588804864348
[INFO]           no-overwrite/pom.xml ............................. FAILED (1.5 s)

My development info is as below:

Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T11:06:16-04:00)
Maven home: /usr/local/google/home/stephwang/opt/maven/latest
Java version: 1.8.0_181-google-v7, vendor: Google Inc., runtime: /usr/local/buildtools/java/jdk8-google-v7-64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.2.17-1rodete3-amd64", arch: "amd64", family: "unix"

Does anyone know what's causing this issue? Thanks!

Lasse Lindqvist

unread,
May 7, 2020, 2:40:23 AM5/7/20
to mojohaus-dev
I opened an issue about this (https://github.com/mojohaus/flatten-maven-plugin/issues/140) before the latest release. The release was done anyway since it had demand.

I was able to reproduce it in Windows, but it seems now that it also happens in Linux.

It definitely should be fixed. Maybe you could try to produce a fix and open a PR about it?

Stephanie Wang

unread,
May 7, 2020, 11:20:48 AM5/7/20
to mojoha...@googlegroups.com
Sure - will take a look. Thanks.

--
You received this message because you are subscribed to a topic in the Google Groups "mojohaus-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mojohaus-dev/srwaS79Zxm4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mojohaus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mojohaus-dev/5f7fc08f-5dbd-4366-9c12-5e178a6f5e80%40googlegroups.com.


--

Stephanie Wang

stephwang@google.com

Developer Programs Engineer

BigQuery, Java

Stephanie Wang

unread,
Jun 2, 2020, 11:44:26 AM6/2/20
to mojohaus-dev

Hi, could someone please review https://github.com/mojohaus/flatten-maven-plugin/pull/154? This is meant to fix the no-overwrite IT failure.

Thanks,

Olivier Lamy

unread,
Jun 2, 2020, 9:03:04 PM6/2/20
to mojoha...@googlegroups.com
done

You received this message because you are subscribed to the Google Groups "mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojohaus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mojohaus-dev/188c42fa-07ae-4438-8c66-714f76661fben%40googlegroups.com.


--

Stephanie Wang

unread,
Jun 2, 2020, 9:16:11 PM6/2/20
to mojoha...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages