I cannot reproduce these symptoms using either JDK 8 or 11 and Maven 3.8.2 on Fedora 34. The compatibility matrix for Java has grown increasingly complex so I don't think we can do more than what our CI checks.
On Wed, Sep 15, 2021 at 10:16:02PM -0000, John Calcote wrote: > I'm trying to build jcloud 2.4.0 (tag). I'm running on CentOS 7.6 and using > maven 3.8. I'm building jclouds from the root of the work area using the > command `mvn install`. I get about 1/2 done and run into this error: > > .. > [INFO] --- duplicate-finder-maven-plugin:1.5.0:check (default) @ > jclouds-apachehc --- > [INFO] Checking compile classpath > [INFO] Checking runtime classpath > [INFO] Checking test classpath > [WARNING] Found duplicate (but equal) classes in > [aopalliance:aopalliance:1.0, commons-logging:commons-logging:1.1.3]: > [WARNING] org.aopalliance.aop.Advice > [WARNING] org.aopalliance.aop.AspectException > [WARNING] org.aopalliance.intercept.ConstructorInterceptor > [WARNING] org.aopalliance.intercept.ConstructorInvocation > [WARNING] org.aopalliance.intercept.Interceptor > > ..thousands more of these lines... > > .. > [INFO] jclouds Amazon EC2 provider ........................ SUCCESS [ 44.093 > s] > [INFO] jclouds Amazon Route 53 provider ................... SUCCESS [ 4.167 > s] > [INFO] jclouds Apache Http Components Client .............. FAILURE [ 6.137 > s] > [INFO] jclouds joda DateService Module .................... SKIPPED > [INFO] jclouds netty payload module ....................... SKIPPED > .. > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 16:02 min > [INFO] Finished at: 2021-09-15T21:52:34Z > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.basepom.maven:duplicate-finder-maven-plugin:1.5.0:check (default) on > project jclouds-apachehc: Found duplicate classes/resources! -> [Help 1] > [ERROR] > .. > > -- Andrew Gaul http://gaul.org/