Maven issue while executing mvn clean package -e on olat pom.xml

135 views
Skip to first unread message

bellammal...@gmail.com

unread,
May 16, 2014, 2:28:52 AM5/16/14
to open...@googlegroups.com
Hi Team,
can you please help out on creating the .war file.

StackTrace:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:45.267s
[INFO] Finished at: Fri May 16 11:28:36 IST 2014
[INFO] Final Memory: 13M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-co
mpile) on project openolat: Compilation failure: Compilation failure:
[ERROR] D:\LMSWorkspace\mavenworkspace\openolat93-d51edeba5b64\src\main\java\de\bps\olat\modules\cl\Che
cklistManageTableDataModel.java:[45,36] error: diamond operator is not supported in -source 1.5
[ERROR] (use -source 7 or higher to enable diamond operator)
[ERROR] D:\LMSWorkspace\mavenworkspace\openolat93-d51edeba5b64\src\main\java\org\olat\commons\servlets\
StaticsModule.java:[47,63] error: diamond operator is not supported in -source 1.5
[ERROR] (use -source 7 or higher to enable diamond operator)
[ERROR] D:\LMSWorkspace\mavenworkspace\openolat93-d51edeba5b64\src\main\java\org\olat\course\condition\
interpreter\ConditionExpression.java:[54,31] error: diamond operator is not supported in -source 1.5
[ERROR] (use -source 7 or higher to enable diamond operator)
[ERROR] D:\LMSWorkspace\mavenworkspace\openolat93-d51edeba5b64\src\main\java\org\olat\course\assessment
.....
.......

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Thanks!
Malliakrjuna Bellam

Florian Gnägi

unread,
May 16, 2014, 2:34:31 AM5/16/14
to open...@googlegroups.com
Hi Malliakrjuna

Looks like you try to compile with an old Java version. You need 1.7 for OpenOLAT. Note that you should build from the openolat94 repo as this is the new production line.

Cheers
Florian


--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT and OLATpro
 hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------

frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland

skype:gnaegi  twitter:gnaegi  xing:Florian_Gnaegi 
--------------------------------------------------------------------















Reply all
Reply to author
Forward
0 new messages