Code Monkey home page Code Monkey logo

moot's Introduction

moot

A shell script to easily select, download and run the versions of Maven and JDK you want for your build.

moot stands for "Maven boot". It allows to bootstrap a maven build by using (and downloading if required) a given version of Maven and JDK. These versions are indicated in the file moot.properties (cf. commented example in this repository).

Use cases

moot can be used in the following use cases:

  • you want a reproducible build, so you use the reproducible-build-maven-plugin, but you need a way to impose an exact version of Maven and JDK,
  • you want a way to easily test your project with different versions of Maven and JDK,
  • you want to be able to build your project from anywhere, even if Maven and JDK are not installed.

Compatibility

Currently, the script is working on Linux and "should" work on MacOS. For Windows users, it would be interesting to have an equivalent PowerShell script: feel free to propose a Pull Request!

Usage

  • put moot.sh and moot.properties at the root of your maven project
  • give execute permissions to moot.sh
  • configure moot.properties to select the Maven and JDK versions you want
  • use moot instead of mvn to run the build:
./moot.sh clean install

JDK vendors

Currently, JDK are downloaded from the AdoptOpenJDK project. However, I plan to add other vendors (AWS Corretto, Oracle OpenJDK...) in the future.

moot's People

Contributors

zlika avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.