Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume, mail # dev - Maven error


Copy link to this message
-
Re: Maven error
Mike Percy 2012-10-31, 23:35
That should work fine. I'm using JDK6u37 from Oracle on Mac OS 10.7 and it
works for me. I have not tested OpenJDK or Oracle JDK7.

Make sure you are using the Git repository linked from here:
http://flume.apache.org/source.html - try with branch trunk.

And try running with "mvn clean install -DskipTests" (optionally with the
rat param you are providing)

Regards,
Mike

On Wed, Oct 31, 2012 at 4:25 PM, Harish Mandala <[EMAIL PROTECTED]>wrote:

> Hello,
>
> I'm on 3.0.4. Which one should I be on?
>
> Thanks,
> Harish
>
> On Wed, Oct 31, 2012 at 6:19 PM, Mike Percy <[EMAIL PROTECTED]> wrote:
>
> > Harish are you running Maven 3.0?
> >
> > On Wed, Oct 31, 2012 at 3:11 PM, Harish Mandala <[EMAIL PROTECTED]
> > >wrote:
> >
> > > Hello,
> > >
> > > I do:
> > > mvn package -DskipTests -Drat.numUnapprovedLicenses=10 -X
> > >
> > >
> > > Here are the Debug logs. I'm pretty sure it's not a network issue.
> > >
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:aggregate-jar
> > > (javadoc-jar) on project flume-parent: Execution javadoc-jar of goal
> > > org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:aggregate-jar
> failed:
> > > Plugin org.apache.maven.plugins:maven-javadoc-plugin:2.8.1 or one of
> its
> > > dependencies could not be resolved: Failed to collect dependencies for
> > > org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8.1 (): Failed to
> > read
> > > artifact descriptor for
> > > org.apache.maven.shared:maven-common-artifact-filters:jar:1.3: Could
> not
> > > transfer artifact
> > > org.apache.maven.shared:maven-common-artifact-filters:pom:1.3 from/to
> > > repo1.maven.org (http://repo1.maven.org/maven2): Connection reset ->
> > [Help
> > > 1]
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> > > goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:aggregate-jar
> > > (javadoc-jar) on project flume-parent: Execution javadoc-jar of goal
> > > org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:aggregate-jar
> failed:
> > > Plugin org.apache.maven.plugins:maven-javadoc-plugin:2.8.1 or one of
> its
> > > dependencies could not be resolved: Failed to collect dependencies for
> > > org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8.1 ()
> > >     at
> > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
> > >     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:320)
> > >     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > >     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > >     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > >     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > >     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:601)
> > >     at
> > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > >     at
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)