sysutils/apache-mesos: Enable Java bindings request for review
Jonathan Chen
jonc at chen.org.nz
Fri Jun 19 21:37:55 UTC 2020
On Sat, 20 Jun 2020 at 07:14, James Wright
<james.wright at digital-chaos.com> wrote:
[..]
> One specific area of concern is dealing with the Maven dependencies
> fetched mid-way through the build phase. I thought I had a solution
> utilizing
> the maven dependency plugin "go-offline" goal in the fetch phase and
> providing a skeleton POM to describe the dependencies required. However,
> there
> is a question mark over where these dependencies should be downloaded
> during the fetch phase;
One possible way to do this is to provide an offline maven repository
that has all the required dependencies pre-fetched. The pre-warmed
repo is static, and can be retrieved and extracted during the
fetch-phase. Your maven build can then specify
"-Dmaven.repo.local=${WRKDIR}/local-repo".
The java/eclipse port uses this strategy.
Cheers.
--
Jonathan Chen <jonc at chen.org.nz>
More information about the freebsd-ports
mailing list