Ah, that old annoying thing. This issue tracks this: https://issues.apache.org/jira/browse/JCLOUDS-104
The problem is the "javadoc:aggregate" goal from the "-Pdoc" profile (which we only run in CI). It is defined in the root pom.xml (the parent one) but it depends on all projects, that haven't been already built. Projects also depend on the parent pom, so it is a circular dependency and fails. It just fails when the snapshots "do not exist", so it just manifests the very first build of each version, and only in those projects that use a unique parent pom.xml. The approach to fix it is to split the parent pom in a "top level pom" used for project aggregation (define modules, etc), and a "parent pom" used for pom inheritance (our project/pom.xml) in the main repo. There have been sevefal attempts at fixing this, but I don't know why none has succeeded. What we can do to get the builds green is to remove the "-Pdoc" argument, run the builds, and then bring it back when they pass. On Thu, 7 Feb 2019 at 03:14, Andrew Gaul <g...@apache.org> wrote: > I am not sure why these fail -- it looks like the labs build tries to > download dependencies that it should be building. > > ----- Forwarded message from Apache Jenkins Server < > jenk...@builds.apache.org> ----- > > Date: Thu, 7 Feb 2019 02:09:59 +0000 (UTC) > From: Apache Jenkins Server <jenk...@builds.apache.org> > To: notificati...@jclouds.apache.org > Subject: Build failed in Jenkins: 2.1.x » jclouds-labs-aws-2.1.x #25 > > See < > https://builds.apache.org/job/jclouds-2.1.x/job/jclouds-labs-aws-2.1.x/25/display/redirect > > > > ------------------------------------------ > [...truncated 37.92 KB...] > [ERROR] Then, install it using the command: > [ERROR] mvn install:install-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dclassifier=tests > -Dpackaging=test-jar -Dfile=/path/to/file > [ERROR] > [ERROR] Alternatively, if you host your own repository you can deploy the > file there: > [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dclassifier=tests > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > [ERROR] > [ERROR] Path to dependency: > [ERROR] 1) org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > [ERROR] 2) org.apache.jclouds.labs:elb:test-jar:tests:2.1.3-SNAPSHOT > [ERROR] > [ERROR] ---------- > [ERROR] 2 required artifacts are missing. > [ERROR] > [ERROR] for artifact: > [ERROR] org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > [ERROR] > [ERROR] from the specified remote repositories: > [ERROR] apache-snapshots ( > https://repository.apache.org/content/repositories/snapshots, > releases=false, snapshots=true), > [ERROR] Nexus (http://repository.apache.org/snapshots, releases=false, > snapshots=true), > [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, > snapshots=false) > [ERROR] -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:aggregate-jar > (javadoc) on project jclouds-labs-aws: MavenReportException: Error while > creating archive: Missing: > ---------- > 1) org.apache.jclouds.labs:elb:jar:2.1.3-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > 2) org.apache.jclouds.labs:elb:jar:2.1.3-SNAPSHOT > > 2) org.apache.jclouds.labs:elb:test-jar:tests:2.1.3-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dclassifier=tests > -Dpackaging=test-jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dclassifier=tests > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > 2) org.apache.jclouds.labs:elb:test-jar:tests:2.1.3-SNAPSHOT > > ---------- > 2 required artifacts are missing. > > for artifact: > org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > > from the specified remote repositories: > apache-snapshots ( > https://repository.apache.org/content/repositories/snapshots, > releases=false, snapshots=true), > Nexus (http://repository.apache.org/snapshots, releases=false, > snapshots=true), > central (http://repo.maven.apache.org/maven2, releases=true, > snapshots=false) > > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) > 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.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) > at > org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:181) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at hudson.maven.Maven3Builder.call(Maven3Builder.java:139) > at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) > at hudson.remoting.UserRequest.perform(UserRequest.java:212) > at hudson.remoting.UserRequest.perform(UserRequest.java:54) > at hudson.remoting.Request$2.run(Request.java:369) > at > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > Caused by: org.apache.maven.plugin.MojoExecutionException: > MavenReportException: Error while creating archive: Missing: > ---------- > 1) org.apache.jclouds.labs:elb:jar:2.1.3-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > 2) org.apache.jclouds.labs:elb:jar:2.1.3-SNAPSHOT > > 2) org.apache.jclouds.labs:elb:test-jar:tests:2.1.3-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dclassifier=tests > -Dpackaging=test-jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dclassifier=tests > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > 2) org.apache.jclouds.labs:elb:test-jar:tests:2.1.3-SNAPSHOT > > ---------- > 2 required artifacts are missing. > > for artifact: > org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > > from the specified remote repositories: > apache-snapshots ( > https://repository.apache.org/content/repositories/snapshots, > releases=false, snapshots=true), > Nexus (http://repository.apache.org/snapshots, releases=false, > snapshots=true), > central (http://repo.maven.apache.org/maven2, releases=true, > snapshots=false) > > at > org.apache.maven.plugin.javadoc.AbstractJavadocMojo.failOnError(AbstractJavadocMojo.java:5826) > at > org.apache.maven.plugin.javadoc.JavadocJar.execute(JavadocJar.java:209) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > ... 30 more > Caused by: org.apache.maven.reporting.MavenReportException: Missing: > ---------- > 1) org.apache.jclouds.labs:elb:jar:2.1.3-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > 2) org.apache.jclouds.labs:elb:jar:2.1.3-SNAPSHOT > > 2) org.apache.jclouds.labs:elb:test-jar:tests:2.1.3-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dclassifier=tests > -Dpackaging=test-jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dclassifier=tests > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > 2) org.apache.jclouds.labs:elb:test-jar:tests:2.1.3-SNAPSHOT > > ---------- > 2 required artifacts are missing. > > for artifact: > org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > > from the specified remote repositories: > apache-snapshots ( > https://repository.apache.org/content/repositories/snapshots, > releases=false, snapshots=true), > Nexus (http://repository.apache.org/snapshots, releases=false, > snapshots=true), > central (http://repo.maven.apache.org/maven2, releases=true, > snapshots=false) > > at > org.apache.maven.plugin.javadoc.AbstractJavadocMojo.getClasspath(AbstractJavadocMojo.java:2438) > at > org.apache.maven.plugin.javadoc.AbstractJavadocMojo.addJavadocOptions(AbstractJavadocMojo.java:4536) > at > org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1937) > at > org.apache.maven.plugin.javadoc.JavadocJar.execute(JavadocJar.java:181) > ... 32 more > Caused by: > org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: > Missing: > ---------- > 1) org.apache.jclouds.labs:elb:jar:2.1.3-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > 2) org.apache.jclouds.labs:elb:jar:2.1.3-SNAPSHOT > > 2) org.apache.jclouds.labs:elb:test-jar:tests:2.1.3-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dclassifier=tests > -Dpackaging=test-jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.jclouds.labs > -DartifactId=elb -Dversion=2.1.3-SNAPSHOT -Dclassifier=tests > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > 2) org.apache.jclouds.labs:elb:test-jar:tests:2.1.3-SNAPSHOT > > ---------- > 2 required artifacts are missing. > > for artifact: > org.apache.jclouds.labs:aws-elb:bundle:2.1.3-SNAPSHOT > > from the specified remote repositories: > apache-snapshots ( > https://repository.apache.org/content/repositories/snapshots, > releases=false, snapshots=true), > Nexus (http://repository.apache.org/snapshots, releases=false, > snapshots=true), > central (http://repo.maven.apache.org/maven2, releases=true, > snapshots=false) > > at > org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.throwErrors(DefaultResolutionErrorHandler.java:71) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveWithExceptions(DefaultArtifactResolver.java:326) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:314) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:293) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:271) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:264) > at > org.apache.maven.plugin.javadoc.AbstractJavadocMojo.getClasspath(AbstractJavadocMojo.java:2423) > ... 35 more > [ERROR] > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [JENKINS] Archiving < > https://builds.apache.org/job/jclouds-2.1.x/job/jclouds-labs-aws-2.1.x/ws/rds/pom.xml> > to org.apache.jclouds.labs/rds/2.1.3-SNAPSHOT/rds-2.1.3-SNAPSHOT.pom > [JENKINS] Archiving < > https://builds.apache.org/job/jclouds-2.1.x/job/jclouds-labs-aws-2.1.x/ws/pom.xml> > to > org.apache.jclouds.labs/jclouds-labs-aws/2.1.3-SNAPSHOT/jclouds-labs-aws-2.1.3-SNAPSHOT.pom > [JENKINS] Archiving < > https://builds.apache.org/job/jclouds-2.1.x/job/jclouds-labs-aws-2.1.x/ws/target/jclouds-labs-aws-2.1.3-SNAPSHOT-tests.jar> > to > org.apache.jclouds.labs/jclouds-labs-aws/2.1.3-SNAPSHOT/jclouds-labs-aws-2.1.3-SNAPSHOT-tests.jar > [JENKINS] Archiving < > https://builds.apache.org/job/jclouds-2.1.x/job/jclouds-labs-aws-2.1.x/ws/elb/pom.xml> > to org.apache.jclouds.labs/elb/2.1.3-SNAPSHOT/elb-2.1.3-SNAPSHOT.pom > [JENKINS] Archiving < > https://builds.apache.org/job/jclouds-2.1.x/job/jclouds-labs-aws-2.1.x/ws/aws-iam/pom.xml> > to org.apache.jclouds.labs/aws-iam/2.1.3-SNAPSHOT/aws-iam-2.1.3-SNAPSHOT.pom > [JENKINS] Archiving < > https://builds.apache.org/job/jclouds-2.1.x/job/jclouds-labs-aws-2.1.x/ws/aws-rds/pom.xml> > to org.apache.jclouds.labs/aws-rds/2.1.3-SNAPSHOT/aws-rds-2.1.3-SNAPSHOT.pom > [JENKINS] Archiving < > https://builds.apache.org/job/jclouds-2.1.x/job/jclouds-labs-aws-2.1.x/ws/iam/pom.xml> > to org.apache.jclouds.labs/iam/2.1.3-SNAPSHOT/iam-2.1.3-SNAPSHOT.pom > [JENKINS] Archiving < > https://builds.apache.org/job/jclouds-2.1.x/job/jclouds-labs-aws-2.1.x/ws/aws-elb/pom.xml> > to org.apache.jclouds.labs/aws-elb/2.1.3-SNAPSHOT/aws-elb-2.1.3-SNAPSHOT.pom > [JENKINS] Archiving < > https://builds.apache.org/job/jclouds-2.1.x/job/jclouds-labs-aws-2.1.x/ws/glacier/pom.xml> > to org.apache.jclouds.labs/glacier/2.1.3-SNAPSHOT/glacier-2.1.3-SNAPSHOT.pom > channel stopped > > ----- End forwarded message ----- > > -- > Andrew Gaul > http://gaul.org/ >