From 6adfef263976a78be2dd81dda450d72fb72fb448 Mon Sep 17 00:00:00 2001 From: Dariusz Zbyrad Date: Thu, 24 Oct 2024 19:26:16 +0200 Subject: [PATCH] Update the Minimal example application page after add maven wrapper --- .../getting-started/minimal-example-application.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/content/getting-started/minimal-example-application.md b/content/getting-started/minimal-example-application.md index 5e823e4e0..36fb0515a 100644 --- a/content/getting-started/minimal-example-application.md +++ b/content/getting-started/minimal-example-application.md @@ -32,8 +32,16 @@ This project can be built with Apache Maven 3.6 (or later) and Java 17 OpenJDK ( installed prior to building this project as described on the previous pages. The following command can be used to download all project dependencies and compile the Java module. You can build this project directly on a Raspberry Pi with Java 17+. +On Linux: + +``` +./mvnw clean package +``` + +On Windows: + ``` -mvn clean package +mvnw.bat clean package ``` ### Gradle @@ -207,7 +215,7 @@ OpenJDK 64-Bit Server VM (build 17.0.7+7-Debian-1deb11u1, mixed mode, sharing) ```shell $ git clone https://github.com/Pi4J/pi4j-example-minimal.git $ cd pi4j-example-minimal/ -$ mvn clean package +$ ./mvnw clean package ``` * Change to the distribution directory where you can find the generated package and required Java-modules.