Skip to content

DGHLJ/pub-maven-archetypes

 
 

Repository files navigation

Maven Archetypes

Release: Build Status Develop: Build Status

#Description This project helps to create a multi-module maven project. It contains the following archetype

  1. parent -- this is the parent project, it also creates a common module in the root parent
  2. exectable-jar -- this is a submodule which creates fat executable JAR
  3. restful-api -- restful API archetype with Spring Boot and Spring MVC
  4. webapp -- web application with Spring MVC
  5. couchdb-design -- create couchdb design doc with couchdbapp
  6. code quality definition files -- configuration for various code quality tools
  7. spring batch

#The following plugin and frameworks are pre configure.

  • Spring Boot
  • jacoco
  • findbug
  • testng
  • equalsverifier
  • mockito
  • checkers-quals
  • checkstyle
  • enforcer
  • pmd
  • cobertura
  • antrun
  • pojomatic
  • spring test framework

#Usage maven repository: https://github.com/DGHLJ/pub-maven-archetypes/blob/master/

##parent project: mvn archetype:generate -DarchetypeRepository=https://github.com/DGHLJ/pub-maven-archetypes-repo/raw/master/releases -DarchetypeGroupId=com.archetype -DarchetypeArtifactId=mvn-archetype-parent -DarchetypeVersion=1.0 -DgroupId= -DartifactId=<project artifact Id>

##executable-jar: mvn archetype:generate -DarchetypeRepository=https://github.com/DGHLJ/pub-maven-archetypes-repo/raw/master/releases -DarchetypeGroupId=com.archetype -DarchetypeArtifactId=executable-jar -DarchetypeVersion=1.0 -DgroupId= -DartifactId=<submodule artifact Id>

##jpa: mvn archetype:generate -DarchetypeRepository=https://github.com/DGHLJ/pub-maven-archetypes-repo/raw/master/releases -DarchetypeGroupId=com.archetype -DarchetypeArtifactId=jpa -DarchetypeVersion=1.0 -DgroupId= -DartifactId=<submodule artifact Id>

##restful API mvn archetype:generate -DarchetypeRepository=https://github.com/DGHLJ/pub-maven-archetypes-repo/raw/master/releases -DarchetypeGroupId=com.archetype -DarchetypeArtifactId=restful-service -DarchetypeVersion=1.0 -DgroupId= -DartifactId=<submodule artifact Id>

##spring batch mvn archetype:generate -DarchetypeRepository=https://github.com/DGHLJ/pub-maven-archetypes-repo/raw/master/releases -DarchetypeGroupId=com.archetype -DarchetypeArtifactId=spring-batch -DarchetypeVersion=1.0 -DgroupId= -DartifactId=<submodule artifact Id>

Outstanding issues

reflow-maven-skin causes the following non-breaking issue: andriusvelykis/reflow-maven-skin#51 Investigate https://github.com/vackosar/gitflow-incremental-builder

About

Public Maven archetypes

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 60.5%
  • JavaScript 31.3%
  • Shell 6.7%
  • CSS 1.5%