Maven - krema2ren/examples GitHub Wiki

Retrieve artifact from web

wget -r --no-parent  -e robots=off --reject "index.html*" http://<path to artifact jars and pom>

Install to local .m2 repository

mvn install:install-file -Dfile=<ARTIFACTID>.jar -DpomFile=<ARTIFACTID>.pom -Dsources=<ARTIFACTID>-sources.jar -DjavaDoc=<ARTIFACTID>-javadoc.jar

Create empty jetty webserver project

mvn archetype:generate -DgroupId=<GROUPID> -DartifcatId=<ARTIFACTID> -Dversio=1.0.0-SNAPSHOT -DarchetypeGroupId=com.strumsoft -DarchetypeVersion=1.0 -DarchetypeArtifactId=jetty-webserver-archetype

Create Spring MVC / Thymeleaf / Bootstrap webserver project

 mvn archetype:generate -DarchetypeGroupId=com.github.spring-mvc-archetypes -DarchetypeArtifactId=spring-mvc-quickstart -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=<GROUPID> -DartifcatId=<ARTIFACTID> -Dversio=1.0.0-SNAPSHOT
⚠️ **GitHub.com Fallback** ⚠️