Code Monkey home page Code Monkey logo

Comments (7)

yinlou avatar yinlou commented on June 27, 2024

This is a known issue with open jdk (https://bugs.openjdk.java.net/browse/JDK-8212233). Looks like you are using openjdk instead of Oracle's java. You can either build the project using jdk 1.8 (instead of 12) or download from complied package from maven central repository: https://search.maven.org/search?q=a:mltk

from mltk.

dfrankow avatar dfrankow commented on June 27, 2024

Right you are!

I ended up having to do this I think:

brew install caskroom/version/java8
brew cask install homebrew/cask-versions/adoptopenjdk8
brew install gpg

I can get the jar, but I want to know how to build it, in case anything has to be fixed.

from mltk.

yinlou avatar yinlou commented on June 27, 2024

glad to see everything works!

from mltk.

dfrankow avatar dfrankow commented on June 27, 2024

For my own records: mvn install actually still didn't work, but for a different reason.

gpg: no default secret key: No secret key
gpg: signing failed: No secret key
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.816 s
[INFO] Finished at: 2019-04-24T13:03:01-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts) on project mltk: Exit code: 2 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

However, I was able to build the jars with mvn test.

The java world seems to have become somewhat fragile.

Anyway, thanks for your help.

from mltk.

dfrankow avatar dfrankow commented on June 27, 2024

It occurs to me that one way to be more precise about this is to have a Dockerfile that builds the jar. That would very definitely specify the actual dependencies needed and end up with a jar.

I'm not saying you have to do it, just thinking out loud.

from mltk.

yinlou avatar yinlou commented on June 27, 2024

I can't repeat your problem. I'm using a clean docker image and build from scratch. gpg is not installed.

from mltk.

dfrankow avatar dfrankow commented on June 27, 2024

I appreciate you trying.

I am installing on OS X, so I didn't currently try on docker. Just post your Dockerfile here for reference, and don't worry about it unless I come back for more. :)

from mltk.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.