Hi Sumedha, I just got an update and built apimgt component. Got the following error. Any thoughts?
At revision 135325. [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.226s [INFO] Finished at: Fri Jul 27 13:42:10 IST 2012 [INFO] Final Memory: 171M/1157M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project org.wso2.carbon.apimgt.hostobjects: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.apimgt.hostobjects:bundle:1.0.0: The following artifacts could not be resolved: org.jaggeryjs:org.jaggeryjs.scriptengine:jar:0.9.0, org.jaggeryjs:org.jaggeryjs.hostobjects.web:jar:0.9.0, org.jaggeryjs:org.jaggeryjs.hostobjects.file:jar:0.9.0: Failure to find org.jaggeryjs:org.jaggeryjs.scriptengine:jar:0.9.0 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced -> [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/DependencyResolutionException On Fri, Jul 27, 2012 at 1:04 PM, Sumedha Rubasinghe <[email protected]>wrote: > Kasun, > This seems like a test ordering problem. On this particular test, we are > using a configuration populated elsewhere. > I did a minor fix. Please get svn up and see if things work for you. > > /sumedha > > On Fri, Jul 27, 2012 at 12:16 PM, Kasun Indrasiri <[email protected]> wrote: > >> Got the svn up in the morning. >> >> Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on >> project org.wso2.carbon.apimgt.impl: There are test failures. >> [ERROR] >> [ERROR] Please refer to >> /home/kasun/development/wso2/wso2svn/carbon/platform/branches/4.0.0/components/apimgt/org.wso2.carbon.apimgt.impl/1.0.0/target/surefire-reports >> for the individual test results. >> [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] >> >> >> >> Test set: org.wso2.carbon.apimgt.impl.token.TokenGenTest >> >> ------------------------------------------------------------------------------- >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009 sec >> <<< FAILURE! >> testJWTGeneration(org.wso2.carbon.apimgt.impl.token.TokenGenTest) Time >> elapsed: 0.008 sec <<< ERROR! >> java.lang.NullPointerException >> at >> org.wso2.carbon.apimgt.impl.utils.TokenGenUtil.getTTL(TokenGenUtil.java:82) >> at >> org.wso2.carbon.apimgt.impl.utils.TokenGenUtil.getJWT(TokenGenUtil.java:53) >> at >> org.wso2.carbon.apimgt.impl.token.TokenGenTest.testJWTGeneration(TokenGenTest.java:29) >> o2/wso2svn/carbon/platform/branches/4.0.0/components/apimgt/org.wso2.carbon.apimgt.impl/1.0.0/target/surefire-reports/org.wso2.carbon.apimgt.impl.token.TokenGenTest.txt >> (END >> >> >> >> >> -- >> Kasun Indrasiri >> Associate Technical Lead >> WSO2, Inc.; http://wso2.com >> lean.enterprise.middleware >> >> cell: +94 71 536 4128 >> Blog : http://kasunpanorama.blogspot.com/ >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > /sumedha > +94 773017743 > -- Kasun Indrasiri Associate Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
