Hi Sinthuja, Yes, it got built with Java 6. Thanks for the response.
Thanks, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +94777688882 On Fri, Dec 12, 2014 at 6:25 PM, Sinthuja Ragendran <sinth...@wso2.com> wrote: > > Hi hemika, > > what is the JAVA version that you are using? AFAIR I came across similar > issue when I built with java 7, and it resolved once I switched to java6. > Hence please try switch the java 6 and try. > > Thanks, > Sinthuja > > On Fri, Dec 12, 2014 at 6:08 PM, Hemika Kodikara <hem...@wso2.com> wrote: > >> Hi All, >> >> I forked the "carbon-utils"[1] repo from "wso2-dev" today(12/12/2014) and >> attempted to build it. But getting the following error when building the >> "WSO2 Carbon - Tasks Core" module. >> >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile >> (default-compile) on project org.wso2.carbon.ntask.core: Compilation failure >> [ERROR] >> /Users/hemikakodikara/mb/dev/300/carbon-utils/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/internal/TasksDSComponent.java:[197,24] >> error: type ServiceReference does not take parameters >> [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. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :org.wso2.carbon.ntask.core >> >> >> [1] - https://github.com/wso2-dev/carbon-utils >> >> Regards, >> Hemika >> >> >> Hemika Kodikara >> Software Engineer >> WSO2 Inc. >> lean . enterprise . middleware >> http://wso2.com >> >> Mobile : +94777688882 >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > -- > *Sinthuja Rajendran* > Senior Software Engineer <http://wso2.com/> > WSO2, Inc.:http://wso2.com > > Blog: http://sinthu-rajan.blogspot.com/ > Mobile: +94774273955 > > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev