I don't understand why cache mvn repo files will cause a compile issue. Refer to travis document (https://docs.travis-ci.com/user/caching/#things-not-to-cache), ``` The cache’s purpose is to make installing language-specific dependencies easy and fast, so everything related to tools like Bundler, pip, Composer, npm, Gradle, Maven, is what should go into the cache. ```
I suggest add cache configuration back and try clean cache manual when next time we face similar issue. On 2018/09/13 02:22:03, Jerrick Zhu <[email protected]> wrote: > On Wed, Sep 12, 2018 at 10:15 AM Ian Luo <[email protected]> wrote: > > > I suggest to add back maven cache configuration to check if it's recovered. > > It helps on speeding the build. > > > > I prefer stable than speed. How about others' thought? > > > > > > On Wed, Sep 12, 2018 at 8:47 AM Jerrick Zhu <[email protected]> wrote: > > > > > When I enabled -X, I didn't get any useful informations. Neither > > upgrading > > > maven-compile-plugin. > > > After that I wanted to remove it in .m2, so removing the cache > > > configuration. > > > > > > Until now I do not find out the reason. > > > > > > On Wed, Sep 12, 2018 at 7:37 AM Huxing Zhang <[email protected]> wrote: > > > > > > > Hi, > > > > > > > > On Tue, Sep 11, 2018 at 11:41 AM Jerrick Zhu <[email protected]> > > wrote: > > > > > > > > > > I try to remove the cache in .travis.yml, > > > > > > > > > > ``` > > > > > cache: > > > > > directories: > > > > > - '$HOME/.m2/repository' > > > > > ``` > > > > > > > > I have also tried a few times. How did you find it out? Are you using > > > > maven -X for debugging? > > > > > > > > > > > > > > Now it works. Maybe the cache affects the build process. > > > > > > > > > > I'll file a PR on master. > > > > > > > > > > On Mon, Sep 10, 2018 at 4:57 PM Jerrick Zhu <[email protected]> > > > wrote: > > > > > > > > > > > I tried to restart the build for a few times, it failed with the > > same > > > > > > error. > > > > > > > > > > > > On Mon, Sep 10, 2018 at 1:56 PM yuhang xiu <[email protected]> > > > wrote: > > > > > > > > > > > >> Hi, > > > > > >> I also checked the log just now and found no problems. I have > > > > restarted > > > > > >> this task, I will observe the results after a while. > > > > > >> > > > > > >> YunKun Huang <[email protected]> 于2018年9月10日周一 下午1:53写道: > > > > > >> > > > > > >> > Check this log, it says compile fail on dubbo-common module: > > > > > >> > https://travis-ci.org/apache/incubator-dubbo/jobs/426109384 > > > > > >> > > > > > > >> > But there is no code change since latest successful bulid. > > > > > >> > Also I try to run build in my local, it pass with jdk 8. > > > > > >> > > > > > > >> > On 2018/09/10 05:36:27, Jerrick Zhu <[email protected]> wrote: > > > > > >> > > Hi, community > > > > > >> > > > > > > > >> > > I found that all travis CI builds failed on Java8. > > > > > >> > > > > > > > >> > > Here is the master's build: > > > > > >> https://travis-ci.org/apache/incubator-dubbo > > > > > >> > > > > > > > >> > > Anyone can help to check it? > > > > > >> > > > > > > > >> > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > -- > > > > Best Regards! > > > > Huxing > > > > > > > > > >
