Hi,

Getting the following error while building AS samples:

------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.084s
[INFO] Finished at: Thu Aug 22 11:25:02 IST 2013
[INFO] Final Memory: 8M/311M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
(default-compile) on project wso2appserver-samples-json: Compilation
failure: Compilation failure:
[ERROR]
/home/isuruwan/Project/platform/4.2.0/products/as/5.2.0/modules/samples/product/JSON/src/org/wso2/appserver/sample/json/client/JSONClient.java:[36,24]
for-each loops are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable for-each loops)
[ERROR] for (String arg : args) {
[ERROR]
[ERROR]
/home/isuruwan/Project/platform/4.2.0/products/as/5.2.0/modules/samples/product/JSON/src/org/wso2/appserver/sample/json/client/JSONClient.java:[49,15]
generics are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] HashMap<String, String> paramMap = new HashMap<String, String>();
[ERROR] -> [Help 1]
------------------------------------------------

Any idea pls?

Regards!
Isuruwan
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to