ODK-X Sync Webui Build Issue

1. What is the problem? Be very detailed.

When running the command:
docker build --pull -t odk/sync-web-ui https://github.com/opendatakit/sync-endpoint-web-ui.git
The build fails. I provided the output (see attached.)

2. What app or server are you using and on what device and operating system? Include version numbers.

Running this on a VM with Ubuntu 18.04

3. What you have you tried to fix the problem?
I noticed that the maven version recently was updated and changed the Dockerfile to use an older version of maven
Instead of FROM maven:3 as compiler
I used FROM maven 3.6.2 as compiler

Fork here: https://github.com/ojw713/sync-endpoint-web-ui

This fixed the issue for me, but I’m not a Java/Maven person and can’t speak to this being a good solution.

4. What steps can we take to reproduce the problem?
Run this command:
docker build --pull -t odk/sync-web-ui https://github.com/opendatakit/sync-endpoint-web-ui.git

5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
webui-ui-build-issues.txt (35.3 KB)

1 Like

Hi,

Thanks for pointing out the issue! The build issue has been fixed.