[ http://issues.apache.org/jira/browse/JCR-661?page=comments#action_12456424 ] Jukka Zitting commented on JCR-661: -----------------------------------
Ah, I think I know what the problem is! I forgot to remove the tools.jar dependency from jackrabbit-jcr-rmi/pom.xml in revision 482149 when I added the dependency in trunk/pom.xml. The profiles in trunk/pom.xml of course didn't affect the remaining dependency setting in jackrabbit-jcr-rmi/pom.xml. It should be possible to fix the issue by restoring the profile settings in trunk/pom.xml (reverting 48344) and removing the extra dependency from jackrabbit-jcr-rmi/pom.xml. The profiles in jackrabbit-jcr-rmi/pom.xml introduced in 48344 should not be needed after that. > RMIC not working in subprojects when compiling parent using maven2 > ------------------------------------------------------------------ > > Key: JCR-661 > URL: http://issues.apache.org/jira/browse/JCR-661 > Project: Jackrabbit > Issue Type: Bug > Components: maven > Reporter: Jan Kuzniak > Assigned To: Tobias Bocanegra > Priority: Minor > Fix For: 1.2 > > Attachments: pom-rmi-patch.patch > > > This is because there is a bug such that if you have a child build which uses > the ant plugin it inherits the plugin dependencies of the first time the > plugin is declared. > The workaround is to put the antrun plugin in the toplevel, and add the java > jar to its plugin dependencies. > (reference: > http://mail-archives.apache.org/mod_mbox/maven-users/200602.mbox/[EMAIL > PROTECTED]) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
