I have a multi-project build that’s laid out like this:
rosjava_core/build.gradle rosjava_core/rosjava/build.gradle rosjava_core/rosjava_bootstrap/build.gradle
rosjava depends on rosjava_bootstrap.
I’d like to deploy the artifacts to my .m2 cache. When I run gradle install, however, the install task is skipped for the rosjava_bootstrap project (it gets as far as rosjava_boostrap:jar) and the rosjava:compileJava task is started. The rosjava project depends on some artifacts in my .m2 cache that depend on rosjava_bootstrap being in the .m2 cache. So, the build fails.
I don’t understand why the rosjava_bootstrap:install task isn’t being called immediately after rosjava_bootstrap:jar? If I call gradle rosjava_boostrap:install, it executes as expect.
I believe my question on stackoverflow (http://stackoverflow.com/questions/9483924/gradle-eclipse-plugin) may also have something to do with this.
The code and build scripts are visible here: http://code.google.com/r/damonkohler-rosjava-unstable/source/browse