You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by bc...@apache.org on 2023/01/26 22:49:52 UTC

[incubator-baremaps-site] branch main updated: Add maven build instructions

This is an automated email from the ASF dual-hosted git repository.

bchapuis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 5435f65  Add maven build instructions
5435f65 is described below

commit 5435f65937d7899c42d9534065b953efcb73fba4
Author: Bertil Chapuis <bc...@gmail.com>
AuthorDate: Thu Jan 26 23:49:47 2023 +0100

    Add maven build instructions
---
 developer-manual/how-to-build-with-maven/index.md | 25 +++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/developer-manual/how-to-build-with-maven/index.md b/developer-manual/how-to-build-with-maven/index.md
index b0bc0a4..9a720c2 100644
--- a/developer-manual/how-to-build-with-maven/index.md
+++ b/developer-manual/how-to-build-with-maven/index.md
@@ -4,6 +4,27 @@ title: How to build with Maven
 permalink: /developer-manual/how-to-build-with-maven/
 ---
 
-# How to build with Maven
+# How to Build with Maven
 
-TODO
\ No newline at end of file
+> If you are using Windows, you will need to use mvnw.cmd instead of ./mvnw and use set instead of export to set the environment variable.
+
+Navigate to the root directory of your project. 
+
+To to build the project without running the tests run the command: 
+
+```
+./mvnw clean install -DskipTests 
+```
+
+To unzip the distribution, run the command:
+
+```
+unzip ./baremaps-cli/target/baremaps.zip
+```
+
+
+To add the distribution to your system's PATH environment variable, run the command: 
+
+```
+export PATH=$PATH:pwd/baremaps
+```