Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: mvn-local doesn't work for multimodule builds
https://bugzilla.redhat.com/show_bug.cgi?id=667636
Summary: mvn-local doesn't work for multimodule builds Product: Fedora Version: rawhide Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: medium Priority: low Component: maven AssignedTo: sochotni@redhat.com ReportedBy: akurtako@redhat.com QAContact: extras-qa@fedoraproject.org CC: akurtako@redhat.com, sochotni@redhat.com, java-sig-commits@lists.fedoraproject.org Classification: Fedora Target Release: ---
Try building piccolo2d. Building extras module fails with: [ERROR] [search path for source files: /home/akurtakov/work/rpmeditor-demo/piccolo2d/piccolo2d-1.3-src/extras/target/classes,/usr/share/maven/repository/JPP/piccolo2d-core.jar,.] [ERROR] [search path for class files: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/resources.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/rt.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/sunrsasign.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/jsse.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/jce.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/charsets.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/netx.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/plugin.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/rhino.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/modules/jdk.boot.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/classes,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/sunjce_provider.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/pulse-java.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/dnsns.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/sunpkcs11.jar,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/gnome-java-bridge.jar! ,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/localedata.jar,/home/akurtakov/work/rpmeditor-demo/piccolo2d/piccolo2d-1.3-src/extras/target/classes,/usr/share/maven/repository/JPP/piccolo2d-core.jar,.]
The problem here is that mvn.repo.local is not used by the depsolver resulting in piccolo2-core.jar which was installed in it by mvn.
Our depsolver should resolve from mvn.repo.local if not defined it should use ~/.m2 otherwise we will make it impossible for devs to use mvn-local for development.