Re: Help needed - checkstyle build failing
Mark Thomas <[email protected]> Wed, 26 Feb 2025 08:27:40 +0000
| Newsgroups | gmane.comp.jakarta.gump |
|---|---|
| Message-ID | <[email protected]> |
On 25/02/2025 17:14, Mark Thomas wrote: > On 25/02/2025 16:01, Stefan Bodewig wrote: >> On 2025-02-25, Stefan Bodewig wrote: >> >>> One option may be to build checkstyle before providing "guava" with >>> separateLocalRepository set to true. This is assuming you want to build >>> any other project that depend on guava and see whether it breaks and you >>> don't care if guava updates not currently dependend on break checkstyle. >> >> It looks as if checkstyle was the only project that depends on guava so >> it looks as if you really wanted to verify checkstyle isn't broken by >> guava updates. >> >> If you want to see whether a guava update would break checkstyle at >> runtime (when building Tomcat) then the approach above may work. >> >> If all you want is to have the guava dependencies on the classpath when >> Tomcat is built you could change the project name and the mvn repositoy >> proxy would not provide the packaged version to checkstyle. >> >> Right now I'm not sure why the packaged giava is there. > > Thanks for the pointers. I'll take another look with this additional > information and see if I can get things working. That seems to have worked (although some other Gremlins are still causing issues). I removed the packaged Guava as I am interested in whether Tomcat passes the Checkstyle checks with the latest Checkstyle code but I don't need to build Checkstyle against the latest version of all its dependencies. Cheers, Mark