-
Notifications
You must be signed in to change notification settings - Fork 2
How to build the server
Matthew Buckton edited this page Mar 4, 2021
·
1 revision
Firstly you will need to clone the repo, since there are 2 sub-modules you will need to do a git clone that also recursively clones the sub modules
git clone --recurse-submodules https://github.com/Maps-Messaging/mapsmessaging_server.git
This will clone the repository and the sub modules into directory called mapsmessaging_server.
To build the server you will need
- JDK13 or higher installed
- Maven installed
Then simply on *nix
export JAVA_HOME=<your java home>
export MAVEN_HOME=<your maven home>
export PATH=PATH=$JAVA_HOME/bin;$MAVEN_HOME/bin;$PATH
call mvn clean install --file eclipse-paho-mqtt-sn-udp-client/pom.xml -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
call mvn clean install
or windows
set JAVA_HOME=<your java home>
set MAVEN_HOME=<your maven home>
set PATH=PATH=%JAVA_HOME%\bin;%MAVEN_HOME%\bin;%PATH%
call mvn clean install --file eclipse-paho-mqtt-sn-udp-client/pom.xml -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
call mvn clean install