You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@rave.apache.org by Matt Franklin <m....@gmail.com> on 2015/09/01 01:57:45 UTC

Re: Installing Apache Rave

On Mon, Aug 31, 2015 at 10:11 AM Renan Costa Alencar <
renanalencar@renanalencar.eng.br> wrote:

> Hi there!
>
> I’ve been facing this problem while I tried to build an Apache Rave
> project using the source code to build a distribution package.
>
> I followed the instructions from
> https://rave.apache.org/documentation/installing.html: <
> https://rave.apache.org/documentation/installing.html:>
>
> Build a distribution package
> To build your own distribution with default settings follow these steps:
>
> Get the source <https://rave.apache.org/source.html>
> Build your distribution package with
>
> $ mvn -Pdist
>
> But then, I got stuck with this problem:
>
> Tests run: 238, Failures: 3, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Rave :: rave-project ........................ SUCCESS [
> 2.079 s]
> [INFO] Apache Rave :: rave-components ..................... SUCCESS [
> 0.043 s]
> [INFO] Apache Rave :: rave-commons ........................ SUCCESS [
> 7.738 s]
> [INFO] Apache Rave :: rave-core-api ....................... SUCCESS [
> 3.299 s]
> [INFO] Apache Rave :: rave-core ........................... SUCCESS [
> 10.478 s]
> [INFO] Apache Rave :: rave-jpa ............................ SUCCESS [
> 31.949 s]
> [INFO] Apache Rave :: rave-mongodb ........................ SUCCESS [
> 7.309 s]
> [INFO] Apache Rave :: rave-web ............................ FAILURE [
> 11.914 s]
> [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-webservice-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: 01:16 min
> [INFO] Finished at: 2015-08-31T10:30:26-03:00
> [INFO] Final Memory: 140M/1030M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
> on project rave-web: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /Users/renanalencar/Documents/htdocs/rave/rave-components/rave-web/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-web
>
>
>
> When I try to ignore the tests, I get this:
>
> $ mvn -B -DskipTests=true -Pdist
>
>
> main:
>      [echo] $$$$$ Deleting the existing custom Rave project if it exists.
> $$$$$
>      [echo] $$$$$ Generating a custom Rave project from the archetype $$$$$
>      [java] Permissions can not be set this way in forked mode.
>      [java] -Dmaven.multiModuleProjectDirectory system propery is not set.
> Check $M2_HOME environment variable and mvn script match.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Rave :: rave-project ........................ SUCCESS [
> 2.106 s]
> [INFO] Apache Rave :: rave-components ..................... SUCCESS [
> 0.056 s]
> [INFO] Apache Rave :: rave-commons ........................ SUCCESS [
> 5.225 s]
> [INFO] Apache Rave :: rave-core-api ....................... SUCCESS [
> 3.148 s]
> [INFO] Apache Rave :: rave-core ........................... SUCCESS [
> 8.374 s]
> [INFO] Apache Rave :: rave-jpa ............................ SUCCESS [
> 12.665 s]
> [INFO] Apache Rave :: rave-mongodb ........................ SUCCESS [
> 7.728 s]
> [INFO] Apache Rave :: rave-web ............................ SUCCESS [
> 9.285 s]
> [INFO] Apache Rave :: rave-providers ...................... SUCCESS [
> 0.083 s]
> [INFO] Apache Rave :: rave-opensocial-provider ............ SUCCESS [
> 0.095 s]
> [INFO] Apache Rave :: rave-opensocial-client .............. SUCCESS [
> 5.494 s]
> [INFO] Apache Rave :: rave-opensocial-core ................ SUCCESS [
> 7.688 s]
> [INFO] Apache Rave :: rave-opensocial-server .............. SUCCESS [
> 0.149 s]
> [INFO] Apache Rave :: rave-shindig-dependencies ........... SUCCESS [
> 4.845 s]
> [INFO] Apache Rave :: rave-shindig-resources .............. SUCCESS [
> 2.553 s]
> [INFO] Apache Rave :: rave-shindig ........................ SUCCESS [
> 12.788 s]
> [INFO] Apache Rave :: rave-w3c-provider ................... SUCCESS [
> 3.724 s]
> [INFO] Apache Rave :: rave-portal-resources ............... SUCCESS [
> 22.868 s]
> [INFO] Apache Rave :: rave-portal-dependencies ............ SUCCESS [
> 2.005 s]
> [INFO] Apache Rave :: Demo Gadgets ........................ SUCCESS [
> 0.216 s]
> [INFO] Apache Rave :: rave-portal ......................... SUCCESS [
> 54.683 s]
> [INFO] Apache Rave :: rave-integration-tests .............. SUCCESS [
> 1.415 s]
> [INFO] Apache Rave :: rave-webservice-tests ............... SUCCESS [
> 2.780 s]
> [INFO] Apache Rave :: rave-core-tests ..................... SUCCESS [
> 0.782 s]
> [INFO] Apache Rave :: rave-newuser-tests .................. SUCCESS [
> 0.723 s]
> [INFO] Apache Rave :: rave-admin-tests .................... SUCCESS [
> 0.652 s]
> [INFO] Apache Rave :: rave-default-account-tests .......... SUCCESS [
> 0.815 s]
> [INFO] Apache Rave :: rave-custom-project-archetype ....... FAILURE [
> 3.356 s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 02:57 min
> [INFO] Finished at: 2015-08-31T10:37:15-03:00
> [INFO] Final Memory: 267M/1662M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-antrun-plugin:1.7:run
> (generate-and-install-custom-rave-project) on project
> rave-custom-project-archetype: An Ant BuildException has occured: Java
> returned: 1
> [ERROR] around Ant part ...<java fork="true"
> classname="org.codehaus.classworlds.Launcher" failonerror="true"
> dir="/Users/renanalencar/Documents/htdocs/rave/rave-custom-project-archetype/target">...
> @ 7:171 in
> /Users/renanalencar/Documents/htdocs/rave/rave-custom-project-archetype/target/antrun/build-main.xml
> [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/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :rave-custom-project-archetype
>
>
> Is there anyone who can help me to overcome these problems?
>

Is this from master?  What version of Java are you building with?   What OS?


>
> Regards,
>
>
>
>

Re: Installing Apache Rave

Posted by Renan Costa Alencar <re...@renanalencar.eng.br>.
Matt,

I cloned the project from master. I'm using Java JDK 1.8 (8) and working on
MacBook Pro, Mac OS X 10.10 Yosemite.

I hope to hear from you soon guys. Thanks for helping me.

On Tue, Sep 1, 2015 at 9:16 AM, Matt Franklin <m....@gmail.com>
wrote:

> Make sure you subscribe to the list to get responses.
>
> ---------- Forwarded message ---------
> From: Matt Franklin <m....@gmail.com>
> Date: Mon, Aug 31, 2015 at 7:57 PM
> Subject: Re: Installing Apache Rave
> To: <us...@rave.apache.org>
> Cc: Thomas Rabelo <th...@hotmail.com>, <
> marcus.vinicius@otimizeit.com.br>
>
>
> On Mon, Aug 31, 2015 at 10:11 AM Renan Costa Alencar <
> renanalencar@renanalencar.eng.br> wrote:
>
>> Hi there!
>>
>> I’ve been facing this problem while I tried to build an Apache Rave
>> project using the source code to build a distribution package.
>>
>> I followed the instructions from
>> https://rave.apache.org/documentation/installing.html: <
>> https://rave.apache.org/documentation/installing.html:>
>>
>> Build a distribution package
>> To build your own distribution with default settings follow these steps:
>>
>> Get the source <https://rave.apache.org/source.html>
>>
>> Build your distribution package with
>>
>> $ mvn -Pdist
>>
>> But then, I got stuck with this problem:
>>
>> Tests run: 238, Failures: 3, Errors: 0, Skipped: 0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Rave :: rave-project ........................ SUCCESS [
>> 2.079 s]
>> [INFO] Apache Rave :: rave-components ..................... SUCCESS [
>> 0.043 s]
>> [INFO] Apache Rave :: rave-commons ........................ SUCCESS [
>> 7.738 s]
>> [INFO] Apache Rave :: rave-core-api ....................... SUCCESS [
>> 3.299 s]
>> [INFO] Apache Rave :: rave-core ........................... SUCCESS [
>> 10.478 s]
>> [INFO] Apache Rave :: rave-jpa ............................ SUCCESS [
>> 31.949 s]
>> [INFO] Apache Rave :: rave-mongodb ........................ SUCCESS [
>> 7.309 s]
>> [INFO] Apache Rave :: rave-web ............................ FAILURE [
>> 11.914 s]
>> [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-webservice-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: 01:16 min
>> [INFO] Finished at: 2015-08-31T10:30:26-03:00
>> [INFO] Final Memory: 140M/1030M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
>> on project rave-web: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to
>> /Users/renanalencar/Documents/htdocs/rave/rave-components/rave-web/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-web
>>
>>
>>
>> When I try to ignore the tests, I get this:
>>
>> $ mvn -B -DskipTests=true -Pdist
>>
>>
>> main:
>>      [echo] $$$$$ Deleting the existing custom Rave project if it exists.
>> $$$$$
>>      [echo] $$$$$ Generating a custom Rave project from the archetype
>> $$$$$
>>      [java] Permissions can not be set this way in forked mode.
>>      [java] -Dmaven.multiModuleProjectDirectory system propery is not
>> set. Check $M2_HOME environment variable and mvn script match.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Rave :: rave-project ........................ SUCCESS [
>> 2.106 s]
>> [INFO] Apache Rave :: rave-components ..................... SUCCESS [
>> 0.056 s]
>> [INFO] Apache Rave :: rave-commons ........................ SUCCESS [
>> 5.225 s]
>> [INFO] Apache Rave :: rave-core-api ....................... SUCCESS [
>> 3.148 s]
>> [INFO] Apache Rave :: rave-core ........................... SUCCESS [
>> 8.374 s]
>> [INFO] Apache Rave :: rave-jpa ............................ SUCCESS [
>> 12.665 s]
>> [INFO] Apache Rave :: rave-mongodb ........................ SUCCESS [
>> 7.728 s]
>> [INFO] Apache Rave :: rave-web ............................ SUCCESS [
>> 9.285 s]
>> [INFO] Apache Rave :: rave-providers ...................... SUCCESS [
>> 0.083 s]
>> [INFO] Apache Rave :: rave-opensocial-provider ............ SUCCESS [
>> 0.095 s]
>> [INFO] Apache Rave :: rave-opensocial-client .............. SUCCESS [
>> 5.494 s]
>> [INFO] Apache Rave :: rave-opensocial-core ................ SUCCESS [
>> 7.688 s]
>> [INFO] Apache Rave :: rave-opensocial-server .............. SUCCESS [
>> 0.149 s]
>> [INFO] Apache Rave :: rave-shindig-dependencies ........... SUCCESS [
>> 4.845 s]
>> [INFO] Apache Rave :: rave-shindig-resources .............. SUCCESS [
>> 2.553 s]
>> [INFO] Apache Rave :: rave-shindig ........................ SUCCESS [
>> 12.788 s]
>> [INFO] Apache Rave :: rave-w3c-provider ................... SUCCESS [
>> 3.724 s]
>> [INFO] Apache Rave :: rave-portal-resources ............... SUCCESS [
>> 22.868 s]
>> [INFO] Apache Rave :: rave-portal-dependencies ............ SUCCESS [
>> 2.005 s]
>> [INFO] Apache Rave :: Demo Gadgets ........................ SUCCESS [
>> 0.216 s]
>> [INFO] Apache Rave :: rave-portal ......................... SUCCESS [
>> 54.683 s]
>> [INFO] Apache Rave :: rave-integration-tests .............. SUCCESS [
>> 1.415 s]
>> [INFO] Apache Rave :: rave-webservice-tests ............... SUCCESS [
>> 2.780 s]
>> [INFO] Apache Rave :: rave-core-tests ..................... SUCCESS [
>> 0.782 s]
>> [INFO] Apache Rave :: rave-newuser-tests .................. SUCCESS [
>> 0.723 s]
>> [INFO] Apache Rave :: rave-admin-tests .................... SUCCESS [
>> 0.652 s]
>> [INFO] Apache Rave :: rave-default-account-tests .......... SUCCESS [
>> 0.815 s]
>> [INFO] Apache Rave :: rave-custom-project-archetype ....... FAILURE [
>> 3.356 s]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 02:57 min
>> [INFO] Finished at: 2015-08-31T10:37:15-03:00
>> [INFO] Final Memory: 267M/1662M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-antrun-plugin:1.7:run
>> (generate-and-install-custom-rave-project) on project
>> rave-custom-project-archetype: An Ant BuildException has occured: Java
>> returned: 1
>> [ERROR] around Ant part ...<java fork="true"
>> classname="org.codehaus.classworlds.Launcher" failonerror="true"
>> dir="/Users/renanalencar/Documents/htdocs/rave/rave-custom-project-archetype/target">...
>> @ 7:171 in
>> /Users/renanalencar/Documents/htdocs/rave/rave-custom-project-archetype/target/antrun/build-main.xml
>> [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/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :rave-custom-project-archetype
>>
>>
>> Is there anyone who can help me to overcome these problems?
>>
>
> Is this from master?  What version of Java are you building with?   What
> OS?
>
>
>>
>> Regards,
>>
>>
>>
>>


-- 
*Renan Costa Alencar*
+1 (707) 722-5041 (Google Voice) | +55 87 98105-8100 (BRZL) | +55 87
99991-7903 (BRZL)

*ADVERTÊNCIA SOBRE A CONFIDENCIALIDADE DESTA MENSAGEM:*
As informações nesta mensagem e seus anexos subsequentes podem conter
informação confidencial que é direcionado somente para apreciação e uso
do(s) endereço(s) nomeado(s).

Por favor, considere o meio ambiente antes de imprimir esta mensagem.