Skip to content

Wilddiary/spring-base-starter

spring-base-starter

Github Build Synk Vulnerabilities GitHub Language Count GitHub Top Language GitHub Repo Size GitHub File Count GitHub Issues GitHub Closed Issues GitHub Pull Requests GitHub Closed Pull Requests GitHub Release GitHub Tag GitHub Contributors GitHub Last Commit GitHub Commit Activity (Week) GitHub Commit Activity (Month) GitHub Commit Activity (Year) Github License Forks Followers Discussions

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.

Usage

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>

About

Inheritable starter pom with standard build experience, distributed tracing and metrics collection.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published