-
Notifications
You must be signed in to change notification settings - Fork 8
Introduction Quick and Clean
Dr. Jawa edited this page Aug 12, 2013
·
17 revisions
- You can create a Maven project based on KissMDA App Maven archetype: kissmda-maven-app-archetype. Don't worry about all the Maven things you need because we put all the Maven KissMDA artifacts in Maven Central:
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
- That's it! If you want to know the background, please check out our longer introduction version: Introduction for Application Developers.