common-workflow-language / cwlviewer

A web application to view and share Common Workflow Language workflows
https://view.commonwl.org/
Apache License 2.0
45 stars 28 forks source link

Cannot build docker container #215

Closed pwighton closed 5 years ago

pwighton commented 5 years ago

Description

When building the docker container, an error occurs trying to fetch jsonld-java.

A random sampling of old commits (going back as far as 79383bc) all encounter the same error (with differing versions of jsonld-java)

Actual Behavior

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:27 min
[INFO] Finished at: 2019-01-25T19:05:45Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cwlviewer: Could not resolve dependencies for project org.commonwl.view:cwlviewer:jar:1.2.2-SNAPSHOT: Could not find artifact com.github.jsonld-java.jsonld-java:jsonld-java:bundle:0.12.1 in jitpack.io (https://jitpack.io) -> [Help 1]

Possible Fix

It looks like the string bundle is getting inserted into com.github.jsonld-java.jsonld-java:jsonld-java:bundle:0.12.1 somehow. Unsure how to remove.

I wish I knew more about maven!

Steps to Reproduce

git clone https://github.com/common-workflow-language/cwlviewer.git
cd ./cwlviewer
docker build .

Context

Was trying to work on #202, #203 at the Boston CWL meetup.

Your Environment

$ uname -a
Linux paul-xps-15 4.15.0-43-generic #46~16.04.1-Ubuntu SMP Fri Dec 7 13:31:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ docker --version
Docker version 18.09.0, build 4d60db4
mr-c commented 5 years ago

@pwighton, does the fix from https://github.com/common-workflow-language/cwlviewer/issues/216 solve the issue?

pwighton commented 5 years ago

Yes it does! Thanks so much @kinow !