Skip to content

oldratlee/scala-maven-template-prj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scala-maven-template-prj

👉 Scala maven project skeleton and simple show case of common scala ecosystem libs.

Scala maven project skeleton

  1. joint-compile configuration for scala and java
  2. logging lib configuration: scala use scala-logging, java use slf4j
  3. test libs configuration: scalatest/Spec2/scalacheck/JUnit
  4. mock libs configuration: mockito/scalamock

Simple show case

  1. poso(Plain Old Scala Object)/pojo class (use between languages)
  2. scala/java hello world main class (invoke between languages)
  3. scala/java class implements java interface(compatibility safer)
  4. Logging
  5. Spec2/scalatest/scalacheck/JUnit test by scala/java