[midPoint] Problem building MP 3.5 from source
Shawn McKinney
smckinney at symas.com
Thu Jan 12 14:02:14 CET 2017
Hello,
This is probably something simple, but can’t build 3.5 from source. Here’s what I’ve done:
git clone -b v3.5 https://github.com/Evolveum/midpoint.git
mvn clean install -DskipTests=true -P -dist
Which then gives a bunch of errors about deprecated classes. I’m using Oracle Java 8. Please advise.
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:15 min
[INFO] Finished at: 2017-01-12T06:35:04-06:00
[INFO] Final Memory: 177M/942M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project repo-sql-impl: Compilation failure: Compilation failure:
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RFocusPhoto.java:[22,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RFocus.java:[37,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RFocus.java:[38,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RObjectReference.java:[31,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RShadow.java:[40,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RShadow.java:[41,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RAbstractRole.java:[39,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RAbstractRole.java:[40,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RAssignmentReference.java:[29,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/ROrgClosure.java:[22,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/ROrgClosure.java:[23,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/ROrg.java:[29,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/ROrg.java:[30,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RTrigger.java:[17,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RTrigger.java:[19,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/embedded/REmbeddedReference.java:[32,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtString.java:[24,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtString.java:[25,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtLong.java:[24,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtLong.java:[25,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtDate.java:[24,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtDate.java:[25,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtReference.java:[27,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtReference.java:[28,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtPolyString.java:[25,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtPolyString.java:[26,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtBoolean.java:[24,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtBoolean.java:[25,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RExclusion.java:[36,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAssignmentExtension.java:[32,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtString.java:[23,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtString.java:[24,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtLong.java:[23,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtLong.java:[24,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtDate.java:[23,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtDate.java:[24,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtReference.java:[26,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtReference.java:[27,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtPolyString.java:[24,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtPolyString.java:[25,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtBoolean.java:[23,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtBoolean.java:[24,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RConnector.java:[32,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RResource.java:[36,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RSequence.java:[28,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RAccessCertificationCase.java:[43,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RCertCaseReference.java:[30,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RAccessCertificationCampaign.java:[34,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RObjectDeltaOperation.java:[37,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RAuditEventRecord.java:[40,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RAuditItem.java:[15,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/ClassDefinitionParser.java:[29,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RUser.java:[33,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RUser.java:[34,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RRole.java:[29,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RGenericObject.java:[28,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RSecurityPolicy.java:[13,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RObjectTemplate.java:[31,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RConnectorHost.java:[33,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RReport.java:[15,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RReport.java:[16,32] [deprecation] Index in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RSystemConfiguration.java:[29,32] [deprecation] ForeignKey in org.hibernate.annotations has been deprecated
[ERROR] /home/smckinn/GIT/midpointDev/midpoint/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RValuePolicy.java:[29,32] [deprecation] ForeignKey in
…
Thanks,
Shawn
More information about the midPoint
mailing list