Ohhhh ok It’s works… so I have something wrong in my environment…. I will check it all, but I’m not sure about how, but important is that I can work now with the extended.
Thank you so much Adrián. El 03/12/2013, a las 22:01, Chris Geer <[email protected]> escribió: > Ok, there is something wrong with your environment but I'm not sure what. > Can you finish the build by disabling tests? "mvn clean install > -DskipTests=true" > > > > > On Tue, Dec 3, 2013 at 1:05 PM, Adrian de vil <[email protected]>wrote: > >> Ok, then when I do the built I obtain this error >> >> Results : >> >> Tests in error: >> >> getConverter_Valid(org.apache.rave.portal.model.conversion.impl.MongDbConverterTest): >> 0 matchers expected, 1 recorded.(..) >> >> Tests run: 284, Failures: 0, Errors: 1, Skipped: 1 >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] Apache Rave :: rave-project ....................... SUCCESS [3.182s] >> [INFO] Apache Rave :: rave-components .................... SUCCESS [0.077s] >> [INFO] Apache Rave :: rave-commons ....................... SUCCESS [8.727s] >> [INFO] Apache Rave :: rave-core-api ...................... SUCCESS [2.915s] >> [INFO] Apache Rave :: rave-core .......................... SUCCESS >> [10.184s] >> [INFO] Apache Rave :: rave-jpa ........................... SUCCESS >> [26.046s] >> [INFO] Apache Rave :: rave-mongodb ....................... FAILURE [6.519s] >> [INFO] Apache Rave :: rave-web ........................... SKIPPED >> [INFO] Apache Rave :: rave-providers ..................... SKIPPED >> [INFO] Apache Rave :: rave-opensocial-provider ........... SKIPPED >> [INFO] Apache Rave :: rave-opensocial-client ............. SKIPPED >> [INFO] Apache Rave :: rave-opensocial-core ............... SKIPPED >> [INFO] Apache Rave :: rave-opensocial-server ............. SKIPPED >> [INFO] Apache Rave :: rave-shindig-dependencies .......... SKIPPED >> [INFO] Apache Rave :: rave-shindig-resources ............. SKIPPED >> [INFO] Apache Rave :: rave-shindig ....................... SKIPPED >> [INFO] Apache Rave :: rave-w3c-provider .................. SKIPPED >> [INFO] Apache Rave :: rave-portal-resources .............. SKIPPED >> [INFO] Apache Rave :: rave-portal-dependencies ........... SKIPPED >> [INFO] Apache Rave :: Demo Gadgets ....................... SKIPPED >> [INFO] Apache Rave :: rave-portal ........................ SKIPPED >> [INFO] Apache Rave :: rave-integration-tests ............. SKIPPED >> [INFO] Apache Rave :: rave-core-tests .................... SKIPPED >> [INFO] Apache Rave :: rave-newuser-tests ................. SKIPPED >> [INFO] Apache Rave :: rave-admin-tests ................... SKIPPED >> [INFO] Apache Rave :: rave-default-account-tests ......... SKIPPED >> [INFO] Apache Rave :: rave-custom-project-archetype ...... SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 1:00.106s >> [INFO] Finished at: Tue Dec 03 21:04:16 CET 2013 >> [INFO] Final Memory: 83M/297M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) >> on project rave-mongodb: There are test failures. >> [ERROR] >> [ERROR] Please refer to >> /home/adrian/Escritorio/rave/rave-components/rave-mongodb/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-mongodb >> >> Thank for all the help :D >> >> >>> Date: Tue, 3 Dec 2013 12:35:07 -0700 >>> Subject: Re: Problem with extended portal >>> From: [email protected] >>> To: [email protected] >>> >>> Ok, that is saying that it can't find the 0.23-SNAPSHOT archetype. Per >> your >>> previous email it seemed like you build the 0.23-SNAPSHOT release but it >>> appears something didn't work correctly. 0.23-SNAPSHOT isn't in the >> central >>> maven repository since it's a development release so you need to build it >>> yourself. The steps are: >>> >>> 1) Checkout the trunk from svn >>> 2) Run "mvn clean install" from the trunk directory. Make sure the build >>> succeeds and there are no Failed messages. >>> 3) Then you should be able to navigate to a different directory and run >> the >>> archetype command. >>> >>> >>> On Tue, Dec 3, 2013 at 12:31 PM, Adrian de vil <[email protected] >>> wrote: >>> >>>> Well, I add you terminal error it gives me >>>> >>>> adrian@adrian-MacBookPro:~/Escritorio/pru$ mvn archetype:generate >>>> -DarchetypeGroupId=org.apache.rave >>>> -DarchetypeArtifactId=rave-custom-project-archetype >>>> -DarchetypeVersion=0.23-SNAPSHOT >>>> >>>> [INFO] Scanning for projects... >>>> [INFO] >>>> [INFO] >>>> >> ------------------------------------------------------------------------ >>>> [INFO] Building Maven Stub Project (No POM) 1 >>>> [INFO] >>>> >> ------------------------------------------------------------------------ >>>> [INFO] >>>> [INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ >>>> standalone-pom >>> >>>> [INFO] >>>> [INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ >>>> standalone-pom <<< >>>> [INFO] >>>> [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ >>>> standalone-pom --- >>>> [INFO] Generating project in Interactive mode >>>> [INFO] Archetype repository missing. Using the one from >>>> [org.apache.rave:rave-custom-project-archetype:0.22] found in catalog >> remote >>>> [INFO] >>>> >> ------------------------------------------------------------------------ >>>> [INFO] BUILD FAILURE >>>> [INFO] >>>> >> ------------------------------------------------------------------------ >>>> [INFO] Total time: 3.871s >>>> [INFO] Finished at: Tue Dec 03 20:28:56 CET 2013 >>>> [INFO] Final Memory: 15M/175M >>>> [INFO] >>>> >> ------------------------------------------------------------------------ >>>> [ERROR] Failed to execute goal >>>> org.apache.maven.plugins:maven-archetype-plugin:2.2:generate >> (default-cli) >>>> on project standalone-pom: The desired archetype does not exist >>>> (org.apache.rave:rave-custom-project-archetype:0.23-SNAPSHOT) -> [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 >>>> >>>> I'm using Ubuntu 13.10 and that is maven version information: >>>> >>>> Apache Maven 3.0.4 >>>> Maven home: /usr/share/maven >>>> Java version: 1.7.0_45, vendor: Oracle Corporation >>>> Java home: /usr/local/java/jdk1.7.0_45/jre >>>> Default locale: es_ES, platform encoding: UTF-8 >>>> OS name: "linux", version: "3.11.0-13-generic", arch: "i386", family: >>>> "unix" >>>> >>>> I add because it could be a help >>>> >>>>> Date: Tue, 3 Dec 2013 11:49:28 -0700 >>>>> Subject: Re: Problem with extended portal >>>>> From: [email protected] >>>>> To: [email protected] >>>>> >>>>> Adrian, >>>>> >>>>> The archetype for 0.22 is broken but has been fixed in >> 0.23-SNAPSHOT. You >>>>> can run this command to guarentee you get the right version >>>>> >>>>> mvn archetype:generate -DarchetypeGroupId=org.apache.rave >>>>> -DarchetypeArtifactId=rave-custom-project-archetype >>>>> -DarchetypeVersion=0.23-SNAPSHOT >>>>> >>>>> I tested it last night and it correctly created a site. After it's >>>> created, >>>>> go into it and run "mvn install" then go into the portal directory >> and >>>> run >>>>> "mvn cargo:run" >>>>> >>>>> Chris >>>>> >>>>> >>>>> On Tue, Dec 3, 2013 at 11:21 AM, Adrian <[email protected]> >> wrote: >>>>> >>>>>> >>>>>> Hi, since I dont receive any solutions in the users forum , I want >> to = >>>>>> ask to the main devs here if someone know why I can=92t create an = >>>>>> extended portal with rave using 0.22 or 0.23-SNAPSHOT, I=92ll >> explain = >>>>>> what I do. >>>>>> >>>>>> First I went to a thread in the users forum that explains how to >>>> install = >>>>>> the custom portal without any problems, I follow all the steps >> there = >>>>>> mentioned: 1.- download the latests build from svn 2.- execute >> $mvn = >>>>>> clean install 3.- execute mvn archetype:generate (without >> arguments) >>>> to = >>>>>> access 0.23-SNAPSHOT, but then here I=92m only able to see until >> 0.22 = >>>>>> and not 0.23-SNAPSHOT, I know that it works because one of my >>>> teammates = >>>>>> did it without problems doing the same steps.=20 >>>>>> >>>>>> The other try I did is to use 0.22 but always I go to >> localhost:8080 >>>> or = >>>>>> localhost:8080/portal/ I obtain a 404 error. >>>>>> >>>>>> So could anybody help me ?? :D thx before all. >>>>>> >>>> >>>> >> >> >> >>
