Skip to content

Introduction Quick and Clean

Dr. Jawa edited this page Aug 12, 2013 · 17 revisions

Introduction for Application Developers: Quick and Clean in Three Minutes

mvn archetype:generate 
  -DarchetypeGroupId=de.crowdcode.kissmda.maven 
  -DarchetypeArtifactId=kissmda-maven-app-archetype 
  -DarchetypeVersion=[Version Number] 
  -DgroupId="com.mytest" 
  -DartifactId="mytestapp"
  -DprojectName="mytestapp"
  -DprojectDescription="This is my first project with KissMDA"
  • At the moment we only support one cartridge: kissmda-cartridges-simple-java, which just simply generates the Java interfaces out of the Entity and Service classes.

  • This model below will be created as a standard UML model:

  • Run Maven on command line or use m2eclipse plugin in your Eclipse IDE:
mvn clean package
  • You will get all the interfaces of the UML model above being generated as Java interfaces under following directory:
target/generated-sources/java