|
Harish Mandala
2012-10-31, 22:11
Mike Percy
2012-10-31, 22:19
Harish Mandala
2012-10-31, 23:25
Mike Percy
2012-10-31, 23:35
Harish Mandala
2012-11-01, 02:00
Mike Percy
2012-11-01, 02:30
Harish Mandala
2012-11-02, 14:23
Mike Percy
2012-11-02, 17:29
|
-
Maven errorHarish Mandala 2012-10-31, 22:11
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) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.PluginExecutionException: 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.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:82) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: org.apache.maven.plugin.PluginResolutionException: 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.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:211) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:353) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:321) at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:175) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:78) ... 20 more Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8.1 () at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308) at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:199) ... 24 more Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.apache.maven.shared:maven-common-artifact-filters:jar:1.3 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240) ... 26 more Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: 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 at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolv
-
Re: Maven errorMike Percy 2012-10-31, 22:19
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) > at > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > Caused by: org.apache.maven.plugin.PluginExecutionException: 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.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:82) > at > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > ... 19 more > Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin > org.apache.maven.plugins:maven-javadoc-plugin:2.8.1 or one of its
-
Re: Maven errorHarish Mandala 2012-10-31, 23:25
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) > > at > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) > > at > > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > > Caused by: org.apache.maven.plugin.PluginExecutionException: 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 > > > >
-
Re: Maven errorMike 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)
-
Re: Maven errorHarish Mandala 2012-11-01, 02:00
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) > > > > 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
-
Re: Maven errorMike Percy 2012-11-01, 02:30
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)
-
Re: Maven errorHarish Mandala 2012-11-02, 14:23
Hi,
Thanks, it does work now. I'm on OpenJDK 7. Regards, Harish On Wed, Oct 31, 2012 at 10:30 PM, Mike Percy <[EMAIL PROTECTED]> wrote: > 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)
-
Re: Maven errorMike Percy 2012-11-02, 17:29
Great!
On Fri, Nov 2, 2012 at 7:23 AM, Harish Mandala <[EMAIL PROTECTED]>wrote: > Hi, > > Thanks, it does work now. I'm on OpenJDK 7. > > Regards, > Harish > > On Wed, Oct 31, 2012 at 10:30 PM, Mike Percy <[EMAIL PROTECTED]> wrote: > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |