You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by Dhruv Mahajan <dh...@gmail.com> on 2015/07/29 02:33:09 UTC
Exception while compiling REEF
Hi
I am getting following exception while compiling REEF.Net. I also did deep
cleaning and recompiled. It did not help. I tried running "mvn -TC1
-DskipTests install" also which was the source of error with -e setting.
There is some issue of too many files with unapproved license in some RAT
report. I am also pasting its result below.
"C:\Users\dhrumaha\Desktop\projects\incubator-reef\lang\cs\Org.Apache.REEF.sln"
(default target) (1) ->
"C:\Users\dhrumaha\Desktop\projects\incubator-reef\lang\cs\Org.Apache.REEF.Client\Org.Apache.REEF.Client.csproj"
(defau
lt target) (15) ->
"C:\Users\dhrumaha\Desktop\projects\incubator-reef\lang\cs\Org.Apache.REEF.Bridge\Org.Apache.REEF.Bridge.vcxproj"
(defa
ult target) (16) ->
"C:\Users\dhrumaha\Desktop\projects\incubator-reef\lang\cs\Org.Apache.REEF.Bridge.JAR\Org.Apache.REEF.Bridge.JAR.csproj
" (default target) (17) ->
(Build target) ->
C:\Users\dhrumaha\Desktop\projects\incubator-reef\lang\cs\Org.Apache.REEF.Bridge.JAR\Org.Apache.REEF.Bridge.JAR.cspro
j(68,5): error MSB3073: The command
"C:\Users\dhrumaha\Desktop\externalpackages\apache-maven-3.2.5-bin\apache-maven-3.2
.5\bin\mvn -TC1 -DskipTests install" exited with code 1.
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check
(validate) on project reef-dotnet: Too many f
iles with unapproved license: 8 See RAT report in:
C:\Users\dhrumaha\Desktop\projects\incubator-reef\lang\cs\target\rat.
txt -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.rat:apache-rat-plugin:0.11:che
ck (validate) on project reef-dotnet: Too many files with unapproved
license: 8 See RAT report in: C:\Users\dhrumaha\Des
ktop\projects\incubator-reef\lang\cs\target\rat.txt
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.ja
va:188)
at
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.ja
va:184)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.rat.mp.RatCheckException: Too many files with
unapproved license: 8 See RAT report in: C:\Users\dh
rumaha\Desktop\projects\incubator-reef\lang\cs\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:132)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 11 more
[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 :reef-dotnet
[ERROR] ResourceManager : unable to find resource
'org/apache/maven/doxia/siterenderer/resources/default-site.vm' in any
resource loader.
Re: Exception while compiling REEF
Posted by Dhruv Mahajan <dh...@gmail.com>.
Yes..issue was too many files with no license headers
On Jul 29, 2015 15:27, "Markus Weimer" <ma...@weimo.de> wrote:
> Dhruv, did the below help?
>
> Markus
>
> On 2015-07-28 17:48, Markus Weimer wrote:
> > On 2015-07-28 17:33, Dhruv Mahajan wrote:
> >> I am getting following exception while compiling REEF.Net. I also
> >> did deep cleaning and recompiled. It did not help. I tried running
> >> "mvn -TC1 -DskipTests install" also which was the source of error
> >> with -e setting.
> >
> > Run `mvn -DskipTests clean validate`. You should get a similar error as
> > you do now, but then we know what the issue is.
> >
> >
> >> There is some issue of too many files with unapproved license in some
> >> RAT report. I am also pasting its result below.
> >
> > Did you add files to your local checkout of REEF? If so, they can
> > trigger the RAT error. RAT checks that there are no binaries in the
> > source tree and that all text files have an approved license header.
> > Your easiest option would be to add a license header where it is missing.
> >
> > Markus
> >
>
Re: Exception while compiling REEF
Posted by Markus Weimer <ma...@weimo.de>.
Dhruv, did the below help?
Markus
On 2015-07-28 17:48, Markus Weimer wrote:
> On 2015-07-28 17:33, Dhruv Mahajan wrote:
>> I am getting following exception while compiling REEF.Net. I also
>> did deep cleaning and recompiled. It did not help. I tried running
>> "mvn -TC1 -DskipTests install" also which was the source of error
>> with -e setting.
>
> Run `mvn -DskipTests clean validate`. You should get a similar error as
> you do now, but then we know what the issue is.
>
>
>> There is some issue of too many files with unapproved license in some
>> RAT report. I am also pasting its result below.
>
> Did you add files to your local checkout of REEF? If so, they can
> trigger the RAT error. RAT checks that there are no binaries in the
> source tree and that all text files have an approved license header.
> Your easiest option would be to add a license header where it is missing.
>
> Markus
>
Re: Exception while compiling REEF
Posted by Markus Weimer <ma...@weimo.de>.
On 2015-07-28 17:33, Dhruv Mahajan wrote:
> I am getting following exception while compiling REEF.Net. I also
> did deep cleaning and recompiled. It did not help. I tried running
> "mvn -TC1 -DskipTests install" also which was the source of error
> with -e setting.
Run `mvn -DskipTests clean validate`. You should get a similar error as
you do now, but then we know what the issue is.
> There is some issue of too many files with unapproved license in some
> RAT report. I am also pasting its result below.
Did you add files to your local checkout of REEF? If so, they can
trigger the RAT error. RAT checks that there are no binaries in the
source tree and that all text files have an approved license header.
Your easiest option would be to add a license header where it is missing.
Markus