mvn archetype:generate -DgroupId="com.mycompany.app" -DartifactId="my-app-id" -DsourceFolders="My-sourceFolders" -DtestLibrary="My-testLibrary" -DscalaVersion="My-scalaVersion" -DarchetypeGroupId="pl.org.miki" -DarchetypeArtifactId="scala-quickstart-archetype" -DarchetypeVersion="0.8.2" -DinteractiveMode=false
License |
License |
---|---|
GroupId | GroupIdpl.org.miki |
ArtifactId | ArtifactIdscala-quickstart-archetype |
Version | Version0.8.2 |
Type | Typemaven-archetype |
Description |
Descriptionscala-quickstart-archetype
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.
|
Project URL |
Project URL |
Source Code Management |
Source Code Management |
mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app> -DarchetypeGroupId=pl.org.miki -DarchetypeArtifactId=scala-quickstart-archetype -DarchetypeVersion=0.8.2 -DinteractiveMode=false