Building JAVA-applications with maven

Boris Samorodov bsam at passap.ru
Wed Jun 8 09:19:51 UTC 2016


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


More information about the freebsd-ports mailing list