MVN

pl.org.miki : scala-quickstart-archetype

Maven & Gradle

Jul 26, 2014

Customizable cruft-free Scala archetype. Options: -sourceFolders: [all-in-src-java, scala-only, both-split-src]. DEFAULT: all-in-src-java. --all-in-src-java: Scala and Java code are both in src/main/java (same for test). Plays nicely with IDEs. --scala-only: only src/main/scala set up, and set as source folder. --both-split-src: both src/main/java and src/main/scala. Can play merry havock with IDEs, so not the default. -testLibrary: [scalatest, specs2, scalacheck-only, junit-only]. DEFAULT: scalatest. --scalatest: adds Scalatest AND Scalacheck AND JUnit for most of your testing needs. --specs2: adds specs2 AND Scalacheck AND JUnit. --scalacheck-junit: adds Scalacheck AND JUnit. --junit-only: adds JUnit ONLY. -scalaVersion: 2.10.x+. DEFAULT: 2.11.2. *The Scala tool version is generated automatically. *Some Scala versions may not be compatible with selected test library versions. Adjust as necessary.

mvn archetype:generate -DarchetypeGroupId=pl.org.miki -DarchetypeArtifactId=scala-quickstart-archetype -DarchetypeVersion=0.8.2
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of pl.org.miki : scala-quickstart-archetype to generate a Maven project - Latest Versions:

  • Latest Stable: 0.8.2

All Versions

Choose a version of pl.org.miki : scala-quickstart-archetype to generate a Maven project - All Versions:

Version Vulnerabilities Updated
0.8.x
scala-quickstart-archetype-0.8.2

How to generate a maven project from archetype

Instead of manually creating the directory structure needed for an archetype, simply use:

mvn archetype:generate -DarchetypeGroupId=pl.org.miki -DarchetypeArtifactId=scala-quickstart-archetype -DarchetypeVersion=0.8.2