Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> Maven error


Copy link to this message
-
Re: Maven error
Try mvn clean install -DskipTests

What JDK version are you using?
On Wed, Oct 31, 2012 at 7:00 PM, Harish Mandala <[EMAIL PROTECTED]>wrote:

> I tried checking out a clean copy and mvn package -DskipTests, it gives me
> the same error. Could it really be a JDK issue?
>
> On Wed, Oct 31, 2012 at 7:35 PM, Mike Percy <[EMAIL PROTECTED]> wrote:
>
> > 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)
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB