Hi,

I'm getting following compilation error when building the Carbon Kernel
4.2.0 from source. I'm using apache maven 3.3.9 and jdk 1.7.0_80

The error that I'm getting is as follows

[ERROR] COMPILATION ERROR :
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.1:compile
(default-compile) on project wss4j: Compilation failure: Compilation
failure:
[ERROR]
/home/madhawap/wso2carbon-kernel/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[10,24]
EncryptionKey is internal proprietary API and may be removed in a future
release

Further it gives following warnings as well .

[INFO] --- maven-pmd-plugin:2.5:pmd (pmd) @ wss4j ---
[WARNING] File encoding has not been set, using platform encoding UTF-8,
i.e. build is platform dependent!

[WARNING] Error while parsing
/home/madhawap/wso2carbon-kernel/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/KerberosTokenPrincipal.java:
Can't use annotations when running in JDK 1.4 mode!

[WARNING] Error while parsing
/home/madhawap/wso2carbon-kernel/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbSessionCache.java:
Can't use generics unless running in JDK 1.5 mode!

Is this a problem with maven and jdk versions? The prerequisites
documentation suggests maven 3.0.x and has mentioned that jdk 1.7 is
compatible.

Thank you
Regards,

-- 
Madhawa Perera
*Software Engineer*
Mobile : +94 (0) 773655496
<%2B94%20%280%29%20773%20451194>
madha...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to