Hello
I checked out Apache Rave yesterday, June 6th 2011. I have problems in
building Rave with Maven. It successfully builds Rave-Master, but when I
execute "mvn install" in Rave's root directory it ends with
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Rave :: rave-project ....................... SUCCESS [2.016s]
[INFO] Apache Rave :: rave-shindig ....................... SUCCESS [14.355s]
[INFO] Apache Rave :: rave-portal ........................ FAILURE [19.760s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 36.507s
[INFO] Finished at: Tue Jun 07 16:29:51 CEST 2011
[INFO] Final Memory: 46M/110M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test)
on project rave-portal: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/germinus/rave/rave-portal/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]
[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 :rave-portal
When I open the surefire-reports directory:
germinus@omelette:~/rave/rave-portal/target/surefire-reports$ ls -ltr |
grep txt
*-rw-r--r-- 1 germinus germinus 6901 jun 7 14:29
org.apache.rave.portal.repository.JpaUserRepositoryTest.txt
-rw-r--r-- 1 germinus germinus 6924 jun 7 14:29
org.apache.rave.portal.repository.JpaPageRepositoryTest.txt*
-rw-r--r-- 1 germinus germinus 285 jun 7 14:29
org.apache.rave.util.CollectionUtilsTest.txt
-rw-r--r-- 1 germinus germinus 308 jun 7 14:29
org.apache.rave.provider.w3c.web.renderer.W3cWidgetRendererTest.txt
-rw-r--r-- 1 germinus germinus 322 jun 7 14:29
org.apache.rave.provider.opensocial.web.renderer.OpenSocialWidgetRendererTest.txt
-rw-r--r-- 1 germinus germinus 310 jun 7 14:29
org.apache.rave.provider.opensocial.service.OpenSocialServiceTest.txt
-rw-r--r-- 1 germinus germinus 327 jun 7 14:29
org.apache.rave.provider.opensocial.repository.ShindigGadgetMetadataRepositoryTest.txt
-rw-r--r-- 1 germinus germinus 295 jun 7 14:29
org.apache.rave.portal.web.tag.RegionWidgetTagTest.txt
-rw-r--r-- 1 germinus germinus 298 jun 7 14:29
org.apache.rave.portal.web.renderer.RenderServiceTest.txt
-rw-r--r-- 1 germinus germinus 309 jun 7 14:29
org.apache.rave.portal.web.renderer.RenderServiceIntegrationTest.txt
-rw-r--r-- 1 germinus germinus 308 jun 7 14:29
org.apache.rave.portal.web.controller.WidgetStoreControllerTest.txt
-rw-r--r-- 1 germinus germinus 301 jun 7 14:29
org.apache.rave.portal.web.controller.HomeControllerTest.txt
-rw-r--r-- 1 germinus germinus 291 jun 7 14:29
org.apache.rave.portal.web.api.rpc.PageApiTest.txt
-rw-r--r-- 1 germinus germinus 299 jun 7 14:29
org.apache.rave.portal.web.api.rpc.model.RpcResultTest.txt
-rw-r--r-- 1 germinus germinus 302 jun 7 14:29
org.apache.rave.portal.web.api.rpc.model.RpcOperationTest.txt
-rw-r--r-- 1 germinus germinus 294 jun 7 14:29
org.apache.rave.portal.web.api.rest.WidgetApiTest.txt
-rw-r--r-- 1 germinus germinus 300 jun 7 14:29
org.apache.rave.portal.web.api.rest.RegionWidgetApiTest.txt
-rw-r--r-- 1 germinus germinus 294 jun 7 14:29
org.apache.rave.portal.util.LocalizationUtilsTest.txt
-rw-r--r-- 1 germinus germinus 293 jun 7 14:29
org.apache.rave.portal.service.WidgetServiceTest.txt
-rw-r--r-- 1 germinus germinus 291 jun 7 14:29
org.apache.rave.portal.service.UserServiceTest.txt
-rw-r--r-- 1 germinus germinus 299 jun 7 14:29
org.apache.rave.portal.service.RegionWidgetServiceTest.txt
-rw-r--r-- 1 germinus germinus 292 jun 7 14:29
org.apache.rave.portal.service.PageServiceTest.txt
*-rw-r--r-- 1 germinus germinus 6892 jun 7 14:29
org.apache.rave.portal.repository.JpaWidgetRepositoryTest.txt
-rw-r--r-- 1 germinus germinus 16013 jun 7 14:29
org.apache.rave.portal.repository.JpaRegionWidgetRepositoryTest.txt
-rw-r--r-- 1 germinus germinus 16205 jun 7 14:29
org.apache.rave.portal.repository.JpaRegionRepositoryTest.txt*
-rw-r--r-- 1 germinus germinus 300 jun 7 14:29
org.apache.rave.portal.repository.impl.util.JpaUtilTest.txt
-rw-r--r-- 1 germinus germinus 293 jun 7 14:29
org.apache.rave.portal.model.util.ModelUtilsTest.txt
-rw-r--r-- 1 germinus germinus 302 jun 7 14:29
org.apache.rave.portal.model.util.InternationalStringTest.txt
-rw-r--r-- 1 germinus germinus 282 jun 7 14:29
org.apache.rave.portal.model.UserTest.txt
-rw-r--r-- 1 germinus germinus 282 jun 7 14:29
org.apache.rave.portal.model.PageTest.txt
-rw-r--r-- 1 germinus germinus 296 jun 7 14:29
org.apache.rave.exception.NotSupportedExceptionTest.txt
So it seems some kind of test failure in the
*org.apache.rave.portal.repository* package. Anyway, I tried to run a
local Tomcat instance by executing "$mvn cargo:start" in rave-portal
directory and it seems that *rave-portal-0.1-incubating-SNAPSHOT.war*
could not be created.
Unfortunately, I am not familiar enough with Maven nor Rave to ascertain
where the exact problem. If you have any idea please let me know.
Best regards
--
*Rodrigo Illera Camargo* | R&D Engineer
Avda. de Manoteras, 32 -- Edificio Gesfor | 28050 Madrid | EspaƱa
T: + 34 91 304 80 94 M: + 34 607 83 85 04
[email protected] <mailto:[email protected]> |
www.logica.com.es <http://www.logica.com.es%0b>