Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 12:18:36 +0300
From:      Boris Samorodov <bsam@passap.ru>
To:        Kurt Jaeger <lists@opsec.eu>, "Mikhail T." <mi+oro@aldan.algebra.com>
Cc:        yerenkow@gmail.com, freebsd-ports@FreeBSD.org
Subject:   Re: Building JAVA-applications with maven
Message-ID:  <4032e3dc-d8b8-94ff-e85a-f315328779ef@passap.ru>
In-Reply-To: <20160608004639.GP41922@home.opsec.eu>
References:  <b60fe74d-e416-cac6-ca00-50ed395380de@aldan.algebra.com> <20160608004639.GP41922@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
08.06.16 03:46, Kurt Jaeger пишет:
> Hi!
> 
> [maven and resolving dependencies by download at build time]
>> Ports-system needs some way of dealing with these issues properly and 
>> orderly. What should the strategy be?
> 
> Thanks for formulating the question.

+1

>> How about allowing a port to declare the following needs, which would be 
>> taken care of for it:
>>
>>  1. It needs the following JARs, which /aren't/ already available from
>>     other ports, downloaded -- into ${DISTDIR}/jars or some such.
> 
> Doesn't this need maven-support ? Is there a way to tell
> maven "fetch the deps, and put them somewhere" ?

IFAIK the command "mvn -Dmaven.repo.local=$PATH" takes files from $PATH
it they exist, otherwise fetch and put them into $PATH.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4032e3dc-d8b8-94ff-e85a-f315328779ef>