Hi Rohit, thank yo for your response. I was reding this manual you
told me, I was following the one in
https://buildmedia.readthedocs.org/media/pdf/cloudstack-installation/latest/cloudstack-installation.pdf

but the one you told seems better in my case.
I have a few questions, regarding to the flags, I saw in that commad:
mvn -Pdeveloper,systemvm clean install

So I suposse there are 2 flags, Developers and SystemVM. Where can I
learn about those flags and others? I want to test in a local server a
"all in one Baremetal server" with the management, Database and node
in the same server.
Regards

2020-09-14 13:34 GMT+02:00, Rohit Yadav <rohit.ya...@shapeblue.com>:
> Hi Ala - as the error says you are using a maven profile that doesn't
> exist.
>
> Depending on whether you want to do a oss build or a non-oss build you may
> need to pass some flags. For example, refer:
> http://docs.cloudstack.apache.org/en/4.14.0.0/developersguide/developer_guide.html#installing-cloudstack-from-source
>
> Note: For 4.14.0.0 - just ensure to install openjdk11-jdk for building.
>
>
> Regards.
>
> ________________________________
> From: Ala de Drag?n <aladedra...@gmail.com>
> Sent: Monday, September 14, 2020 15:36
> To: users@cloudstack.apache.org <users@cloudstack.apache.org>
> Subject: BUILD FAILURE
>
> Hello, I just arrived to the comunity. I was building from sources
> Apache CloudStack 4.14.0.0 as per manual. The builsd fail with a
> root-ca plugin fail. I rerun the building with -e:
>
> mvn -e -P deps
>
>  I don't code as this text is difficult to understant to me. Any help
> will be wellcome. thank you in advance:
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  05:50 min
> [INFO] Finished at: 2020-09-14T11:56:28+02:00
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The requested profile "deps" could not be activated because
> it does not exist.
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
> (default-test) on project cloud-plugin-ca-rootca: There are test
> failures.
> [ERROR]
> [ERROR] Please refer to
> /root/cloudstack/apache-cloudstack-4.14.0.0-src/plugins/ca/root-ca/target/surefire-reports
> for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump,
> [date]-jvmRun[N].dump and [date].dumpstream.
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
> (default-test) on project cloud-plugin-ca-rootca: There are test
> failures.
>
> Please refer to
> /root/cloudstack/apache-cloudstack-4.14.0.0-src/plugins/ca/root-ca/target/surefire-reports
> for the individual test results.
> Please refer to dump files (if any exist) [date].dump,
> [date]-jvmRun[N].dump and [date].dumpstream.
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:215)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:148)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
>     at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
>     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
> Method)
>     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:62)
>     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:566)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:282)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:225)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:406)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> (Launcher.java:347)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are
> test failures.
>
> Please refer to
> /root/cloudstack/apache-cloudstack-4.14.0.0-src/plugins/ca/root-ca/target/surefire-reports
> for the individual test results.
> Please refer to dump files (if any exist) [date].dump,
> [date]-jvmRun[N].dump and [date].dumpstream.
>     at org.apache.maven.plugin.surefire.SurefireHelper.throwException
> (SurefireHelper.java:289)
>     at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution
> (SurefireHelper.java:161)
>     at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary
> (SurefirePlugin.java:364)
>     at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked
> (AbstractSurefireMojo.java:1041)
>     at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute
> (AbstractSurefireMojo.java:857)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:210)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:148)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
>     at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
>     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
> Method)
>     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:62)
>     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:566)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:282)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:225)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:406)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> (Launcher.java:347)
> [ERROR]
> [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 :cloud-plugin-ca-rootca
>
>
> --
> "El cielo es para los dragones
>  lo que el agua es  para las ninfas"
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
>


-- 
"El cielo es para los dragones
 lo que el agua es  para las ninfas"

Reply via email to