-
Notifications
You must be signed in to change notification settings - Fork 239
Building from Source Code
The build process is configured via the file src/main/resources/amidst/metadata.properties
. For example the <filename>
is taken from the variable amidst.build.filename
.
Amidst uses maven for its build process.
mvn clean
mvn install
The command mvn clean
will actually install a dependency that is not available from a public maven repository to the local maven repository, so it is necessary to execute.
This will place the jar file under target/<filename>.jar
.
mvn clean
mvn install
mvn package -DskipTests=true -f travis-ci/wrapper-for-mac/pom.xml
bash travis-ci/scripts/zip-and-move-wrapper-for-mac.sh
The zip-and-move-wrapper-for-mac.sh
bash script simply creates a zip file from the directory located at travis-ci/wrapper-for-mac/target/<filename>/
. You can also do this by yourself.
This will place the zip file under target/<filename>.zip
.
mvn clean
mvn install
mvn package -DskipTests=true -f travis-ci/wrapper-for-windows/pom.xml
This will place the exe file under target/<filename>.exe
.
Travis CI will execute the steps under Building the jar file for the regular build. It will also create the wrappers for Mac OS X and Windows when it creates a new release.