Spring Fu JaFu starter using Gradle / Maven build tools.
git clone -b spring-fu-jafu --depth=1 https://github.com/daggerok/main-starter.git
cd main-starter
rm -rf .git
fat jar
./mvnw package
java -jar target/*.jar
http :8080
http :8080/count
http delete :8080
http :8080/count
http :8080 login=ololo firstName=trololo lastName=ohoho
http :8080/ololo
http put :8080/ololo login=trololo firstName=trololo lastName=trololo
http :8080/trololo
project sources archive
find archive with all project sources in target folder too:
./mvnw assembly:single -Dassembly.ignoreMissingDescriptor
unzip -d target/sources target/*-sources.zip
unzip -d target/default target/*-src.zip
fat jar
./gradlew build
java -jar build/libs/*.jar
http :8080
http :8080/count
http delete :8080
http :8080/count
http :8080 login=ololo firstName=trololo lastName=ohoho
http :8080/ololo
http put :8080/ololo login=trololo firstName=trololo lastName=trololo
http :8080/trololo
project sources archive
to create archive with all project sources use gradle sources task, like so:
./gradlew sources
unzip -d build/sources build/*.zip
This project was cloned originally from GitHub: daggerok/spring-fu-jafu-example
NOTE: This project has been based on GitHub: daggerok/main-starter
see also samples