You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2006/12/06 16:18:25 UTC
[jira] Reopened: (JCR-661) RMIC not working in subprojects when
compiling parent using maven2
[ http://issues.apache.org/jira/browse/JCR-661?page=all ]
Stefan Guggisberg reopened JCR-661:
-----------------------------------
reopening as the applied batch breaks the build on mac osx.
the m2 build on mac osx (10.4) did work before the patch had
been applied.
the hard-coded dependency on tools.jar causes the build to fail
complaining about the missing dependency. note that there's no
tools.jar in the mac jdk.
the classes contained in tools.jar are on a mac included in classes.jar
on the boot classpath.
temporary workaround for building jackrabit on a mac:
remove the tools.jar dependency in the top-level pom.
> 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: Jukka Zitting
> 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/%3CC2CDEFBECFC9A14892BCCFB4C95F4868044F8230@EX-201.mail.navisite.com%3E)
--
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