A quick-starter to build the skeleton of a hexagonal architecture application, based on api first and reactive controllers.
-
1 - Installing
Open the root archetype folder on cmd or bash and use this command:
mvn -U -B clean install
-
2 - Importing on the IDE
- Intellij:
Go New Project -> Project -> Select JDK 8 (Can change after) -> Check Create from archetype -> Add Archetype
And set the following values:
- groupId: io.github.jorgerojasdev
- artifactId: hexagonal-reactive-archetype
- version: 0.0.1
- Eclipse:
Go New -> Project -> Maven Project -> Next -> Add Archetype
And set the following values:
- groupId: io.github.jorgerojasdev
- artifactId: hexagonal-reactive-archetype
- version: 0.0.1
- Command Line:
Go to the destination folder of the new project on terminal and use next command:
mvn archetype:generate \ -DarchetypeGroupId=io.github.jorgerojasdev \ -DarchetypeArtifactId=hexagonal-reactive-archetype \ -DarchetypeVersion=0.0.1 \ -DgroupId=<your groupId> \ -DartifactId=<your artifactId>
- Intellij:
Go New Project -> Project -> Select JDK 8 (Can change after) -> Check Create from archetype -> Add Archetype
And set the following values: