Today, I finally invested the time to fix an issue forever, hopefully 😄

We need Maven3 to install a few jars into the local Maven repo. Regrettably, older versions of Maven3 are regularly deleted from the download server (https://dlcdn.apache.org/maven/maven-3/). This broke our Docker image build process over and over again.

To fix this misery, I wrote a small Babashka script that finds out the latest version of Maven3 on its own:

https://github.com/simplemono/a-la-carte/blob/main/maven3/install

It replaces the old script that suffered from the described problem. The a-la-carte project contains this new script to conveniently install Maven3 into your Docker image if it is based on Ubuntu.

https://github.com/simplemono/a-la-carte/blob/main/install.md#maven3

  • maxw85OPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    We needed a newer version of Maven than what was available via apt. If I remember correctly for a script of Datomic Pro that also needs `mvn`.