How to package maven based ports

Matthias Fechner idefix at fechner.net
Sun Jul 14 19:21:43 UTC 2019


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



More information about the freebsd-ports mailing list