tuub / kitodo-mediaserver

Kitodo Mediaserver
GNU General Public License v3.0
7 stars 6 forks source link

Build broken: package inet.ipaddr does not exist #280

Closed ponchofiesta closed 5 years ago

ponchofiesta commented 5 years ago

Build is currently broken. Maven says:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project kitodo-mediaserver-fileserver: Compilation failure: Compilation failure:
[ERROR] /srv/git/kitodo-mediaserver-tub/kitodo-mediaserver-fileserver/src/main/java/org/kitodo/mediaserver/fileserver/controller/FileController.java:[14,19] package inet.ipaddr does not exist
[ERROR] /srv/git/kitodo-mediaserver-tub/kitodo-mediaserver-fileserver/src/main/java/org/kitodo/mediaserver/fileserver/controller/FileController.java:[15,19] package inet.ipaddr does not exist

For some reason the ipaddress package from jitpack contains nothing but a POM.

ponchofiesta commented 5 years ago

Adding the jitpack.io repo made it the default repo for Maven. For some reason jitpack could build packages for ipaddress. Now it doesn't, which is OK. ipaddress does not use default Maven directory structure.

With this commit, Maven uses Apache repo by default. There is a working prebuild package of ipaddress. Jitpack is used for abby-to-alto only now.

This also updates ipaddress package to the latest version (5.0.1)