I don't think that'd be the right way to go. I'd say just create a project/pom.xml (with artifactId jclouds-labs-openstack-project, etc) for each. It's the right way to do a multimodule Maven build, and I think there's a lot of value in keeping the labs out of core so that we have, at least in theory, a faster, more stable core.
A. On Tue, Jun 25, 2013 at 3:35 PM, Matt Stephenson <[email protected]>wrote: > What we don't want, is to maintain multiple different parents for the labs > repos. Since the goal for submodules in labs is to move into jclouds > proper, we want them to ultimately inherit jclouds-project from jclouds. > Should they just inherit that directly? > > Labs seems to be more work after we've extracted it, and isn't really > simplifying anything. Perhaps this stuff needs to go back into jclouds > itself into a labs submodule again. The goal here was to have a > dependencies that we could break and the owners of those repos needed to > coordinate fixing them in isolation to the main jclouds project. > > > On Tue, Jun 25, 2013 at 3:28 PM, Andrew Bayer <[email protected] > >wrote: > > > This, unless I'm very wrong, is a symptom of the inherent wtf-ery of > > aggregating with the Maven javadocs plugin from the top-level POM, when > > that top-level POM is *also* the parent POM of the children, i.e., the > > situation we've got in the various labs repos, karaf and cli - since the > > parent POM has to be the first module in the reactor build order, the > > parent/top-level POM builds before any of the children, but the aggregate > > javadocs goal needs there to already be groupId:artifactId:version > > artifacts for the children in order to work. Sooooooo, if there isn't > > already that groupId:artifactId:version available from a Maven repo, > it'll > > blow up good. As you see here. > > > > The proper way to fix this is to either split the top-level and parent > POMs > > into two (like we've got in jclouds and -chef), or to split the javadoc > > into a separate module that depends on all the other children. That > > scenario also crops up with assemblies - hence cli having a separate > > assembly module. I strongly advise going with the split of parent and > > top-level into separate POMs. *Strongly* > > > > A. > > > > On Tue, Jun 25, 2013 at 3:19 PM, <[email protected]> wrote: > > > > > See < > > > https://jclouds.ci.cloudbees.com/job/jclouds-labs-openstack/24/changes > > > > > > > > Changes: > > > > > > [Everett Toews] Rename reddwarf to trove > > > > > > ------------------------------------------ > > > [...truncated 2254 lines...] > > > Then, install it using the command: > > > mvn install:install-file -DgroupId=org.apache.jclouds.labs > > > -DartifactId=openstack-trove -Dversion=1.7.0-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=openstack-trove -Dversion=1.7.0-SNAPSHOT > -Dclassifier=tests > > > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > > > > > Path to dependency: > > > 1) > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > 2) > > > org.apache.jclouds.labs:openstack-trove:test-jar:tests:1.7.0-SNAPSHOT > > > > > > ---------- > > > 2 required artifacts are missing. > > > > > > for artifact: > > > > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > > > > from the specified remote repositories: > > > central (http://repo.cloudbees.com/content/repositories/central, > > > releases=true, snapshots=false), > > > cloudbees-private-snapshot-repository ( > > > https://repository-jclouds.forge.cloudbees.com/snapshot, > releases=false, > > > snapshots=true), > > > cloudbees-private-release-repository ( > > > https://repository-jclouds.forge.cloudbees.com/release, releases=true, > > > snapshots=false), > > > apache-snapshots ( > > > https://repository.apache.org/content/repositories/snapshots, > > > releases=false, snapshots=true), > > > sonatype-nexus-snapshots ( > > > https://oss.sonatype.org/content/repositories/snapshots, > releases=false, > > > snapshots=true), > > > apache.snapshots (http://repository.apache.org/snapshots, > > > releases=false, snapshots=true) > > > > > > Stack trace : > > > 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-openstack: MavenReportException: > Error > > > while creating archive: Missing: > > > ---------- > > > 1) org.apache.jclouds.labs:openstack-trove:jar:1.7.0-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=openstack-trove -Dversion=1.7.0-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=openstack-trove -Dversion=1.7.0-SNAPSHOT -Dpackaging=jar > > > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > > > > Path to dependency: > > > 1) > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > 2) org.apache.jclouds.labs:openstack-trove:jar:1.7.0-SNAPSHOT > > > > > > 2) > org.apache.jclouds.labs:openstack-trove:test-jar:tests:1.7.0-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=openstack-trove -Dversion=1.7.0-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=openstack-trove -Dversion=1.7.0-SNAPSHOT > -Dclassifier=tests > > > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > > > > > Path to dependency: > > > 1) > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > 2) > > > org.apache.jclouds.labs:openstack-trove:test-jar:tests:1.7.0-SNAPSHOT > > > > > > ---------- > > > 2 required artifacts are missing. > > > > > > for artifact: > > > > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > > > > from the specified remote repositories: > > > central (http://repo.cloudbees.com/content/repositories/central, > > > releases=true, snapshots=false), > > > cloudbees-private-snapshot-repository ( > > > https://repository-jclouds.forge.cloudbees.com/snapshot, > releases=false, > > > snapshots=true), > > > cloudbees-private-release-repository ( > > > https://repository-jclouds.forge.cloudbees.com/release, releases=true, > > > snapshots=false), > > > apache-snapshots ( > > > https://repository.apache.org/content/repositories/snapshots, > > > releases=false, snapshots=true), > > > sonatype-nexus-snapshots ( > > > https://oss.sonatype.org/content/repositories/snapshots, > releases=false, > > > snapshots=true), > > > apache.snapshots (http://repository.apache.org/snapshots, > > > releases=false, snapshots=true) > > > > > > 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:319) > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) > > > at > > > > > > org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > 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:158) > > > at hudson.maven.Maven3Builder.call(Maven3Builder.java:98) > > > at hudson.maven.Maven3Builder.call(Maven3Builder.java:64) > > > at hudson.remoting.UserRequest.perform(UserRequest.java:118) > > > at hudson.remoting.UserRequest.perform(UserRequest.java:48) > > > at hudson.remoting.Request$2.run(Request.java:326) > > > at > > > > > > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) > > > at > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > > > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > > > at > > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) > > > at > > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) > > > at java.lang.Thread.run(Thread.java:662) > > > Caused by: org.apache.maven.plugin.MojoExecutionException: > > > MavenReportException: Error while creating archive: Missing: > > > ---------- > > > 1) org.apache.jclouds.labs:openstack-trove:jar:1.7.0-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=openstack-trove -Dversion=1.7.0-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=openstack-trove -Dversion=1.7.0-SNAPSHOT -Dpackaging=jar > > > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > > > > Path to dependency: > > > 1) > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > 2) org.apache.jclouds.labs:openstack-trove:jar:1.7.0-SNAPSHOT > > > > > > 2) > org.apache.jclouds.labs:openstack-trove:test-jar:tests:1.7.0-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=openstack-trove -Dversion=1.7.0-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=openstack-trove -Dversion=1.7.0-SNAPSHOT > -Dclassifier=tests > > > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > > > > > Path to dependency: > > > 1) > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > 2) > > > org.apache.jclouds.labs:openstack-trove:test-jar:tests:1.7.0-SNAPSHOT > > > > > > ---------- > > > 2 required artifacts are missing. > > > > > > for artifact: > > > > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > > > > from the specified remote repositories: > > > central (http://repo.cloudbees.com/content/repositories/central, > > > releases=true, snapshots=false), > > > cloudbees-private-snapshot-repository ( > > > https://repository-jclouds.forge.cloudbees.com/snapshot, > releases=false, > > > snapshots=true), > > > cloudbees-private-release-repository ( > > > https://repository-jclouds.forge.cloudbees.com/release, releases=true, > > > snapshots=false), > > > apache-snapshots ( > > > https://repository.apache.org/content/repositories/snapshots, > > > releases=false, snapshots=true), > > > sonatype-nexus-snapshots ( > > > https://oss.sonatype.org/content/repositories/snapshots, > releases=false, > > > snapshots=true), > > > apache.snapshots (http://repository.apache.org/snapshots, > > > releases=false, snapshots=true) > > > > > > 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) > > > ... 27 more > > > Caused by: org.apache.maven.reporting.MavenReportException: Missing: > > > ---------- > > > 1) org.apache.jclouds.labs:openstack-trove:jar:1.7.0-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=openstack-trove -Dversion=1.7.0-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=openstack-trove -Dversion=1.7.0-SNAPSHOT -Dpackaging=jar > > > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > > > > Path to dependency: > > > 1) > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > 2) org.apache.jclouds.labs:openstack-trove:jar:1.7.0-SNAPSHOT > > > > > > 2) > org.apache.jclouds.labs:openstack-trove:test-jar:tests:1.7.0-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=openstack-trove -Dversion=1.7.0-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=openstack-trove -Dversion=1.7.0-SNAPSHOT > -Dclassifier=tests > > > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > > > > > Path to dependency: > > > 1) > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > 2) > > > org.apache.jclouds.labs:openstack-trove:test-jar:tests:1.7.0-SNAPSHOT > > > > > > ---------- > > > 2 required artifacts are missing. > > > > > > for artifact: > > > > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > > > > from the specified remote repositories: > > > central (http://repo.cloudbees.com/content/repositories/central, > > > releases=true, snapshots=false), > > > cloudbees-private-snapshot-repository ( > > > https://repository-jclouds.forge.cloudbees.com/snapshot, > releases=false, > > > snapshots=true), > > > cloudbees-private-release-repository ( > > > https://repository-jclouds.forge.cloudbees.com/release, releases=true, > > > snapshots=false), > > > apache-snapshots ( > > > https://repository.apache.org/content/repositories/snapshots, > > > releases=false, snapshots=true), > > > sonatype-nexus-snapshots ( > > > https://oss.sonatype.org/content/repositories/snapshots, > releases=false, > > > snapshots=true), > > > apache.snapshots (http://repository.apache.org/snapshots, > > > releases=false, snapshots=true) > > > > > > 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) > > > ... 29 more > > > Caused by: > > > org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: > > > Missing: > > > ---------- > > > 1) org.apache.jclouds.labs:openstack-trove:jar:1.7.0-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=openstack-trove -Dversion=1.7.0-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=openstack-trove -Dversion=1.7.0-SNAPSHOT -Dpackaging=jar > > > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > > > > Path to dependency: > > > 1) > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > 2) org.apache.jclouds.labs:openstack-trove:jar:1.7.0-SNAPSHOT > > > > > > 2) > org.apache.jclouds.labs:openstack-trove:test-jar:tests:1.7.0-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=openstack-trove -Dversion=1.7.0-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=openstack-trove -Dversion=1.7.0-SNAPSHOT > -Dclassifier=tests > > > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > > > > > Path to dependency: > > > 1) > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > 2) > > > org.apache.jclouds.labs:openstack-trove:test-jar:tests:1.7.0-SNAPSHOT > > > > > > ---------- > > > 2 required artifacts are missing. > > > > > > for artifact: > > > > > > > > > org.apache.jclouds.provider:rackspace-clouddatabases-us:bundle:1.7.0-SNAPSHOT > > > > > > from the specified remote repositories: > > > central (http://repo.cloudbees.com/content/repositories/central, > > > releases=true, snapshots=false), > > > cloudbees-private-snapshot-repository ( > > > https://repository-jclouds.forge.cloudbees.com/snapshot, > releases=false, > > > snapshots=true), > > > cloudbees-private-release-repository ( > > > https://repository-jclouds.forge.cloudbees.com/release, releases=true, > > > snapshots=false), > > > apache-snapshots ( > > > https://repository.apache.org/content/repositories/snapshots, > > > releases=false, snapshots=true), > > > sonatype-nexus-snapshots ( > > > https://oss.sonatype.org/content/repositories/snapshots, > releases=false, > > > snapshots=true), > > > apache.snapshots (http://repository.apache.org/snapshots, > > > releases=false, snapshots=true) > > > > > > 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) > > > ... 32 more > > > Sending e-mails to: [email protected] > > > channel stopped > > > > > >
