A minimal service chassis for Spring micro-services. Includes a standard build experience and dependencies for distributed tracing and metrics collection. Allows faster bootstrapping of services.
Imports Spring boot and cloud dependencies. Does not include spring-boot-maven-plugin build plugin out of the box to allow use in Spring library applications too. Child projects that require an executable jar to be built, would need to include it as below.
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Includes GPG build plugin for signing the build artifacts. If you desire the artifacts should be signed then you need to configure GPG on your environment. Else, you can skip the signing process by setting the gpg.skip
property to true either in your pom.xml or by passing it as a system property to maven.
Just use it as a parent pom by inheriting it in your project pom. Inherited projects will have the standard build experience with all quality gates defined by this project along with minimal Spring and Spring Cloud dependencies required for any Spring application.
<parent>
<groupId>com.wilddiary</groupId>
<artifactId>spring-base-starter</artifactId>
<version>{version}</version>
<relativePath />
</parent>