1 Java Project Manager (1JPM), is a Maven/Gradle alternative with a twist. It's a single Java file itself, which should be edited by you to configure

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-07-08 16:00:06

1 Java Project Manager (1JPM), is a Maven/Gradle alternative with a twist. It's a single Java file itself, which should be edited by you to configure your project.

Meaning instead of writing XML (Maven) or Groovy (Gradle), your build file is Java code too. To be more exact, you download/copy the JPM.java file into your project, open a terminal and execute:

to build your project (build is a task, which compiles and creates a jar file from your code). If you want to include dependencies in the jar run build-fat instead.

1JPM works in a very similar way to Gradle, however everything in 1JPM is a plugin (even all its tasks), and third-party plugins can be added simply by appending their Java code at the bottom of the JPM class (must be written in Java 8 and not use external dependencies).

Leave a Comment