I've decided a goal for the New Year is to use maven more and make use of the 
work that has been done. I've followed the instructions on the Apache FlexJS 
wiki, but have run into an error.

In flex-falcon, I do: mvn -s settings-template.xml -DskipTests clean install

and get the following error (does not matter if I use -DskipTests or not). I'm 
not sure what I'm supposed to do. Using "ant all" it builds just fine.


[INFO] --- apache-rat-plugin:0.12:check (license-check) @ debugger ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: LICENSE*
[INFO] Exclude: NOTICE*
[INFO] Exclude: README*
[INFO] Exclude: RELEASE_NOTES*
[INFO] Exclude: compiler-build-tools/**
[INFO] Exclude: compiler-jburg-types/**
[INFO] Exclude: flexjs-maven-extension/**
[INFO] Exclude: externs/**
[INFO] Exclude: lib/**
[INFO] 603 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 1, unknown: 1, generated: 
0, approved: 326 licenses.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Flex - FlexJS: Compiler: Parent ............. SUCCESS [  2.334 s]
[INFO] Apache Flex - FlexJS: Compiler: Test Utils ......... SUCCESS [  1.601 s]
[INFO] Apache Flex - FlexJS: Compiler: Compiler ........... SUCCESS [ 32.672 s]
[INFO] Apache Flex - FlexJS: Compiler: Compiler-JX ........ SUCCESS [  8.302 s]
[INFO] Apache Flex - FlexJS: Compiler: Debugger ........... FAILURE [  6.301 s]
[INFO] Apache Flex - FlexJS: Compiler: OEM Layer .......... SKIPPED
[INFO] Apache Flex - FlexJS: FlexJS Ant Tasks ............. SKIPPED
[INFO] Apache Flex - FlexJS: FlexJS Maven Plugin .......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 51.445 s
[INFO] Finished at: 2016-12-21T11:02:56-05:00
[INFO] Final Memory: 101M/1153M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check 
(license-check) on project debugger: Too many files with unapproved license: 1 
See RAT report in: /Users/pent/dev/flex-falcon/debugger/target/rat.txt -> [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 :debugger

Reply via email to