Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2019 21:21:29 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        Jonathan Chen <jonc@chen.org.nz>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: How to package maven based ports
Message-ID:  <d26c73f1-b644-23e0-dba7-2172619cf1b4@fechner.net>
In-Reply-To: <CAJuc1zMB9Ee-iyb8Gb0DeTJBuWrWC%2BvAEQyKgyS5gjDwLkpAsg@mail.gmail.com>
References:  <9caa5ea5-e030-adab-516d-df957e07760f@fechner.net> <CAJuc1zMB9Ee-iyb8Gb0DeTJBuWrWC%2BvAEQyKgyS5gjDwLkpAsg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 14.07.2019 um 00:23 schrieb Jonathan Chen:
> Have a look at the java/eclipse port. It uses a pre-warmed maven
> repository that is fetched from github.
>
> You can create a localised repository that only contains the
> dependancies required by the project by specifying:
>   -D maven.repo.local=/my/local/repo
>
> Once your project builds correctly, you can create a repo as a project
> on Github with its contents that can be retrieved with the port for
> the build.

thanks a lot for this.
I'm not fully done with the port, but I was able to get this maven
repository to be pushed to github and the port downloads it and
compilation works as expected.
Thanks a lot for you answer, it helped a lot.

Now I need someone for testing the port, as I do not use it and are
therefor I'm not able to test it.

The final step would be to do some clean up a make the port more pretty.

I try later to write a short summary if some one else needs to build a
port with maven how it could be done.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d26c73f1-b644-23e0-dba7-2172619cf1b4>