From d6557f7eff7d7b54b1f37e57f0964132a47ee537 Mon Sep 17 00:00:00 2001 From: Osiris-Team <59899645+Osiris-Team@users.noreply.github.com> Date: Sat, 3 Aug 2024 23:36:19 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 04ce49a..edee9ec 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,9 @@ with JAVA_HOME set **Alternatively you can simply clone/download this repository since it functions as a template too.** -Note that 1JPM is now using **Maven under the hood**, since the complexity as a fully independent build tool -(see version [1.0.3](https://github.com/Osiris-Team/1JPM/blob/1.0.3/src/main/java/JPM.java)) was too high for a single file. Besides, this gives us access to more features, a rich and mature plugin ecosystem, as well as **great IDE compatibility**. 1JPM will take care of generating the pom.xml, downloading the Maven-Wrapper, and then executing Maven as you can see in `main()` below: +Below you can see the example configuration which runs the `clean package` tasks. +This compiles and creates a jar file from your code, and additionally creates the sources, +javadoc and with-dependencies jars. ```java class ThisProject extends JPM.Project { @@ -65,9 +66,8 @@ class ThirdPartyPlugins extends JPM.Plugins{ } ``` -Above you can see the example configuration which runs the `clean package` tasks. -This compiles and creates a jar file from your code, and additionally creates the sources, -javadoc and with-dependencies jars. +Note that 1JPM is now using **Maven under the hood**, since the complexity as a fully independent build tool +(see version [1.0.3](https://github.com/Osiris-Team/1JPM/blob/1.0.3/src/main/java/JPM.java)) was too high for a single file. Besides, this gives us access to more features, a rich and mature plugin ecosystem, as well as **great IDE compatibility**. 1JPM will take care of generating the pom.xml, downloading the Maven-Wrapper, and then executing Maven as you can see in `main()`. A 1JPM plugin is basically a wrapper around a Maven plugin (its xml), providing easy access to its features, but can also be anything else to make building easier. These third-party plugins can be added simply by appending their Java code inside the ThirdPartyPlugins class. From e7349627dd882d3ce3d8febc9eb2d64c4571f2c8 Mon Sep 17 00:00:00 2001 From: Osiris-Team <59899645+Osiris-Team@users.noreply.github.com> Date: Sat, 3 Aug 2024 23:37:46 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index edee9ec..7617235 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ class ThirdPartyPlugins extends JPM.Plugins{ // 1JPM version 3.0.0 by Osiris-Team: https://github.com/Osiris-Team/1JPM // To upgrade JPM, replace the JPM class below with its newer version +public class JPM { //... } ```