You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by Adrian <da...@hotmail.com> on 2013/12/03 19:21:42 UTC
Problem with extended portal
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.
RE: Problem with extended portal
Posted by Adrian de vil <da...@hotmail.com>.
Investigating a little more in depth I discover that it is failing here:
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.045 sec <<< FAILURE!
getConverter_Valid(org.apache.rave.portal.model.conversion.impl.MongDbConverterTest) Time elapsed: 0.014 sec <<< ERROR!
java.lang.IllegalStateException: 0 matchers expected, 1 recorded.
This exception usually occurs when matchers are mixed with raw values when recording a method:
foo(5, eq(6)); // wrong
You need to use no matcher at all or a matcher for every single param:
foo(eq(5), eq(6)); // right
foo(5, 6); // also right
at org.easymock.internal.ExpectedInvocation.createMissingMatchers(ExpectedInvocation.java:47)
at org.easymock.internal.ExpectedInvocation.<init>(ExpectedInvocation.java:40)
at org.easymock.internal.RecordState.invoke(RecordState.java:78)
at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:40)
at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:94)
at com.sun.proxy.$Proxy12.getSourceType(Unknown Source)
at org.apache.rave.portal.model.conversion.impl.MongDbConverterTest.setup(MongDbConverterTest.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
I dont know if that can be helpfull but I did it all in a good way
> From: darkspinter@hotmail.com
> To: dev@rave.apache.org
> Subject: RE: Problem with extended portal
> Date: Tue, 3 Dec 2013 21:05:42 +0100
>
> 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: chris@cxtsoftware.com
> > To: dev@rave.apache.org
> >
> > 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 <da...@hotmail.com>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: chris@cxtsoftware.com
> > > > To: dev@rave.apache.org
> > > >
> > > > 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 <da...@hotmail.com> 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.
> > > > >
> > >
> > >
>
>
>
Re: Problem with extended portal
Posted by Adrian <da...@hotmail.com>.
As I downloaded it from oracle website it is supposed to be that.
El 04/12/2013, a las 15:33, Matt Franklin <m....@gmail.com> escribió:
> That and is it Oracle or OpenJDK or other?
>
>
> On Wed, Dec 4, 2013 at 9:30 AM, Adrian <da...@hotmail.com> wrote:
>
>> The last one I mean 1.7.0_45 Is that what you’re asking for?
>>
>> El 04/12/2013, a las 15:00, Matt Franklin <m....@gmail.com>
>> escribió:
>>
>>> What JVM are you running?
>>>
>>>
>>> On Tue, Dec 3, 2013 at 4:30 PM, Adrian <da...@hotmail.com> wrote:
>>>
>>>> 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 <ch...@cxtsoftware.com>
>> 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 <darkspinter@hotmail.com
>>>>> 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: chris@cxtsoftware.com
>>>>>>> To: dev@rave.apache.org
>>>>>>>
>>>>>>> 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 <
>>>> darkspinter@hotmail.com
>>>>>>> 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: chris@cxtsoftware.com
>>>>>>>>> To: dev@rave.apache.org
>>>>>>>>>
>>>>>>>>> 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 <da...@hotmail.com>
>>>>>> 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.
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
Re: Problem with extended portal
Posted by Matt Franklin <m....@gmail.com>.
That and is it Oracle or OpenJDK or other?
On Wed, Dec 4, 2013 at 9:30 AM, Adrian <da...@hotmail.com> wrote:
> The last one I mean 1.7.0_45 Is that what you’re asking for?
>
> El 04/12/2013, a las 15:00, Matt Franklin <m....@gmail.com>
> escribió:
>
> > What JVM are you running?
> >
> >
> > On Tue, Dec 3, 2013 at 4:30 PM, Adrian <da...@hotmail.com> wrote:
> >
> >> 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 <ch...@cxtsoftware.com>
> 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 <darkspinter@hotmail.com
> >>> 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: chris@cxtsoftware.com
> >>>>> To: dev@rave.apache.org
> >>>>>
> >>>>> 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 <
> >> darkspinter@hotmail.com
> >>>>> 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: chris@cxtsoftware.com
> >>>>>>> To: dev@rave.apache.org
> >>>>>>>
> >>>>>>> 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 <da...@hotmail.com>
> >>>> 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.
> >>>>>>>>
> >>>>>>
> >>>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>
> >>
>
>
Re: Problem with extended portal
Posted by Adrian <da...@hotmail.com>.
The last one I mean 1.7.0_45 Is that what you’re asking for?
El 04/12/2013, a las 15:00, Matt Franklin <m....@gmail.com> escribió:
> What JVM are you running?
>
>
> On Tue, Dec 3, 2013 at 4:30 PM, Adrian <da...@hotmail.com> wrote:
>
>> 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 <ch...@cxtsoftware.com> 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 <darkspinter@hotmail.com
>>> 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: chris@cxtsoftware.com
>>>>> To: dev@rave.apache.org
>>>>>
>>>>> 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 <
>> darkspinter@hotmail.com
>>>>> 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: chris@cxtsoftware.com
>>>>>>> To: dev@rave.apache.org
>>>>>>>
>>>>>>> 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 <da...@hotmail.com>
>>>> 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.
>>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
Re: Problem with extended portal
Posted by Matt Franklin <m....@gmail.com>.
What JVM are you running?
On Tue, Dec 3, 2013 at 4:30 PM, Adrian <da...@hotmail.com> wrote:
> 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 <ch...@cxtsoftware.com> 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 <darkspinter@hotmail.com
> >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: chris@cxtsoftware.com
> >>> To: dev@rave.apache.org
> >>>
> >>> 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 <
> darkspinter@hotmail.com
> >>> 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: chris@cxtsoftware.com
> >>>>> To: dev@rave.apache.org
> >>>>>
> >>>>> 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 <da...@hotmail.com>
> >> 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.
> >>>>>>
> >>>>
> >>>>
> >>
> >>
> >>
> >>
>
>
Re: Problem with extended portal
Posted by Chris Geer <ch...@cxtsoftware.com>.
No problem. Best of luck to you.
Chris
On Tue, Dec 3, 2013 at 2:30 PM, Adrian <da...@hotmail.com> wrote:
> 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 <ch...@cxtsoftware.com> 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 <darkspinter@hotmail.com
> >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: chris@cxtsoftware.com
> >>> To: dev@rave.apache.org
> >>>
> >>> 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 <
> darkspinter@hotmail.com
> >>> 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: chris@cxtsoftware.com
> >>>>> To: dev@rave.apache.org
> >>>>>
> >>>>> 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 <da...@hotmail.com>
> >> 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.
> >>>>>>
> >>>>
> >>>>
> >>
> >>
> >>
> >>
>
>
Re: Problem with extended portal
Posted by Adrian <da...@hotmail.com>.
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 <ch...@cxtsoftware.com> 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 <da...@hotmail.com>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: chris@cxtsoftware.com
>>> To: dev@rave.apache.org
>>>
>>> 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 <darkspinter@hotmail.com
>>> 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: chris@cxtsoftware.com
>>>>> To: dev@rave.apache.org
>>>>>
>>>>> 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 <da...@hotmail.com>
>> 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.
>>>>>>
>>>>
>>>>
>>
>>
>>
>>
Re: Problem with extended portal
Posted by Chris Geer <ch...@cxtsoftware.com>.
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 <da...@hotmail.com>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: chris@cxtsoftware.com
> > To: dev@rave.apache.org
> >
> > 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 <darkspinter@hotmail.com
> >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: chris@cxtsoftware.com
> > > > To: dev@rave.apache.org
> > > >
> > > > 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 <da...@hotmail.com>
> 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.
> > > > >
> > >
> > >
>
>
>
>
RE: Problem with extended portal
Posted by Adrian de vil <da...@hotmail.com>.
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: chris@cxtsoftware.com
> To: dev@rave.apache.org
>
> 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 <da...@hotmail.com>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: chris@cxtsoftware.com
> > > To: dev@rave.apache.org
> > >
> > > 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 <da...@hotmail.com> 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.
> > > >
> >
> >
Re: Problem with extended portal
Posted by Chris Geer <ch...@cxtsoftware.com>.
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 <da...@hotmail.com>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: chris@cxtsoftware.com
> > To: dev@rave.apache.org
> >
> > 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 <da...@hotmail.com> 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.
> > >
>
>
RE: Problem with extended portal
Posted by Adrian de vil <da...@hotmail.com>.
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: chris@cxtsoftware.com
> To: dev@rave.apache.org
>
> 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 <da...@hotmail.com> 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.
> >
Re: Problem with extended portal
Posted by Chris Geer <ch...@cxtsoftware.com>.
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 <da...@hotmail.com> 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.
>