Hi,
$subject, getting the following, please check.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
(default-compile) on project org.wso2.carbon.identity.sso.agent:
Compilation failure: Compilation failure:
[ERROR]
/media/laf/data/dev/wso2/trunk/platform/components/identity/org.wso2.carbon.identity.sso.agent/src/main/java/org/wso2/carbon/identity/sso/agent/util/SSOAgentUtils.java:[109,16]
generics are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] List<Signature> signatureList = new ArrayList<Signature>();
[ERROR]
[ERROR]
/media/laf/data/dev/wso2/trunk/platform/components/identity/org.wso2.carbon.identity.sso.agent/src/main/java/org/wso2/carbon/identity/sso/agent/saml/SSOAgentSessionManager.java:[31,19]
generics are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] private static Map<String, HttpSession> ssoSessions = new
Hashtable<String, HttpSession>();
[ERROR]
[ERROR]
/media/laf/data/dev/wso2/trunk/platform/components/identity/org.wso2.carbon.identity.sso.agent/src/main/java/org/wso2/carbon/identity/sso/agent/saml/X509CredentialImpl.java:[66,21]
generics are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] public Collection<X509CRL> getCRLs() {
[ERROR]
[ERROR]
/media/laf/data/dev/wso2/trunk/platform/components/identity/org.wso2.carbon.identity.sso.agent/src/main/java/org/wso2/carbon/identity/sso/agent/saml/SAML2SSOManager.java:[172,12]
generics are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] List<Assertion> assertions = samlResponse.getAssertions();
[ERROR]
[ERROR]
/media/laf/data/dev/wso2/trunk/platform/components/identity/org.wso2.carbon.identity.sso.agent/src/main/java/org/wso2/carbon/identity/sso/agent/saml/SAML2SSOManager.java:[380,50]
for-each loops are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable for-each loops)
[ERROR] for (AttributeStatement statement : attributeStatementList) {
[ERROR]
[ERROR]
/media/laf/data/dev/wso2/trunk/platform/components/identity/org.wso2.carbon.identity.sso.agent/src/main/java/org/wso2/carbon/identity/sso/agent/saml/SSOAgentKeyStoreCredential.java:[38,5]
annotations are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR] @Override
[ERROR]
[ERROR]
/media/laf/data/dev/wso2/trunk/platform/components/identity/org.wso2.carbon.identity.sso.agent/src/main/java/org/wso2/carbon/identity/sso/agent/openid/OpenIDManager.java:[70,45]
for-each loops are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable for-each loops)
[ERROR] for(String requestedAttribute:requestedAttributes){
[ERROR]
[ERROR]
/media/laf/data/dev/wso2/trunk/platform/components/identity/org.wso2.carbon.identity.sso.agent/src/main/java/org/wso2/carbon/identity/sso/agent/openid/OpenIDManager.java:[131,23]
generics are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable generics)
[ERROR] Map<String,List> attributesMap = new HashMap<String,List>();
[ERROR]
[ERROR]
/media/laf/data/dev/wso2/trunk/platform/components/identity/org.wso2.carbon.identity.sso.agent/src/main/java/org/wso2/carbon/identity/sso/agent/saml/SSOAgentHttpSessionListener.java:[28,5]
annotations are not supported in -source 1.3
[ERROR] (use -source 5 or higher to enable annotations)
[ERROR] @Override
[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.
Cheers,
Anjana.
--
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev