Hi Anjana,

Can you take an update in carbon-cxf, and try to build?

Thanks,
KasunG


On Tue, Jul 30, 2013 at 1:18 PM, Anjana Fernando <[email protected]> wrote:

> Hi,
>
> When building platform/dependencies, I get the following error:-
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
> (default-compile) on project carbon-cxf: Compilation failure: Compilation
> failure:
> [ERROR]
> /media/laf/data/dev/wso2/trunk/platform/dependencies/commons/carbon-cxf/1.0.0/src/main/java/org/wso2/carbon/webapp/ext/cxf/lifecycle/CarbonConfiguration.java:[30,15]
> generics are not supported in -source 1.3
> [ERROR] (use -source 5 or higher to enable generics)
> [ERROR] private Map<String, Object> parameters = new HashMap<String,
> Object>();
> [ERROR]
> [ERROR]
> /media/laf/data/dev/wso2/trunk/platform/dependencies/commons/carbon-cxf/1.0.0/src/main/java/org/wso2/carbon/webapp/ext/cxf/lifecycle/CarbonServerLifeCycleListener.java:[36,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/dependencies/commons/carbon-cxf/1.0.0/src/main/java/org/wso2/carbon/webapp/ext/cxf/interceptor/HostNameSupportedWSDLGetInterceptor.java:[50,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/dependencies/commons/carbon-cxf/1.0.0/src/main/java/org/wso2/carbon/webapp/ext/cxf/interceptor/HostNameSupportedWSDLGetInterceptor.java:[51,65]
> generics are not supported in -source 1.3
> [ERROR] (use -source 5 or higher to enable generics)
> [ERROR] public Document getDocument(Message message, String base,
> Map<String, String> params, String ctxUri, EndpointInfo endpointInfo) {
> [ERROR]
> [ERROR]
> /media/laf/data/dev/wso2/trunk/platform/dependencies/commons/carbon-cxf/1.0.0/src/main/java/org/wso2/carbon/webapp/ext/cxf/lifecycle/CarbonServerLifeCycleUtil.java:[32,27]
> for-each loops are not supported in -source 1.3
> [ERROR] (use -source 5 or higher to enable for-each loops)
> [ERROR] for (Interceptor i : server.getEndpoint().getInInterceptors()) {
> [ERROR] -> [Help 1]
> [ERROR]
>
> Seems its some POM configuration problem, where the compiler source
> version is set to 1.3, but they expect Java 5 features.
>
> 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
>
>


-- 
*Kasun Gajasinghe*
Software Engineer;
Development Technologies Team, WSO2 Inc.; http://wso2.com


 ,
*email: **kasung AT spamfree wso2.com


** cell: **+94 (77) 678-0813*
*linked-in: *http://lk.linkedin.com/in/gajasinghe


*
*
*blog: **http://kasunbg.org* <http://kasunbg.org>


*
twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>


*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to