Spring Boot Scala Application

Parent pom that be used for Scala-based Spring Boot applications

License

License

Categories

Categories

Scala Languages Spring Boot Container Microservices
GroupId

GroupId

com.github.jleskovar
ArtifactId

ArtifactId

spring-boot-scala-app-parent
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

pom
Description

Description

Spring Boot Scala Application
Parent pom that be used for Scala-based Spring Boot applications
Project URL

Project URL

https://github.com/jleskovar/spring-boot-scala-app-parent
Source Code Management

Source Code Management

https://github.com/jleskovar/spring-boot-scala-app-parent.git

Download spring-boot-scala-app-parent

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.jleskovar/spring-boot-scala-app-parent/ -->
<dependency>
    <groupId>com.github.jleskovar</groupId>
    <artifactId>spring-boot-scala-app-parent</artifactId>
    <version>1.0.4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.jleskovar/spring-boot-scala-app-parent/
implementation 'com.github.jleskovar:spring-boot-scala-app-parent:1.0.4'
// https://jarcasting.com/artifacts/com.github.jleskovar/spring-boot-scala-app-parent/
implementation ("com.github.jleskovar:spring-boot-scala-app-parent:1.0.4")
'com.github.jleskovar:spring-boot-scala-app-parent:pom:1.0.4'
<dependency org="com.github.jleskovar" name="spring-boot-scala-app-parent" rev="1.0.4">
  <artifact name="spring-boot-scala-app-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.jleskovar', module='spring-boot-scala-app-parent', version='1.0.4')
)
libraryDependencies += "com.github.jleskovar" % "spring-boot-scala-app-parent" % "1.0.4"
[com.github.jleskovar/spring-boot-scala-app-parent "1.0.4"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.6
org.springframework.boot : spring-boot-starter jar

test (2)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 2.2.4
org.springframework.boot : spring-boot-starter-test jar

Project Modules

There are no modules declared in this project.

spring-boot-scala-app-parent

Convenient parent pom that can be used for Scala-based Spring Boot applications.

Usage

Add to the top of your pom:

<parent>
    <groupId>com.github.jleskovar</groupId>
    <artifactId>spring-boot-scala-app-parent</artifactId>
    <version>1.0.4</version>
</parent>

Info

The spring-boot-scala-app-parent sets up the following default maven dependencies:

As well as the following default plugins:

  • spring-boot-maven-plugin - to create a fat executable jar
  • directory-maven-plugin - creates a ${rootdir} property that is correctly set and referencable from any module in the build
  • scalastyle-maven-plugin - runs ScalaStyle against src/main/scala, using config found in ${rootdir}/project/scalastyle_config.xml
  • scalatest-maven-plugin - runs tests written using ScalaTest
  • maven-surefire-plugin - needed to run regular tests, and to correctly honour skipTests flag

Versions

Version
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0