Hi Jeff, you fixed it already as userset is now typed. As a hint, I updated the generic type names T to U in the Turbine user manager - the <T> in the Turbine and Fulcrum user managers classes have a different meaning: (1) in the Turbine user manager (DefaultUserManager implements org.apache.turbine.services.security.UserManager) T extends org.apache.turbine.om.security.User (2) in the Fulcrum user manager (umDelegate, org.apache.fulcrum.security.model.turbine.TurbineUserManager implements org.apache.fulcrum.security.UserManager) T extends org.apache.fulcrum.security.entity.User
Best regards, Georg Von: Jeffery Painter <[email protected]> An: Turbine Developers List <[email protected]> Datum: 12.01.2018 16:21 Betreff: fulcrum security update results in turbine build failure Hi Georg, You may still be working on this, but after the last checkout, the turbine base is failing with the following error. I checked everything out clean from turbine/trunk [INFO] Changes detected - recompiling the module! [INFO] Compiling 235 source files to /home/painter/turbine/turbine/target/classes [INFO] /home/painter/turbine/turbine/target/generated-sources/org/apache/turbine/services/schedule/BaseJobEntryTorqueRecordMapper.java: Some input files use or override a deprecated API. [INFO] /home/painter/turbine/turbine/target/generated-sources/org/apache/turbine/services/schedule/BaseJobEntryTorqueRecordMapper.java: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/painter/turbine/turbine/src/java/org/apache/turbine/services/security/DefaultUserManager.java:[261,58] incompatible types: java.lang.Object cannot be converted to org.apache.fulcrum.security.entity.User [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.855 s [INFO] Finished at: 2018-01-12T10:19:05-05:00 [INFO] Final Memory: 32M/585M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project turbine: Compilation failure [ERROR] /home/painter/turbine/turbine/src/java/org/apache/turbine/services/security/DefaultUserManager.java:[261,58] incompatible types: java.lang.Object cannot be converted to org.apache.fulcrum.security.entity.User [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException -- Jeff Painter --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
smime.p7s
Description: S/MIME Cryptographic Signature
