A Maven archetype that structures an application using the Hexagonal Architecture.
These instructions will install the archetype into your local machine
-
Clone the repository or download source code:
$ git clone https://github.com/juanmbellini/hexagonal-archetype.git
or
$ wget https://github.com/juanmbellini/hexagonal-archetype/archive/master.zip
-
Install Maven
$ brew install maven
$ sudo apt-get install maven
-
Change working directory to
./hexagonal-archetype
$ cd ./hexagonal-archetype
-
Install the archetype
$ mvn clean install
-
Create a new project from a local archetype
$ mvn archetype:generate -DarchetypeCatalog=local
-
Select the
com.bellotapps.archetypes:hexagonal-archetype
option. -
Follow the instructions, setting
groupId
,artifactId
,version
andpackage
.
Copyright 2019 BellotApps
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.