You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Darion Yaphet <da...@gmail.com> on 2014/04/26 13:35:45 UTC
Maven Building Exception
Hi All
I download incubating-drill.zip from
http://mirrors.cnnic.cn/apache/incubator/drill/drill-1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
and use maven to hava a built version
mvn clean
mvn install -DskipTests
But mvn building is failed with following exception:
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.10:check
(rat-checks) on project drill-root: Too many files with unapproved license:
1 See RAT report in:
/home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on project
drill-root: Too many files with unapproved license: 1 See RAT report in:
/home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/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:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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: 1 See RAT report in:
/home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
[ERROR]
[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
It's something wrong in pom.xml ?
or mvn building command is bad
--
long is the way and hard that out of Hell leads up to light
Re: Maven Building Exception
Posted by Yash Sharma <ya...@gmail.com>.
Awesome.. Good luck Drilling !!
On Tue, Apr 29, 2014 at 11:56 AM, Darion Yaphet <da...@gmail.com>wrote:
> Yes
> checkout source code from github and try to build it on Mac
> it's working fine
>
> maybe something failed on my machine
>
> thanks a lot
>
>
> 2014-04-29 13:23 GMT+08:00 Yash Sharma <ya...@gmail.com>:
>
> > Why don't you try cloning from github and take a build.
> > I have just took a fresh clone and it works perfect for me.
> >
> > $ git clone https://github.com/apache/incubator-drill.git
> > $ cd incubator-drill
> > $ mvn clean install -DskipTests
> >
> > As Tim mentioned there seems to be some setup issue on your box. Let us
> > know if you stumble upon any build errors.
> >
> > Peace.
> >
> >
> > On Tue, Apr 29, 2014 at 10:31 AM, darion <da...@gmail.com>
> wrote:
> >
> > > Yes it's a early access version ..
> > >
> > > 于 14-4-29 下午12:58, Timothy Chen 写道:
> > >
> > > Hi Darion,
> > >>
> > >> We intentionally didn't want to advertise it as I believe it was
> > >> missing some artifacts and features we wanted to have (or something
> > >> like that, been a while :)).
> > >>
> > >> We've done lots of features since then I would really suggest getting
> > >> latest trunk if you want to see what Drill has.
> > >>
> > >> Tim
> > >>
> > >> On Mon, Apr 28, 2014 at 9:32 PM, Darion Yaphet <
> darion.yaphet@gmail.com
> > >
> > >> wrote:
> > >>
> > >>> Hi Tim
> > >>>
> > >>> I found a binary-release version for it
> > >>> (https://cwiki.apache.org/confluence/display/DRILL/
> > >>> Installing+the+binaries)
> > >>>
> > >>> curl http://
> > >>> people.apache.org/~jacques/apache-drill-1.0.0-m1.rc3/
> > >>> apache-drill-1.0.0-m1-binary-release.tar.gz>
> > >>> apache-drill-1.0.0-m1-binary-release.tar.gz
> > >>>
> > >>> and could put it on the homepage's download link ?
> > >>>
> > >>> It's more convenient ..
> > >>>
> > >>>
> > >>> 2014-04-29 5:38 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> > >>>
> > >>> That is quite odd, the only time I got compliation failure from
> drill
> > >>>> protocol is with that problem.
> > >>>>
> > >>>> Do you have different javas that perhaps maven is picking up from
> > >>>> mavenrc and protoc is using one in your PATH or JAVA_HOME?
> > >>>>
> > >>>> Also I believe you're the only one that is reporting this so most
> > >>>> likely is a setup problem on your box, do you have another box that
> > >>>> you can try this on?
> > >>>>
> > >>>> Tim
> > >>>>
> > >>>> On Sun, Apr 27, 2014 at 8:01 AM, Darion Yaphet <
> > darion.yaphet@gmail.com
> > >>>> >
> > >>>> wrote:
> > >>>>
> > >>>>> Yes
> > >>>>> Protobuf is installed
> > >>>>>
> > >>>>> darion.yaphet/source/incubator-drill> protoc --version
> > >>>>>
> > >>>>> libprotoc 2.5.0
> > >>>>>
> > >>>>> Maven have used JDK7
> > >>>>> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a;
> > >>>>> 2013-09-17
> > >>>>> 23:22:22+0800)
> > >>>>> Maven home: /usr/apache-maven-3.1.1
> > >>>>> Java version: 1.7.0_45, vendor: Oracle Corporation
> > >>>>> Java home: /usr/java/jdk1.7.0_45/jre
> > >>>>> Default locale: zh_CN, platform encoding: UTF-8
> > >>>>> OS name: "linux", version: "3.11.10-100.fc18.i686", arch: "i386",
> > >>>>> family:
> > >>>>> "unix"
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> 2014-04-27 22:40 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> > >>>>>
> > >>>>> Do you have protobuf 2.5.0 installed and in your path? (Protoc)
> > >>>>>>
> > >>>>>> Another thing is that you want to make sure maven is also using
> java
> > >>>>>>
> > >>>>> 1.7,
> > >>>>
> > >>>>> and if you run mvn version it shows you, as it is often still set
> to
> > >>>>>>
> > >>>>> 1.6.
> > >>>>
> > >>>>> This link shows you how to fix this:
> > >>>>>>
> > >>>>>>
> > >>>>>> http://stackoverflow.com/questions/18813828/why-maven-
> > >>>> use-jdk-1-6-but-my-java-version-is-1-7
> > >>>>
> > >>>>> Tim
> > >>>>>>
> > >>>>>> Sent from my iPhone
> > >>>>>>
> > >>>>>> On Apr 27, 2014, at 7:02 AM, Darion Yaphet <
> > darion.yaphet@gmail.com>
> > >>>>>>>
> > >>>>>> wrote:
> > >>>>>>
> > >>>>>>> My OS is Fedora 18 and JVM java version "1.7.0_45"
> > >>>>>>>
> > >>>>>>> thanks a lot for help
> > >>>>>>>
> > >>>>>>>
> > >>>>>>> 2014-04-27 22:00 GMT+08:00 Darion Yaphet <
> darion.yaphet@gmail.com
> > >:
> > >>>>>>>
> > >>>>>>> It's sound a good idea and maybe I should reading help-doc
> > >>>>>>>>
> > >>>>>>>> https://cwiki.apache.org/confluence/display/DRILL/
> > >>>> Compiling+Drill+from+sourceand checkout source code from git
> > >>>>
> > >>>>> clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
> > >>>>>>>>
> > >>>>>>>> mvn command as following :
> > >>>>>>>>
> > >>>>>>>> mvn clean this is ok with success
> > >>>>>>>>
> > >>>>>>>> mvn install -DskipTests -X It's failed with helping message
> ...
> > >>>>>>>>
> > >>>>>>>> [ERROR] Failed to execute goal
> > >>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> > >>>>>>>> (default-compile) on project drill-protocol: Compilation failure
> > ->
> > >>>>>>>>
> > >>>>>>> [Help 1]
> > >>>>>>
> > >>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > >>>>>>>>
> > >>>>>>> execute
> > >>>>>>
> > >>>>>>> goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> > >>>>>>>> (default-compile) on project drill-protocol: Compilation failure
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>> 2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> > >>>>>>>>
> > >>>>>>>> Hi Darion,
> > >>>>>>>>
> > >>>>>>>>> The build failed because there is some file in the drill folder
> > >>>>>>>>> that
> > >>>>>>>>> doesn't have the apache license header.
> > >>>>>>>>>
> > >>>>>>>>> There might be a file that you added to that folder that is
> > causing
> > >>>>>>>>>
> > >>>>>>>> it,
> > >>>>
> > >>>>> if you look at the rat.txt file indicated in your output you would
> > >>>>>>>>>
> > >>>>>>>> know.
> > >>>>>>
> > >>>>>>> I also suggest if you want to try out drill to just grab it from
> > our
> > >>>>>>>>>
> > >>>>>>>> git
> > >>>>>>
> > >>>>>>> repo and use latest master.
> > >>>>>>>>>
> > >>>>>>>>> Tim
> > >>>>>>>>>
> > >>>>>>>>> Sent from my iPhone
> > >>>>>>>>>
> > >>>>>>>>> On Apr 26, 2014, at 4:35 AM, Darion Yaphet <
> > >>>>>>>>>>>
> > >>>>>>>>>> darion.yaphet@gmail.com>
> > >>>>
> > >>>>> wrote:
> > >>>>>>>>>>
> > >>>>>>>>>> Hi All
> > >>>>>>>>>>
> > >>>>>>>>>> I download incubating-drill.zip from
> > >>>>>>>>>>
> > >>>>>>>>> http://mirrors.cnnic.cn/apache/incubator/drill/drill-
> > >>>>
> > 1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
> > >>>>
> > >>>>> and use maven to hava a built version
> > >>>>>>>>>>
> > >>>>>>>>>> mvn clean
> > >>>>>>>>>> mvn install -DskipTests
> > >>>>>>>>>>
> > >>>>>>>>>> But mvn building is failed with following exception:
> > >>>>>>>>>>
> > >>>>>>>>>> [ERROR] Failed to execute goal
> > >>>>>>>>>>
> > >>>>>>>>> org.apache.rat:apache-rat-plugin:0.10:check
> > >>>>>>>>>
> > >>>>>>>>>> (rat-checks) on project drill-root: Too many files with
> > unapproved
> > >>>>>>>>>>
> > >>>>>>>>> license:
> > >>>>>>>>>
> > >>>>>>>>>> 1 See RAT report in:
> > >>>>>>>>>>
> > >>>>>>>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-
> > >>>> incubating/target/rat.txt
> > >>>>
> > >>>>> -> [Help 1]
> > >>>>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed
> > to
> > >>>>>>>>>>
> > >>>>>>>>> execute
> > >>>>>>>>>
> > >>>>>>>>>> goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks)
> on
> > >>>>>>>>>>
> > >>>>>>>>> project
> > >>>>>>
> > >>>>>>> drill-root: Too many files with unapproved license: 1 See RAT
> > >>>>>>>>>>
> > >>>>>>>>> report
> > >>>>
> > >>>>> in:
> > >>>>>>
> > >>>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-
> > >>>> incubating/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:84)
> > >>>>
> > >>>>> at
> > >>>>>>>>>>
> > >>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> > >>>> buildProject(LifecycleModuleBuilder.java:59)
> > >>>>
> > >>>>> at
> > >>>>>>>>>>
> > >>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.
> > >>>> singleThreadedBuild(LifecycleStarter.java:183)
> > >>>>
> > >>>>> at
> > >>>>>>>>>>
> > >>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.
> > >>>> execute(LifecycleStarter.java:161)
> > >>>>
> > >>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> > >>>>>>>>>> at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> > >>>>>>>>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> > >>>>>>>>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> > >>>>>>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> > >>>>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>>>>>>>>> at
> > >>>>>>>>>>
> > >>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(
> > >>>> NativeMethodAccessorImpl.java:57)
> > >>>>
> > >>>>> at
> > >>>>>>>>>>
> > >>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > >>>> DelegatingMethodAccessorImpl.java:43)
> > >>>>
> > >>>>> at java.lang.reflect.Method.invoke(Method.java:606)
> > >>>>>>>>>> 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: 1 See RAT report in:
> > >>>>>>>>>>
> > >>>>>>>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-
> > >>>> incubating/target/rat.txt
> > >>>>
> > >>>>> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
> > >>>>>>>>>> at
> org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
> > >>>>>>>>>> at
> > >>>>>>>>>>
> > >>>>>>>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> > >>>> DefaultBuildPluginManager.java:106)
> > >>>>
> > >>>>> at
> > >>>>>>>>>>
> > >>>>>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > >>>> MojoExecutor.java:208)
> > >>>>
> > >>>>> ... 19 more
> > >>>>>>>>>> [ERROR]
> > >>>>>>>>>> [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
> > >>>>
> > >>>>> It's something wrong in pom.xml ?
> > >>>>>>>>>> or mvn building command is bad
> > >>>>>>>>>>
> > >>>>>>>>>> --
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>> long is the way and hard that out of Hell leads up to light
> > >>>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>
> > >>>>>>>> --
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>> long is the way and hard that out of Hell leads up to light
> > >>>>>>>>
> > >>>>>>>
> > >>>>>>> --
> > >>>>>>>
> > >>>>>>>
> > >>>>>>> long is the way and hard that out of Hell leads up to light
> > >>>>>>>
> > >>>>>>
> > >>>>>
> > >>>>> --
> > >>>>>
> > >>>>>
> > >>>>> long is the way and hard that out of Hell leads up to light
> > >>>>>
> > >>>>
> > >>>
> > >>> --
> > >>>
> > >>>
> > >>> long is the way and hard that out of Hell leads up to light
> > >>>
> > >>
> > >
> >
>
>
>
> --
>
>
> long is the way and hard that out of Hell leads up to light
>
Re: Maven Building Exception
Posted by Darion Yaphet <da...@gmail.com>.
Yes
checkout source code from github and try to build it on Mac
it's working fine
maybe something failed on my machine
thanks a lot
2014-04-29 13:23 GMT+08:00 Yash Sharma <ya...@gmail.com>:
> Why don't you try cloning from github and take a build.
> I have just took a fresh clone and it works perfect for me.
>
> $ git clone https://github.com/apache/incubator-drill.git
> $ cd incubator-drill
> $ mvn clean install -DskipTests
>
> As Tim mentioned there seems to be some setup issue on your box. Let us
> know if you stumble upon any build errors.
>
> Peace.
>
>
> On Tue, Apr 29, 2014 at 10:31 AM, darion <da...@gmail.com> wrote:
>
> > Yes it's a early access version ..
> >
> > 于 14-4-29 下午12:58, Timothy Chen 写道:
> >
> > Hi Darion,
> >>
> >> We intentionally didn't want to advertise it as I believe it was
> >> missing some artifacts and features we wanted to have (or something
> >> like that, been a while :)).
> >>
> >> We've done lots of features since then I would really suggest getting
> >> latest trunk if you want to see what Drill has.
> >>
> >> Tim
> >>
> >> On Mon, Apr 28, 2014 at 9:32 PM, Darion Yaphet <darion.yaphet@gmail.com
> >
> >> wrote:
> >>
> >>> Hi Tim
> >>>
> >>> I found a binary-release version for it
> >>> (https://cwiki.apache.org/confluence/display/DRILL/
> >>> Installing+the+binaries)
> >>>
> >>> curl http://
> >>> people.apache.org/~jacques/apache-drill-1.0.0-m1.rc3/
> >>> apache-drill-1.0.0-m1-binary-release.tar.gz>
> >>> apache-drill-1.0.0-m1-binary-release.tar.gz
> >>>
> >>> and could put it on the homepage's download link ?
> >>>
> >>> It's more convenient ..
> >>>
> >>>
> >>> 2014-04-29 5:38 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> >>>
> >>> That is quite odd, the only time I got compliation failure from drill
> >>>> protocol is with that problem.
> >>>>
> >>>> Do you have different javas that perhaps maven is picking up from
> >>>> mavenrc and protoc is using one in your PATH or JAVA_HOME?
> >>>>
> >>>> Also I believe you're the only one that is reporting this so most
> >>>> likely is a setup problem on your box, do you have another box that
> >>>> you can try this on?
> >>>>
> >>>> Tim
> >>>>
> >>>> On Sun, Apr 27, 2014 at 8:01 AM, Darion Yaphet <
> darion.yaphet@gmail.com
> >>>> >
> >>>> wrote:
> >>>>
> >>>>> Yes
> >>>>> Protobuf is installed
> >>>>>
> >>>>> darion.yaphet/source/incubator-drill> protoc --version
> >>>>>
> >>>>> libprotoc 2.5.0
> >>>>>
> >>>>> Maven have used JDK7
> >>>>> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a;
> >>>>> 2013-09-17
> >>>>> 23:22:22+0800)
> >>>>> Maven home: /usr/apache-maven-3.1.1
> >>>>> Java version: 1.7.0_45, vendor: Oracle Corporation
> >>>>> Java home: /usr/java/jdk1.7.0_45/jre
> >>>>> Default locale: zh_CN, platform encoding: UTF-8
> >>>>> OS name: "linux", version: "3.11.10-100.fc18.i686", arch: "i386",
> >>>>> family:
> >>>>> "unix"
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> 2014-04-27 22:40 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> >>>>>
> >>>>> Do you have protobuf 2.5.0 installed and in your path? (Protoc)
> >>>>>>
> >>>>>> Another thing is that you want to make sure maven is also using java
> >>>>>>
> >>>>> 1.7,
> >>>>
> >>>>> and if you run mvn version it shows you, as it is often still set to
> >>>>>>
> >>>>> 1.6.
> >>>>
> >>>>> This link shows you how to fix this:
> >>>>>>
> >>>>>>
> >>>>>> http://stackoverflow.com/questions/18813828/why-maven-
> >>>> use-jdk-1-6-but-my-java-version-is-1-7
> >>>>
> >>>>> Tim
> >>>>>>
> >>>>>> Sent from my iPhone
> >>>>>>
> >>>>>> On Apr 27, 2014, at 7:02 AM, Darion Yaphet <
> darion.yaphet@gmail.com>
> >>>>>>>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> My OS is Fedora 18 and JVM java version "1.7.0_45"
> >>>>>>>
> >>>>>>> thanks a lot for help
> >>>>>>>
> >>>>>>>
> >>>>>>> 2014-04-27 22:00 GMT+08:00 Darion Yaphet <darion.yaphet@gmail.com
> >:
> >>>>>>>
> >>>>>>> It's sound a good idea and maybe I should reading help-doc
> >>>>>>>>
> >>>>>>>> https://cwiki.apache.org/confluence/display/DRILL/
> >>>> Compiling+Drill+from+sourceand checkout source code from git
> >>>>
> >>>>> clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
> >>>>>>>>
> >>>>>>>> mvn command as following :
> >>>>>>>>
> >>>>>>>> mvn clean this is ok with success
> >>>>>>>>
> >>>>>>>> mvn install -DskipTests -X It's failed with helping message ...
> >>>>>>>>
> >>>>>>>> [ERROR] Failed to execute goal
> >>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> >>>>>>>> (default-compile) on project drill-protocol: Compilation failure
> ->
> >>>>>>>>
> >>>>>>> [Help 1]
> >>>>>>
> >>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> >>>>>>>>
> >>>>>>> execute
> >>>>>>
> >>>>>>> goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> >>>>>>>> (default-compile) on project drill-protocol: Compilation failure
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> 2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> >>>>>>>>
> >>>>>>>> Hi Darion,
> >>>>>>>>
> >>>>>>>>> The build failed because there is some file in the drill folder
> >>>>>>>>> that
> >>>>>>>>> doesn't have the apache license header.
> >>>>>>>>>
> >>>>>>>>> There might be a file that you added to that folder that is
> causing
> >>>>>>>>>
> >>>>>>>> it,
> >>>>
> >>>>> if you look at the rat.txt file indicated in your output you would
> >>>>>>>>>
> >>>>>>>> know.
> >>>>>>
> >>>>>>> I also suggest if you want to try out drill to just grab it from
> our
> >>>>>>>>>
> >>>>>>>> git
> >>>>>>
> >>>>>>> repo and use latest master.
> >>>>>>>>>
> >>>>>>>>> Tim
> >>>>>>>>>
> >>>>>>>>> Sent from my iPhone
> >>>>>>>>>
> >>>>>>>>> On Apr 26, 2014, at 4:35 AM, Darion Yaphet <
> >>>>>>>>>>>
> >>>>>>>>>> darion.yaphet@gmail.com>
> >>>>
> >>>>> wrote:
> >>>>>>>>>>
> >>>>>>>>>> Hi All
> >>>>>>>>>>
> >>>>>>>>>> I download incubating-drill.zip from
> >>>>>>>>>>
> >>>>>>>>> http://mirrors.cnnic.cn/apache/incubator/drill/drill-
> >>>>
> 1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
> >>>>
> >>>>> and use maven to hava a built version
> >>>>>>>>>>
> >>>>>>>>>> mvn clean
> >>>>>>>>>> mvn install -DskipTests
> >>>>>>>>>>
> >>>>>>>>>> But mvn building is failed with following exception:
> >>>>>>>>>>
> >>>>>>>>>> [ERROR] Failed to execute goal
> >>>>>>>>>>
> >>>>>>>>> org.apache.rat:apache-rat-plugin:0.10:check
> >>>>>>>>>
> >>>>>>>>>> (rat-checks) on project drill-root: Too many files with
> unapproved
> >>>>>>>>>>
> >>>>>>>>> license:
> >>>>>>>>>
> >>>>>>>>>> 1 See RAT report in:
> >>>>>>>>>>
> >>>>>>>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-
> >>>> incubating/target/rat.txt
> >>>>
> >>>>> -> [Help 1]
> >>>>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed
> to
> >>>>>>>>>>
> >>>>>>>>> execute
> >>>>>>>>>
> >>>>>>>>>> goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on
> >>>>>>>>>>
> >>>>>>>>> project
> >>>>>>
> >>>>>>> drill-root: Too many files with unapproved license: 1 See RAT
> >>>>>>>>>>
> >>>>>>>>> report
> >>>>
> >>>>> in:
> >>>>>>
> >>>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-
> >>>> incubating/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:84)
> >>>>
> >>>>> at
> >>>>>>>>>>
> >>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> >>>> buildProject(LifecycleModuleBuilder.java:59)
> >>>>
> >>>>> at
> >>>>>>>>>>
> >>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.
> >>>> singleThreadedBuild(LifecycleStarter.java:183)
> >>>>
> >>>>> at
> >>>>>>>>>>
> >>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.
> >>>> execute(LifecycleStarter.java:161)
> >>>>
> >>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> >>>>>>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> >>>>>>>>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> >>>>>>>>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> >>>>>>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> >>>>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>>>>>>>> at
> >>>>>>>>>>
> >>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(
> >>>> NativeMethodAccessorImpl.java:57)
> >>>>
> >>>>> at
> >>>>>>>>>>
> >>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >>>> DelegatingMethodAccessorImpl.java:43)
> >>>>
> >>>>> at java.lang.reflect.Method.invoke(Method.java:606)
> >>>>>>>>>> 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: 1 See RAT report in:
> >>>>>>>>>>
> >>>>>>>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-
> >>>> incubating/target/rat.txt
> >>>>
> >>>>> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
> >>>>>>>>>> at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
> >>>>>>>>>> at
> >>>>>>>>>>
> >>>>>>>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> >>>> DefaultBuildPluginManager.java:106)
> >>>>
> >>>>> at
> >>>>>>>>>>
> >>>>>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> >>>> MojoExecutor.java:208)
> >>>>
> >>>>> ... 19 more
> >>>>>>>>>> [ERROR]
> >>>>>>>>>> [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
> >>>>
> >>>>> It's something wrong in pom.xml ?
> >>>>>>>>>> or mvn building command is bad
> >>>>>>>>>>
> >>>>>>>>>> --
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> long is the way and hard that out of Hell leads up to light
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> long is the way and hard that out of Hell leads up to light
> >>>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>>
> >>>>>>>
> >>>>>>> long is the way and hard that out of Hell leads up to light
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>> --
> >>>>>
> >>>>>
> >>>>> long is the way and hard that out of Hell leads up to light
> >>>>>
> >>>>
> >>>
> >>> --
> >>>
> >>>
> >>> long is the way and hard that out of Hell leads up to light
> >>>
> >>
> >
>
--
long is the way and hard that out of Hell leads up to light
Re: Maven Building Exception
Posted by Yash Sharma <ya...@gmail.com>.
Why don't you try cloning from github and take a build.
I have just took a fresh clone and it works perfect for me.
$ git clone https://github.com/apache/incubator-drill.git
$ cd incubator-drill
$ mvn clean install -DskipTests
As Tim mentioned there seems to be some setup issue on your box. Let us
know if you stumble upon any build errors.
Peace.
On Tue, Apr 29, 2014 at 10:31 AM, darion <da...@gmail.com> wrote:
> Yes it's a early access version ..
>
> 于 14-4-29 下午12:58, Timothy Chen 写道:
>
> Hi Darion,
>>
>> We intentionally didn't want to advertise it as I believe it was
>> missing some artifacts and features we wanted to have (or something
>> like that, been a while :)).
>>
>> We've done lots of features since then I would really suggest getting
>> latest trunk if you want to see what Drill has.
>>
>> Tim
>>
>> On Mon, Apr 28, 2014 at 9:32 PM, Darion Yaphet <da...@gmail.com>
>> wrote:
>>
>>> Hi Tim
>>>
>>> I found a binary-release version for it
>>> (https://cwiki.apache.org/confluence/display/DRILL/
>>> Installing+the+binaries)
>>>
>>> curl http://
>>> people.apache.org/~jacques/apache-drill-1.0.0-m1.rc3/
>>> apache-drill-1.0.0-m1-binary-release.tar.gz>
>>> apache-drill-1.0.0-m1-binary-release.tar.gz
>>>
>>> and could put it on the homepage's download link ?
>>>
>>> It's more convenient ..
>>>
>>>
>>> 2014-04-29 5:38 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>>>
>>> That is quite odd, the only time I got compliation failure from drill
>>>> protocol is with that problem.
>>>>
>>>> Do you have different javas that perhaps maven is picking up from
>>>> mavenrc and protoc is using one in your PATH or JAVA_HOME?
>>>>
>>>> Also I believe you're the only one that is reporting this so most
>>>> likely is a setup problem on your box, do you have another box that
>>>> you can try this on?
>>>>
>>>> Tim
>>>>
>>>> On Sun, Apr 27, 2014 at 8:01 AM, Darion Yaphet <darion.yaphet@gmail.com
>>>> >
>>>> wrote:
>>>>
>>>>> Yes
>>>>> Protobuf is installed
>>>>>
>>>>> darion.yaphet/source/incubator-drill> protoc --version
>>>>>
>>>>> libprotoc 2.5.0
>>>>>
>>>>> Maven have used JDK7
>>>>> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a;
>>>>> 2013-09-17
>>>>> 23:22:22+0800)
>>>>> Maven home: /usr/apache-maven-3.1.1
>>>>> Java version: 1.7.0_45, vendor: Oracle Corporation
>>>>> Java home: /usr/java/jdk1.7.0_45/jre
>>>>> Default locale: zh_CN, platform encoding: UTF-8
>>>>> OS name: "linux", version: "3.11.10-100.fc18.i686", arch: "i386",
>>>>> family:
>>>>> "unix"
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2014-04-27 22:40 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>>>>>
>>>>> Do you have protobuf 2.5.0 installed and in your path? (Protoc)
>>>>>>
>>>>>> Another thing is that you want to make sure maven is also using java
>>>>>>
>>>>> 1.7,
>>>>
>>>>> and if you run mvn version it shows you, as it is often still set to
>>>>>>
>>>>> 1.6.
>>>>
>>>>> This link shows you how to fix this:
>>>>>>
>>>>>>
>>>>>> http://stackoverflow.com/questions/18813828/why-maven-
>>>> use-jdk-1-6-but-my-java-version-is-1-7
>>>>
>>>>> Tim
>>>>>>
>>>>>> Sent from my iPhone
>>>>>>
>>>>>> On Apr 27, 2014, at 7:02 AM, Darion Yaphet <da...@gmail.com>
>>>>>>>
>>>>>> wrote:
>>>>>>
>>>>>>> My OS is Fedora 18 and JVM java version "1.7.0_45"
>>>>>>>
>>>>>>> thanks a lot for help
>>>>>>>
>>>>>>>
>>>>>>> 2014-04-27 22:00 GMT+08:00 Darion Yaphet <da...@gmail.com>:
>>>>>>>
>>>>>>> It's sound a good idea and maybe I should reading help-doc
>>>>>>>>
>>>>>>>> https://cwiki.apache.org/confluence/display/DRILL/
>>>> Compiling+Drill+from+sourceand checkout source code from git
>>>>
>>>>> clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
>>>>>>>>
>>>>>>>> mvn command as following :
>>>>>>>>
>>>>>>>> mvn clean this is ok with success
>>>>>>>>
>>>>>>>> mvn install -DskipTests -X It's failed with helping message ...
>>>>>>>>
>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
>>>>>>>> (default-compile) on project drill-protocol: Compilation failure ->
>>>>>>>>
>>>>>>> [Help 1]
>>>>>>
>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>>>>>>>
>>>>>>> execute
>>>>>>
>>>>>>> goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
>>>>>>>> (default-compile) on project drill-protocol: Compilation failure
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>>>>>>>>
>>>>>>>> Hi Darion,
>>>>>>>>
>>>>>>>>> The build failed because there is some file in the drill folder
>>>>>>>>> that
>>>>>>>>> doesn't have the apache license header.
>>>>>>>>>
>>>>>>>>> There might be a file that you added to that folder that is causing
>>>>>>>>>
>>>>>>>> it,
>>>>
>>>>> if you look at the rat.txt file indicated in your output you would
>>>>>>>>>
>>>>>>>> know.
>>>>>>
>>>>>>> I also suggest if you want to try out drill to just grab it from our
>>>>>>>>>
>>>>>>>> git
>>>>>>
>>>>>>> repo and use latest master.
>>>>>>>>>
>>>>>>>>> Tim
>>>>>>>>>
>>>>>>>>> Sent from my iPhone
>>>>>>>>>
>>>>>>>>> On Apr 26, 2014, at 4:35 AM, Darion Yaphet <
>>>>>>>>>>>
>>>>>>>>>> darion.yaphet@gmail.com>
>>>>
>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> Hi All
>>>>>>>>>>
>>>>>>>>>> I download incubating-drill.zip from
>>>>>>>>>>
>>>>>>>>> http://mirrors.cnnic.cn/apache/incubator/drill/drill-
>>>> 1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
>>>>
>>>>> and use maven to hava a built version
>>>>>>>>>>
>>>>>>>>>> mvn clean
>>>>>>>>>> mvn install -DskipTests
>>>>>>>>>>
>>>>>>>>>> But mvn building is failed with following exception:
>>>>>>>>>>
>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>
>>>>>>>>> org.apache.rat:apache-rat-plugin:0.10:check
>>>>>>>>>
>>>>>>>>>> (rat-checks) on project drill-root: Too many files with unapproved
>>>>>>>>>>
>>>>>>>>> license:
>>>>>>>>>
>>>>>>>>>> 1 See RAT report in:
>>>>>>>>>>
>>>>>>>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-
>>>> incubating/target/rat.txt
>>>>
>>>>> -> [Help 1]
>>>>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>>>>>>>>>
>>>>>>>>> execute
>>>>>>>>>
>>>>>>>>>> goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on
>>>>>>>>>>
>>>>>>>>> project
>>>>>>
>>>>>>> drill-root: Too many files with unapproved license: 1 See RAT
>>>>>>>>>>
>>>>>>>>> report
>>>>
>>>>> in:
>>>>>>
>>>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-
>>>> incubating/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:84)
>>>>
>>>>> at
>>>>>>>>>>
>>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
>>>> buildProject(LifecycleModuleBuilder.java:59)
>>>>
>>>>> at
>>>>>>>>>>
>>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.
>>>> singleThreadedBuild(LifecycleStarter.java:183)
>>>>
>>>>> at
>>>>>>>>>>
>>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.
>>>> execute(LifecycleStarter.java:161)
>>>>
>>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>>>>>>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>>>>>>>>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>>>>>>>>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>>>>>>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>>>>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>>>>> at
>>>>>>>>>>
>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(
>>>> NativeMethodAccessorImpl.java:57)
>>>>
>>>>> at
>>>>>>>>>>
>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>> DelegatingMethodAccessorImpl.java:43)
>>>>
>>>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>>>>>>>>> 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: 1 See RAT report in:
>>>>>>>>>>
>>>>>>>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-
>>>> incubating/target/rat.txt
>>>>
>>>>> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
>>>>>>>>>> at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
>>>>>>>>>> at
>>>>>>>>>>
>>>>>>>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
>>>> DefaultBuildPluginManager.java:106)
>>>>
>>>>> at
>>>>>>>>>>
>>>>>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(
>>>> MojoExecutor.java:208)
>>>>
>>>>> ... 19 more
>>>>>>>>>> [ERROR]
>>>>>>>>>> [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
>>>>
>>>>> It's something wrong in pom.xml ?
>>>>>>>>>> or mvn building command is bad
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> long is the way and hard that out of Hell leads up to light
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>>
>>>>>>>> long is the way and hard that out of Hell leads up to light
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>> long is the way and hard that out of Hell leads up to light
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>> long is the way and hard that out of Hell leads up to light
>>>>>
>>>>
>>>
>>> --
>>>
>>>
>>> long is the way and hard that out of Hell leads up to light
>>>
>>
>
Re: Maven Building Exception
Posted by darion <da...@gmail.com>.
Yes it's a early access version ..
于 14-4-29 下午12:58, Timothy Chen 写道:
> Hi Darion,
>
> We intentionally didn't want to advertise it as I believe it was
> missing some artifacts and features we wanted to have (or something
> like that, been a while :)).
>
> We've done lots of features since then I would really suggest getting
> latest trunk if you want to see what Drill has.
>
> Tim
>
> On Mon, Apr 28, 2014 at 9:32 PM, Darion Yaphet <da...@gmail.com> wrote:
>> Hi Tim
>>
>> I found a binary-release version for it
>> (https://cwiki.apache.org/confluence/display/DRILL/Installing+the+binaries)
>>
>> curl http://
>> people.apache.org/~jacques/apache-drill-1.0.0-m1.rc3/apache-drill-1.0.0-m1-binary-release.tar.gz>
>> apache-drill-1.0.0-m1-binary-release.tar.gz
>>
>> and could put it on the homepage's download link ?
>>
>> It's more convenient ..
>>
>>
>> 2014-04-29 5:38 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>>
>>> That is quite odd, the only time I got compliation failure from drill
>>> protocol is with that problem.
>>>
>>> Do you have different javas that perhaps maven is picking up from
>>> mavenrc and protoc is using one in your PATH or JAVA_HOME?
>>>
>>> Also I believe you're the only one that is reporting this so most
>>> likely is a setup problem on your box, do you have another box that
>>> you can try this on?
>>>
>>> Tim
>>>
>>> On Sun, Apr 27, 2014 at 8:01 AM, Darion Yaphet <da...@gmail.com>
>>> wrote:
>>>> Yes
>>>> Protobuf is installed
>>>>
>>>> darion.yaphet/source/incubator-drill> protoc --version
>>>>
>>>> libprotoc 2.5.0
>>>>
>>>> Maven have used JDK7
>>>> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
>>>> 23:22:22+0800)
>>>> Maven home: /usr/apache-maven-3.1.1
>>>> Java version: 1.7.0_45, vendor: Oracle Corporation
>>>> Java home: /usr/java/jdk1.7.0_45/jre
>>>> Default locale: zh_CN, platform encoding: UTF-8
>>>> OS name: "linux", version: "3.11.10-100.fc18.i686", arch: "i386", family:
>>>> "unix"
>>>>
>>>>
>>>>
>>>>
>>>> 2014-04-27 22:40 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>>>>
>>>>> Do you have protobuf 2.5.0 installed and in your path? (Protoc)
>>>>>
>>>>> Another thing is that you want to make sure maven is also using java
>>> 1.7,
>>>>> and if you run mvn version it shows you, as it is often still set to
>>> 1.6.
>>>>> This link shows you how to fix this:
>>>>>
>>>>>
>>> http://stackoverflow.com/questions/18813828/why-maven-use-jdk-1-6-but-my-java-version-is-1-7
>>>>> Tim
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>>> On Apr 27, 2014, at 7:02 AM, Darion Yaphet <da...@gmail.com>
>>>>> wrote:
>>>>>> My OS is Fedora 18 and JVM java version "1.7.0_45"
>>>>>>
>>>>>> thanks a lot for help
>>>>>>
>>>>>>
>>>>>> 2014-04-27 22:00 GMT+08:00 Darion Yaphet <da...@gmail.com>:
>>>>>>
>>>>>>> It's sound a good idea and maybe I should reading help-doc
>>>>>>>
>>> https://cwiki.apache.org/confluence/display/DRILL/Compiling+Drill+from+sourceand checkout source code from git
>>>>>>> clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
>>>>>>>
>>>>>>> mvn command as following :
>>>>>>>
>>>>>>> mvn clean this is ok with success
>>>>>>>
>>>>>>> mvn install -DskipTests -X It's failed with helping message ...
>>>>>>>
>>>>>>> [ERROR] Failed to execute goal
>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
>>>>>>> (default-compile) on project drill-protocol: Compilation failure ->
>>>>> [Help 1]
>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>>>> execute
>>>>>>> goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
>>>>>>> (default-compile) on project drill-protocol: Compilation failure
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>>>>>>>
>>>>>>> Hi Darion,
>>>>>>>> The build failed because there is some file in the drill folder that
>>>>>>>> doesn't have the apache license header.
>>>>>>>>
>>>>>>>> There might be a file that you added to that folder that is causing
>>> it,
>>>>>>>> if you look at the rat.txt file indicated in your output you would
>>>>> know.
>>>>>>>> I also suggest if you want to try out drill to just grab it from our
>>>>> git
>>>>>>>> repo and use latest master.
>>>>>>>>
>>>>>>>> Tim
>>>>>>>>
>>>>>>>> Sent from my iPhone
>>>>>>>>
>>>>>>>>>> On Apr 26, 2014, at 4:35 AM, Darion Yaphet <
>>> darion.yaphet@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Hi All
>>>>>>>>>
>>>>>>>>> I download incubating-drill.zip from
>>> http://mirrors.cnnic.cn/apache/incubator/drill/drill-1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
>>>>>>>>> and use maven to hava a built version
>>>>>>>>>
>>>>>>>>> mvn clean
>>>>>>>>> mvn install -DskipTests
>>>>>>>>>
>>>>>>>>> But mvn building is failed with following exception:
>>>>>>>>>
>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>> org.apache.rat:apache-rat-plugin:0.10:check
>>>>>>>>> (rat-checks) on project drill-root: Too many files with unapproved
>>>>>>>> license:
>>>>>>>>> 1 See RAT report in:
>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
>>>>>>>>> -> [Help 1]
>>>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>>>>>>> execute
>>>>>>>>> goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on
>>>>> project
>>>>>>>>> drill-root: Too many files with unapproved license: 1 See RAT
>>> report
>>>>> in:
>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/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:84)
>>>>>>>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>>>>>>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>>>>>>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>>>>>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>>>>>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>>>>>>>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>>>>>>>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>>>>>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>>>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>>>>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>>>>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>>>>>>>> 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: 1 See RAT report in:
>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
>>>>>>>>> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
>>>>>>>>> at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
>>>>>>>>> at
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
>>>>>>>>> at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>>>>>>>>> ... 19 more
>>>>>>>>> [ERROR]
>>>>>>>>> [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
>>>>>>>>> It's something wrong in pom.xml ?
>>>>>>>>> or mvn building command is bad
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> long is the way and hard that out of Hell leads up to light
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>> long is the way and hard that out of Hell leads up to light
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>> long is the way and hard that out of Hell leads up to light
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> long is the way and hard that out of Hell leads up to light
>>
>>
>> --
>>
>>
>> long is the way and hard that out of Hell leads up to light
Re: Maven Building Exception
Posted by Timothy Chen <tn...@gmail.com>.
Hi Darion,
We intentionally didn't want to advertise it as I believe it was
missing some artifacts and features we wanted to have (or something
like that, been a while :)).
We've done lots of features since then I would really suggest getting
latest trunk if you want to see what Drill has.
Tim
On Mon, Apr 28, 2014 at 9:32 PM, Darion Yaphet <da...@gmail.com> wrote:
> Hi Tim
>
> I found a binary-release version for it
> (https://cwiki.apache.org/confluence/display/DRILL/Installing+the+binaries)
>
> curl http://
> people.apache.org/~jacques/apache-drill-1.0.0-m1.rc3/apache-drill-1.0.0-m1-binary-release.tar.gz>
> apache-drill-1.0.0-m1-binary-release.tar.gz
>
> and could put it on the homepage's download link ?
>
> It's more convenient ..
>
>
> 2014-04-29 5:38 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>
>> That is quite odd, the only time I got compliation failure from drill
>> protocol is with that problem.
>>
>> Do you have different javas that perhaps maven is picking up from
>> mavenrc and protoc is using one in your PATH or JAVA_HOME?
>>
>> Also I believe you're the only one that is reporting this so most
>> likely is a setup problem on your box, do you have another box that
>> you can try this on?
>>
>> Tim
>>
>> On Sun, Apr 27, 2014 at 8:01 AM, Darion Yaphet <da...@gmail.com>
>> wrote:
>> > Yes
>> > Protobuf is installed
>> >
>> > darion.yaphet/source/incubator-drill> protoc --version
>> >
>> > libprotoc 2.5.0
>> >
>> > Maven have used JDK7
>> > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
>> > 23:22:22+0800)
>> > Maven home: /usr/apache-maven-3.1.1
>> > Java version: 1.7.0_45, vendor: Oracle Corporation
>> > Java home: /usr/java/jdk1.7.0_45/jre
>> > Default locale: zh_CN, platform encoding: UTF-8
>> > OS name: "linux", version: "3.11.10-100.fc18.i686", arch: "i386", family:
>> > "unix"
>> >
>> >
>> >
>> >
>> > 2014-04-27 22:40 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>> >
>> >> Do you have protobuf 2.5.0 installed and in your path? (Protoc)
>> >>
>> >> Another thing is that you want to make sure maven is also using java
>> 1.7,
>> >> and if you run mvn version it shows you, as it is often still set to
>> 1.6.
>> >> This link shows you how to fix this:
>> >>
>> >>
>> http://stackoverflow.com/questions/18813828/why-maven-use-jdk-1-6-but-my-java-version-is-1-7
>> >>
>> >> Tim
>> >>
>> >> Sent from my iPhone
>> >>
>> >> > On Apr 27, 2014, at 7:02 AM, Darion Yaphet <da...@gmail.com>
>> >> wrote:
>> >> >
>> >> > My OS is Fedora 18 and JVM java version "1.7.0_45"
>> >> >
>> >> > thanks a lot for help
>> >> >
>> >> >
>> >> > 2014-04-27 22:00 GMT+08:00 Darion Yaphet <da...@gmail.com>:
>> >> >
>> >> >> It's sound a good idea and maybe I should reading help-doc
>> >> >>
>> >>
>> https://cwiki.apache.org/confluence/display/DRILL/Compiling+Drill+from+sourceand checkout source code from git
>> >> >> clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
>> >> >>
>> >> >> mvn command as following :
>> >> >>
>> >> >> mvn clean this is ok with success
>> >> >>
>> >> >> mvn install -DskipTests -X It's failed with helping message ...
>> >> >>
>> >> >> [ERROR] Failed to execute goal
>> >> >> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
>> >> >> (default-compile) on project drill-protocol: Compilation failure ->
>> >> [Help 1]
>> >> >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> >> execute
>> >> >> goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
>> >> >> (default-compile) on project drill-protocol: Compilation failure
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> 2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>> >> >>
>> >> >> Hi Darion,
>> >> >>>
>> >> >>> The build failed because there is some file in the drill folder that
>> >> >>> doesn't have the apache license header.
>> >> >>>
>> >> >>> There might be a file that you added to that folder that is causing
>> it,
>> >> >>> if you look at the rat.txt file indicated in your output you would
>> >> know.
>> >> >>>
>> >> >>> I also suggest if you want to try out drill to just grab it from our
>> >> git
>> >> >>> repo and use latest master.
>> >> >>>
>> >> >>> Tim
>> >> >>>
>> >> >>> Sent from my iPhone
>> >> >>>
>> >> >>>>> On Apr 26, 2014, at 4:35 AM, Darion Yaphet <
>> darion.yaphet@gmail.com>
>> >> >>>> wrote:
>> >> >>>>
>> >> >>>> Hi All
>> >> >>>>
>> >> >>>> I download incubating-drill.zip from
>> >> >>>
>> >>
>> http://mirrors.cnnic.cn/apache/incubator/drill/drill-1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
>> >> >>>>
>> >> >>>> and use maven to hava a built version
>> >> >>>>
>> >> >>>> mvn clean
>> >> >>>> mvn install -DskipTests
>> >> >>>>
>> >> >>>> But mvn building is failed with following exception:
>> >> >>>>
>> >> >>>> [ERROR] Failed to execute goal
>> >> >>> org.apache.rat:apache-rat-plugin:0.10:check
>> >> >>>> (rat-checks) on project drill-root: Too many files with unapproved
>> >> >>> license:
>> >> >>>> 1 See RAT report in:
>> >> >>>
>> >>
>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
>> >> >>>> -> [Help 1]
>> >> >>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> >> >>> execute
>> >> >>>> goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on
>> >> project
>> >> >>>> drill-root: Too many files with unapproved license: 1 See RAT
>> report
>> >> in:
>> >> >>>
>> >>
>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/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:84)
>> >> >>>> at
>> >> >>>
>> >>
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> >> >>>> at
>> >> >>>
>> >>
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> >> >>>> at
>> >> >>>
>> >>
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> >> >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>> >> >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>> >> >>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>> >> >>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>> >> >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>> >> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >> >>>> at
>> >> >>>
>> >>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> >> >>>> at
>> >> >>>
>> >>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> >> >>>> at java.lang.reflect.Method.invoke(Method.java:606)
>> >> >>>> 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: 1 See RAT report in:
>> >> >>>
>> >>
>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
>> >> >>>> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
>> >> >>>> at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
>> >> >>>> at
>> >> >>>
>> >>
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
>> >> >>>> at
>> >> >>>
>> >>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>> >> >>>> ... 19 more
>> >> >>>> [ERROR]
>> >> >>>> [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
>> >> >>>>
>> >> >>>> It's something wrong in pom.xml ?
>> >> >>>> or mvn building command is bad
>> >> >>>>
>> >> >>>> --
>> >> >>>>
>> >> >>>>
>> >> >>>> long is the way and hard that out of Hell leads up to light
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >>
>> >> >>
>> >> >> long is the way and hard that out of Hell leads up to light
>> >> >
>> >> >
>> >> > --
>> >> >
>> >> >
>> >> > long is the way and hard that out of Hell leads up to light
>> >>
>> >
>> >
>> >
>> > --
>> >
>> >
>> > long is the way and hard that out of Hell leads up to light
>>
>
>
>
> --
>
>
> long is the way and hard that out of Hell leads up to light
Re: Maven Building Exception
Posted by Darion Yaphet <da...@gmail.com>.
Hi Tim
I found a binary-release version for it
(https://cwiki.apache.org/confluence/display/DRILL/Installing+the+binaries)
curl http://
people.apache.org/~jacques/apache-drill-1.0.0-m1.rc3/apache-drill-1.0.0-m1-binary-release.tar.gz>
apache-drill-1.0.0-m1-binary-release.tar.gz
and could put it on the homepage's download link ?
It's more convenient ..
2014-04-29 5:38 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> That is quite odd, the only time I got compliation failure from drill
> protocol is with that problem.
>
> Do you have different javas that perhaps maven is picking up from
> mavenrc and protoc is using one in your PATH or JAVA_HOME?
>
> Also I believe you're the only one that is reporting this so most
> likely is a setup problem on your box, do you have another box that
> you can try this on?
>
> Tim
>
> On Sun, Apr 27, 2014 at 8:01 AM, Darion Yaphet <da...@gmail.com>
> wrote:
> > Yes
> > Protobuf is installed
> >
> > darion.yaphet/source/incubator-drill> protoc --version
> >
> > libprotoc 2.5.0
> >
> > Maven have used JDK7
> > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> > 23:22:22+0800)
> > Maven home: /usr/apache-maven-3.1.1
> > Java version: 1.7.0_45, vendor: Oracle Corporation
> > Java home: /usr/java/jdk1.7.0_45/jre
> > Default locale: zh_CN, platform encoding: UTF-8
> > OS name: "linux", version: "3.11.10-100.fc18.i686", arch: "i386", family:
> > "unix"
> >
> >
> >
> >
> > 2014-04-27 22:40 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> >
> >> Do you have protobuf 2.5.0 installed and in your path? (Protoc)
> >>
> >> Another thing is that you want to make sure maven is also using java
> 1.7,
> >> and if you run mvn version it shows you, as it is often still set to
> 1.6.
> >> This link shows you how to fix this:
> >>
> >>
> http://stackoverflow.com/questions/18813828/why-maven-use-jdk-1-6-but-my-java-version-is-1-7
> >>
> >> Tim
> >>
> >> Sent from my iPhone
> >>
> >> > On Apr 27, 2014, at 7:02 AM, Darion Yaphet <da...@gmail.com>
> >> wrote:
> >> >
> >> > My OS is Fedora 18 and JVM java version "1.7.0_45"
> >> >
> >> > thanks a lot for help
> >> >
> >> >
> >> > 2014-04-27 22:00 GMT+08:00 Darion Yaphet <da...@gmail.com>:
> >> >
> >> >> It's sound a good idea and maybe I should reading help-doc
> >> >>
> >>
> https://cwiki.apache.org/confluence/display/DRILL/Compiling+Drill+from+sourceand checkout source code from git
> >> >> clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
> >> >>
> >> >> mvn command as following :
> >> >>
> >> >> mvn clean this is ok with success
> >> >>
> >> >> mvn install -DskipTests -X It's failed with helping message ...
> >> >>
> >> >> [ERROR] Failed to execute goal
> >> >> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> >> >> (default-compile) on project drill-protocol: Compilation failure ->
> >> [Help 1]
> >> >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> >> execute
> >> >> goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> >> >> (default-compile) on project drill-protocol: Compilation failure
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> 2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> >> >>
> >> >> Hi Darion,
> >> >>>
> >> >>> The build failed because there is some file in the drill folder that
> >> >>> doesn't have the apache license header.
> >> >>>
> >> >>> There might be a file that you added to that folder that is causing
> it,
> >> >>> if you look at the rat.txt file indicated in your output you would
> >> know.
> >> >>>
> >> >>> I also suggest if you want to try out drill to just grab it from our
> >> git
> >> >>> repo and use latest master.
> >> >>>
> >> >>> Tim
> >> >>>
> >> >>> Sent from my iPhone
> >> >>>
> >> >>>>> On Apr 26, 2014, at 4:35 AM, Darion Yaphet <
> darion.yaphet@gmail.com>
> >> >>>> wrote:
> >> >>>>
> >> >>>> Hi All
> >> >>>>
> >> >>>> I download incubating-drill.zip from
> >> >>>
> >>
> http://mirrors.cnnic.cn/apache/incubator/drill/drill-1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
> >> >>>>
> >> >>>> and use maven to hava a built version
> >> >>>>
> >> >>>> mvn clean
> >> >>>> mvn install -DskipTests
> >> >>>>
> >> >>>> But mvn building is failed with following exception:
> >> >>>>
> >> >>>> [ERROR] Failed to execute goal
> >> >>> org.apache.rat:apache-rat-plugin:0.10:check
> >> >>>> (rat-checks) on project drill-root: Too many files with unapproved
> >> >>> license:
> >> >>>> 1 See RAT report in:
> >> >>>
> >>
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
> >> >>>> -> [Help 1]
> >> >>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> >> >>> execute
> >> >>>> goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on
> >> project
> >> >>>> drill-root: Too many files with unapproved license: 1 See RAT
> report
> >> in:
> >> >>>
> >>
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/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:84)
> >> >>>> at
> >> >>>
> >>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> >> >>>> at
> >> >>>
> >>
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> >> >>>> at
> >> >>>
> >>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> >> >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> >> >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> >> >>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> >> >>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> >> >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> >> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> >>>> at
> >> >>>
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >> >>>> at
> >> >>>
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >> >>>> at java.lang.reflect.Method.invoke(Method.java:606)
> >> >>>> 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: 1 See RAT report in:
> >> >>>
> >>
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
> >> >>>> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
> >> >>>> at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
> >> >>>> at
> >> >>>
> >>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> >> >>>> at
> >> >>>
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> >> >>>> ... 19 more
> >> >>>> [ERROR]
> >> >>>> [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
> >> >>>>
> >> >>>> It's something wrong in pom.xml ?
> >> >>>> or mvn building command is bad
> >> >>>>
> >> >>>> --
> >> >>>>
> >> >>>>
> >> >>>> long is the way and hard that out of Hell leads up to light
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >>
> >> >>
> >> >> long is the way and hard that out of Hell leads up to light
> >> >
> >> >
> >> > --
> >> >
> >> >
> >> > long is the way and hard that out of Hell leads up to light
> >>
> >
> >
> >
> > --
> >
> >
> > long is the way and hard that out of Hell leads up to light
>
--
long is the way and hard that out of Hell leads up to light
Re: Maven Building Exception
Posted by Timothy Chen <tn...@gmail.com>.
That is quite odd, the only time I got compliation failure from drill
protocol is with that problem.
Do you have different javas that perhaps maven is picking up from
mavenrc and protoc is using one in your PATH or JAVA_HOME?
Also I believe you're the only one that is reporting this so most
likely is a setup problem on your box, do you have another box that
you can try this on?
Tim
On Sun, Apr 27, 2014 at 8:01 AM, Darion Yaphet <da...@gmail.com> wrote:
> Yes
> Protobuf is installed
>
> darion.yaphet/source/incubator-drill> protoc --version
>
> libprotoc 2.5.0
>
> Maven have used JDK7
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> 23:22:22+0800)
> Maven home: /usr/apache-maven-3.1.1
> Java version: 1.7.0_45, vendor: Oracle Corporation
> Java home: /usr/java/jdk1.7.0_45/jre
> Default locale: zh_CN, platform encoding: UTF-8
> OS name: "linux", version: "3.11.10-100.fc18.i686", arch: "i386", family:
> "unix"
>
>
>
>
> 2014-04-27 22:40 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>
>> Do you have protobuf 2.5.0 installed and in your path? (Protoc)
>>
>> Another thing is that you want to make sure maven is also using java 1.7,
>> and if you run mvn version it shows you, as it is often still set to 1.6.
>> This link shows you how to fix this:
>>
>> http://stackoverflow.com/questions/18813828/why-maven-use-jdk-1-6-but-my-java-version-is-1-7
>>
>> Tim
>>
>> Sent from my iPhone
>>
>> > On Apr 27, 2014, at 7:02 AM, Darion Yaphet <da...@gmail.com>
>> wrote:
>> >
>> > My OS is Fedora 18 and JVM java version "1.7.0_45"
>> >
>> > thanks a lot for help
>> >
>> >
>> > 2014-04-27 22:00 GMT+08:00 Darion Yaphet <da...@gmail.com>:
>> >
>> >> It's sound a good idea and maybe I should reading help-doc
>> >>
>> https://cwiki.apache.org/confluence/display/DRILL/Compiling+Drill+from+source and checkout source code from git
>> >> clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
>> >>
>> >> mvn command as following :
>> >>
>> >> mvn clean this is ok with success
>> >>
>> >> mvn install -DskipTests -X It's failed with helping message ...
>> >>
>> >> [ERROR] Failed to execute goal
>> >> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
>> >> (default-compile) on project drill-protocol: Compilation failure ->
>> [Help 1]
>> >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute
>> >> goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
>> >> (default-compile) on project drill-protocol: Compilation failure
>> >>
>> >>
>> >>
>> >>
>> >> 2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>> >>
>> >> Hi Darion,
>> >>>
>> >>> The build failed because there is some file in the drill folder that
>> >>> doesn't have the apache license header.
>> >>>
>> >>> There might be a file that you added to that folder that is causing it,
>> >>> if you look at the rat.txt file indicated in your output you would
>> know.
>> >>>
>> >>> I also suggest if you want to try out drill to just grab it from our
>> git
>> >>> repo and use latest master.
>> >>>
>> >>> Tim
>> >>>
>> >>> Sent from my iPhone
>> >>>
>> >>>>> On Apr 26, 2014, at 4:35 AM, Darion Yaphet <da...@gmail.com>
>> >>>> wrote:
>> >>>>
>> >>>> Hi All
>> >>>>
>> >>>> I download incubating-drill.zip from
>> >>>
>> http://mirrors.cnnic.cn/apache/incubator/drill/drill-1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
>> >>>>
>> >>>> and use maven to hava a built version
>> >>>>
>> >>>> mvn clean
>> >>>> mvn install -DskipTests
>> >>>>
>> >>>> But mvn building is failed with following exception:
>> >>>>
>> >>>> [ERROR] Failed to execute goal
>> >>> org.apache.rat:apache-rat-plugin:0.10:check
>> >>>> (rat-checks) on project drill-root: Too many files with unapproved
>> >>> license:
>> >>>> 1 See RAT report in:
>> >>>
>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
>> >>>> -> [Help 1]
>> >>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> >>> execute
>> >>>> goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on
>> project
>> >>>> drill-root: Too many files with unapproved license: 1 See RAT report
>> in:
>> >>>
>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/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:84)
>> >>>> at
>> >>>
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> >>>> at
>> >>>
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> >>>> at
>> >>>
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>> >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>> >>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>> >>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>> >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >>>> at
>> >>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> >>>> at
>> >>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> >>>> at java.lang.reflect.Method.invoke(Method.java:606)
>> >>>> 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: 1 See RAT report in:
>> >>>
>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
>> >>>> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
>> >>>> at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
>> >>>> at
>> >>>
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
>> >>>> at
>> >>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>> >>>> ... 19 more
>> >>>> [ERROR]
>> >>>> [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
>> >>>>
>> >>>> It's something wrong in pom.xml ?
>> >>>> or mvn building command is bad
>> >>>>
>> >>>> --
>> >>>>
>> >>>>
>> >>>> long is the way and hard that out of Hell leads up to light
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >>
>> >> long is the way and hard that out of Hell leads up to light
>> >
>> >
>> > --
>> >
>> >
>> > long is the way and hard that out of Hell leads up to light
>>
>
>
>
> --
>
>
> long is the way and hard that out of Hell leads up to light
Re: Maven Building Exception
Posted by Darion Yaphet <da...@gmail.com>.
Yes
Protobuf is installed
darion.yaphet/source/incubator-drill> protoc --version
libprotoc 2.5.0
Maven have used JDK7
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
23:22:22+0800)
Maven home: /usr/apache-maven-3.1.1
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_45/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "linux", version: "3.11.10-100.fc18.i686", arch: "i386", family:
"unix"
2014-04-27 22:40 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> Do you have protobuf 2.5.0 installed and in your path? (Protoc)
>
> Another thing is that you want to make sure maven is also using java 1.7,
> and if you run mvn version it shows you, as it is often still set to 1.6.
> This link shows you how to fix this:
>
> http://stackoverflow.com/questions/18813828/why-maven-use-jdk-1-6-but-my-java-version-is-1-7
>
> Tim
>
> Sent from my iPhone
>
> > On Apr 27, 2014, at 7:02 AM, Darion Yaphet <da...@gmail.com>
> wrote:
> >
> > My OS is Fedora 18 and JVM java version "1.7.0_45"
> >
> > thanks a lot for help
> >
> >
> > 2014-04-27 22:00 GMT+08:00 Darion Yaphet <da...@gmail.com>:
> >
> >> It's sound a good idea and maybe I should reading help-doc
> >>
> https://cwiki.apache.org/confluence/display/DRILL/Compiling+Drill+from+source and checkout source code from git
> >> clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
> >>
> >> mvn command as following :
> >>
> >> mvn clean this is ok with success
> >>
> >> mvn install -DskipTests -X It's failed with helping message ...
> >>
> >> [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> >> (default-compile) on project drill-protocol: Compilation failure ->
> [Help 1]
> >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> >> goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> >> (default-compile) on project drill-protocol: Compilation failure
> >>
> >>
> >>
> >>
> >> 2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> >>
> >> Hi Darion,
> >>>
> >>> The build failed because there is some file in the drill folder that
> >>> doesn't have the apache license header.
> >>>
> >>> There might be a file that you added to that folder that is causing it,
> >>> if you look at the rat.txt file indicated in your output you would
> know.
> >>>
> >>> I also suggest if you want to try out drill to just grab it from our
> git
> >>> repo and use latest master.
> >>>
> >>> Tim
> >>>
> >>> Sent from my iPhone
> >>>
> >>>>> On Apr 26, 2014, at 4:35 AM, Darion Yaphet <da...@gmail.com>
> >>>> wrote:
> >>>>
> >>>> Hi All
> >>>>
> >>>> I download incubating-drill.zip from
> >>>
> http://mirrors.cnnic.cn/apache/incubator/drill/drill-1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
> >>>>
> >>>> and use maven to hava a built version
> >>>>
> >>>> mvn clean
> >>>> mvn install -DskipTests
> >>>>
> >>>> But mvn building is failed with following exception:
> >>>>
> >>>> [ERROR] Failed to execute goal
> >>> org.apache.rat:apache-rat-plugin:0.10:check
> >>>> (rat-checks) on project drill-root: Too many files with unapproved
> >>> license:
> >>>> 1 See RAT report in:
> >>>
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
> >>>> -> [Help 1]
> >>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> >>> execute
> >>>> goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on
> project
> >>>> drill-root: Too many files with unapproved license: 1 See RAT report
> in:
> >>>
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/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:84)
> >>>> at
> >>>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> >>>> at
> >>>
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> >>>> at
> >>>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> >>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> >>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>> at
> >>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>>> at
> >>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>>> at java.lang.reflect.Method.invoke(Method.java:606)
> >>>> 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: 1 See RAT report in:
> >>>
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
> >>>> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
> >>>> at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
> >>>> at
> >>>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> >>>> at
> >>>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> >>>> ... 19 more
> >>>> [ERROR]
> >>>> [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
> >>>>
> >>>> It's something wrong in pom.xml ?
> >>>> or mvn building command is bad
> >>>>
> >>>> --
> >>>>
> >>>>
> >>>> long is the way and hard that out of Hell leads up to light
> >>
> >>
> >>
> >> --
> >>
> >>
> >> long is the way and hard that out of Hell leads up to light
> >
> >
> > --
> >
> >
> > long is the way and hard that out of Hell leads up to light
>
--
long is the way and hard that out of Hell leads up to light
Re: Maven Building Exception
Posted by Timothy Chen <tn...@gmail.com>.
Do you have protobuf 2.5.0 installed and in your path? (Protoc)
Another thing is that you want to make sure maven is also using java 1.7, and if you run mvn version it shows you, as it is often still set to 1.6. This link shows you how to fix this:
http://stackoverflow.com/questions/18813828/why-maven-use-jdk-1-6-but-my-java-version-is-1-7
Tim
Sent from my iPhone
> On Apr 27, 2014, at 7:02 AM, Darion Yaphet <da...@gmail.com> wrote:
>
> My OS is Fedora 18 and JVM java version "1.7.0_45"
>
> thanks a lot for help
>
>
> 2014-04-27 22:00 GMT+08:00 Darion Yaphet <da...@gmail.com>:
>
>> It's sound a good idea and maybe I should reading help-doc
>> https://cwiki.apache.org/confluence/display/DRILL/Compiling+Drill+from+source and checkout source code from git
>> clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
>>
>> mvn command as following :
>>
>> mvn clean this is ok with success
>>
>> mvn install -DskipTests -X It's failed with helping message ...
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
>> (default-compile) on project drill-protocol: Compilation failure -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
>> (default-compile) on project drill-protocol: Compilation failure
>>
>>
>>
>>
>> 2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>>
>> Hi Darion,
>>>
>>> The build failed because there is some file in the drill folder that
>>> doesn't have the apache license header.
>>>
>>> There might be a file that you added to that folder that is causing it,
>>> if you look at the rat.txt file indicated in your output you would know.
>>>
>>> I also suggest if you want to try out drill to just grab it from our git
>>> repo and use latest master.
>>>
>>> Tim
>>>
>>> Sent from my iPhone
>>>
>>>>> On Apr 26, 2014, at 4:35 AM, Darion Yaphet <da...@gmail.com>
>>>> wrote:
>>>>
>>>> Hi All
>>>>
>>>> I download incubating-drill.zip from
>>> http://mirrors.cnnic.cn/apache/incubator/drill/drill-1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
>>>>
>>>> and use maven to hava a built version
>>>>
>>>> mvn clean
>>>> mvn install -DskipTests
>>>>
>>>> But mvn building is failed with following exception:
>>>>
>>>> [ERROR] Failed to execute goal
>>> org.apache.rat:apache-rat-plugin:0.10:check
>>>> (rat-checks) on project drill-root: Too many files with unapproved
>>> license:
>>>> 1 See RAT report in:
>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
>>>> -> [Help 1]
>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>> execute
>>>> goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on project
>>>> drill-root: Too many files with unapproved license: 1 See RAT report in:
>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/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:84)
>>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>>> 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: 1 See RAT report in:
>>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
>>>> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
>>>> at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
>>>> at
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
>>>> at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>>>> ... 19 more
>>>> [ERROR]
>>>> [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
>>>>
>>>> It's something wrong in pom.xml ?
>>>> or mvn building command is bad
>>>>
>>>> --
>>>>
>>>>
>>>> long is the way and hard that out of Hell leads up to light
>>
>>
>>
>> --
>>
>>
>> long is the way and hard that out of Hell leads up to light
>
>
> --
>
>
> long is the way and hard that out of Hell leads up to light
Re: Maven Building Exception
Posted by Darion Yaphet <da...@gmail.com>.
My OS is Fedora 18 and JVM java version "1.7.0_45"
thanks a lot for help
2014-04-27 22:00 GMT+08:00 Darion Yaphet <da...@gmail.com>:
> It's sound a good idea and maybe I should reading help-doc
> https://cwiki.apache.org/confluence/display/DRILL/Compiling+Drill+from+source and checkout source code from git
> clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
>
> mvn command as following :
>
> mvn clean this is ok with success
>
> mvn install -DskipTests -X It's failed with helping message ...
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> (default-compile) on project drill-protocol: Compilation failure -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> (default-compile) on project drill-protocol: Compilation failure
>
>
>
>
> 2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
>
> Hi Darion,
>>
>> The build failed because there is some file in the drill folder that
>> doesn't have the apache license header.
>>
>> There might be a file that you added to that folder that is causing it,
>> if you look at the rat.txt file indicated in your output you would know.
>>
>> I also suggest if you want to try out drill to just grab it from our git
>> repo and use latest master.
>>
>> Tim
>>
>> Sent from my iPhone
>>
>> > On Apr 26, 2014, at 4:35 AM, Darion Yaphet <da...@gmail.com>
>> wrote:
>> >
>> > Hi All
>> >
>> > I download incubating-drill.zip from
>> >
>> http://mirrors.cnnic.cn/apache/incubator/drill/drill-1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
>> >
>> > and use maven to hava a built version
>> >
>> > mvn clean
>> > mvn install -DskipTests
>> >
>> > But mvn building is failed with following exception:
>> >
>> > [ERROR] Failed to execute goal
>> org.apache.rat:apache-rat-plugin:0.10:check
>> > (rat-checks) on project drill-root: Too many files with unapproved
>> license:
>> > 1 See RAT report in:
>> >
>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
>> > -> [Help 1]
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute
>> > goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on project
>> > drill-root: Too many files with unapproved license: 1 See RAT report in:
>> >
>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/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:84)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> > at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> > at java.lang.reflect.Method.invoke(Method.java:606)
>> > 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: 1 See RAT report in:
>> >
>> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
>> > at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
>> > at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
>> > at
>> >
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>> > ... 19 more
>> > [ERROR]
>> > [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
>> >
>> > It's something wrong in pom.xml ?
>> > or mvn building command is bad
>> >
>> > --
>> >
>> >
>> > long is the way and hard that out of Hell leads up to light
>>
>
>
>
> --
>
>
> long is the way and hard that out of Hell leads up to light
>
>
--
long is the way and hard that out of Hell leads up to light
Re: Maven Building Exception
Posted by Darion Yaphet <da...@gmail.com>.
It's sound a good idea and maybe I should reading help-doc
https://cwiki.apache.org/confluence/display/DRILL/Compiling+Drill+from+source
and checkout source code from git
clone https://git-wip-us.apache.org/repos/asf/incubator-drill.git
mvn command as following :
mvn clean this is ok with success
mvn install -DskipTests -X It's failed with helping message ...
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project drill-protocol: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project drill-protocol: Compilation failure
2014-04-26 22:46 GMT+08:00 Timothy Chen <tn...@gmail.com>:
> Hi Darion,
>
> The build failed because there is some file in the drill folder that
> doesn't have the apache license header.
>
> There might be a file that you added to that folder that is causing it, if
> you look at the rat.txt file indicated in your output you would know.
>
> I also suggest if you want to try out drill to just grab it from our git
> repo and use latest master.
>
> Tim
>
> Sent from my iPhone
>
> > On Apr 26, 2014, at 4:35 AM, Darion Yaphet <da...@gmail.com>
> wrote:
> >
> > Hi All
> >
> > I download incubating-drill.zip from
> >
> http://mirrors.cnnic.cn/apache/incubator/drill/drill-1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
> >
> > and use maven to hava a built version
> >
> > mvn clean
> > mvn install -DskipTests
> >
> > But mvn building is failed with following exception:
> >
> > [ERROR] Failed to execute goal
> org.apache.rat:apache-rat-plugin:0.10:check
> > (rat-checks) on project drill-root: Too many files with unapproved
> license:
> > 1 See RAT report in:
> >
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
> > -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on project
> > drill-root: Too many files with unapproved license: 1 See RAT report in:
> >
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/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:84)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:606)
> > 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: 1 See RAT report in:
> >
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
> > at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
> > at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
> > at
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> > at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> > ... 19 more
> > [ERROR]
> > [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
> >
> > It's something wrong in pom.xml ?
> > or mvn building command is bad
> >
> > --
> >
> >
> > long is the way and hard that out of Hell leads up to light
>
--
long is the way and hard that out of Hell leads up to light
Re: Maven Building Exception
Posted by Timothy Chen <tn...@gmail.com>.
Hi Darion,
The build failed because there is some file in the drill folder that doesn't have the apache license header.
There might be a file that you added to that folder that is causing it, if you look at the rat.txt file indicated in your output you would know.
I also suggest if you want to try out drill to just grab it from our git repo and use latest master.
Tim
Sent from my iPhone
> On Apr 26, 2014, at 4:35 AM, Darion Yaphet <da...@gmail.com> wrote:
>
> Hi All
>
> I download incubating-drill.zip from
> http://mirrors.cnnic.cn/apache/incubator/drill/drill-1.0.0-m1-incubating/apache-drill-1.0.0-m1-incubating-source-release.zip
>
> and use maven to hava a built version
>
> mvn clean
> mvn install -DskipTests
>
> But mvn building is failed with following exception:
>
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.10:check
> (rat-checks) on project drill-root: Too many files with unapproved license:
> 1 See RAT report in:
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
> -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on project
> drill-root: Too many files with unapproved license: 1 See RAT report in:
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/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:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> 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: 1 See RAT report in:
> /home/darion.yaphet/source/apache-drill-1.0.0-m1-incubating/target/rat.txt
> at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:183)
> at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:171)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> ... 19 more
> [ERROR]
> [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
>
> It's something wrong in pom.xml ?
> or mvn building command is bad
>
> --
>
>
> long is the way and hard that out of Hell leads up to light