Skip to content

Latest commit

 

History

History

archetype-eureka

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Eureka Archetype

Summary

With this archetype its posible to create a Eureka Server project pre-configured for integrate with Spring-Cloud-Config.

Prerequisites

  • JDK 8
  • Maven 3

Install the archetype

To install the archetype in local execute the following commands:

    git clone https://github.com/rafabc/microservices-maven-archetypes.git
    cd microservices-maven-archetypes/archetype-eureka
    mvn clean install
	mvn install archetype:update-local-catalog

Create a project Eureka

    mvn archetype:generate \
        -DarchetypeGroupId=com.archetypes \
        -DarchetypeArtifactId=archetype-eureka \
        -DarchetypeVersion=0.0.1-SNAPSHOT \
        -DgroupId=com.micro \
        -DartifactId=eureka \
        -Dversion=0.0.1-SNAPSHOT