Hi Tharindu & Chathurika,

It works fine. I used maven 3.0.5 and jdk 1.6.
Thank you for the help.

Best Regards,
Madhawa



On Thu, Feb 11, 2016 at 3:27 PM, Chathurika De Silva <[email protected]>
wrote:

> Hi Madhawa
>
> This blog might be a help as well [1]
>
> [1] https://dzone.com/articles/how-build-wso2-carbon-420
>
> Regards
> Erandi
>
> On Thu, Feb 11, 2016 at 3:24 PM, Tharindu Edirisinghe <[email protected]>
> wrote:
>
>> Hi Madhawa,
>>
>> Can you try to build with some maven 3.0.x version ? According to [1]
>> that's the recommendation. I've been able to build the kernel with 3.0.4
>> version.
>>
>> [1] https://docs.wso2.com/display/Carbon420/Installation+Prerequisites
>>
>> Regards,
>> TharinduE
>>
>> On Thu, Feb 11, 2016 at 3:18 PM, Madhawa Perera <[email protected]>
>> wrote:
>>
>>> 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>
>>> [email protected]
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Tharindu Edirisinghe
>> Software Engineer | WSO2 Inc
>> Platform Security Team
>> Blog : tharindue.blogspot.com
>> mobile : +94 775181586
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chathurika Erandi*
> Software Engineer,
> WSO2 Inc.
>
> *E-mail:* [email protected]
> *Mobile: *+94714 328 612
> *Blog*: chathurikaerandi.blogspot.com
>



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

Reply via email to