Re: Help needed - checkstyle build failing
Mark Thomas <[email protected]> Tue, 25 Feb 2025 17:14:40 +0000
| Newsgroups | gmane.comp.jakarta.gump |
|---|---|
| Message-ID | <[email protected]> |
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. Cheers, Mark