[
https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464163#comment-16464163
]
Shane Thomas commented on AMBARI-23712:
---------------------------------------
No real trouble, I am sorry for all the questions :). I got a bit further on
the build with that snapshot fix. But now it is giving me a Mojo exception on
the rpm build. Here is the stack trace after the build failure and a bit of
what what was built before. I didn't see any other errors earlier just a ton
of INFO lines
Since the output was kinda long (used -X too) I put the file on gist as a txt
(viewing the other way gist cuts it off).
[https://gist.githubusercontent.com/codejoy/b4f355a2af5093a590945eb1844c2361/raw/fe83dc99de66f0315ec452456714cf3040913f0a/gistfile1.txt]
> Install guide does not give advice for error on install rpm:rpm
> ---------------------------------------------------------------
>
> Key: AMBARI-23712
> URL: https://issues.apache.org/jira/browse/AMBARI-23712
> Project: Ambari
> Issue Type: Documentation
> Components: documentation
> Affects Versions: 2.6.1
> Environment: CentOS Linux 7 (Core)
>
> Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017
> x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Shane Thomas
> Priority: Blocker
>
>
> Was running through this install guide:
>
> [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1]
>
> The part at for CentOS:
> mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests
> -Dpython.ver="python >= 2.6"
>
> Fails with:
> {code:java}
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5.420 s
> [INFO] Finished at: 2018-04-26T21:47:30Z
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check
> (default) on project ambari: Too many files with unapproved license: 2 See
> RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt ->
> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari:
> Too many files with unapproved license: 2 See RAT report in:
> /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:213)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:154)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:146)
> 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:290)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
> 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:564)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
> Caused by: org.apache.rat.mp.RatCheckException: Too many files with
> unapproved license: 2 See RAT report in:
> /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt
> at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194)
> at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> (DefaultBuildPluginManager.java:137)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:208)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:154)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:146)
> 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:290)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
> 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:564)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)