You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/scala-with-maven.md
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,9 @@ We'll be using the Scala Maven Plugin ([GitHub repo][5], [website][22]) (formerl
22
22
On Debian and Debian-derivatives, Maven is usually available via `apt-get`. Just do `(sudo) apt-get install maven` and you're good to go.
23
23
24
24
### OSX
25
-
OSX actually comes with Maven 3 built in. You can confirm this by running "mvn -version" in the Terminal. The Scala Maven Plugin used to require Maven 3.0.4+, and I believe OSX comes with 3.0.3. If you have [MacPorts][4] you can easily install other versions of Maven (for that matter, [Homebrew][6] and [Fink][7] probably have Maven in their repositories too).
25
+
OSX prior to 10.9 (Mavericks) comes with Maven 3 built in.
26
+
If you don't have it, you can get it with the package managers [MacPorts][4], [Homebrew][6], or [Fink][7].
27
+
The Scala Maven Plugin requires Maven 3.0+
26
28
27
29
### Manually (Red Hat Linux, OSX, Windows)
28
30
You can download Maven from its [Apache homepage][3]. After extracting it (`tar -zxvf apache-maven-X.X.X-bin.tar.gz`, or use something like [7-zip][8]) to your directory of choice (on Linux and OSX, Unix-like systems, [I like to put them in `/opt/`][9]. On Windows I would probably put this in `C:/`), you need to add Maven to your environment Path variable:
@@ -53,7 +55,8 @@ You run the archetype plugin like this:
53
55
54
56
If this is your first time, you'll notice that Maven is downloading many jar files. Maven resolves dependencies and downloads them as needed (and only once). Right now, Maven is downloading its core plugins.
55
57
56
-
Afterwards, it should give you a list of archetypes (828 as of 20 August 2013!). The Scala Maven Plugin was 156 on my list: "net.alchim31.maven:scala-archetype-simple (The maven-scala-plugin is used for compiling/testing/running/documenting scala code in maven.)". As of 20 August 2013, there you can choose version 3.1.4 or 3.1.5 of this plugin; you should choose the latest
58
+
Afterwards, it should give you a list of archetypes (in the hundreds). The Scala Maven Plugin was 339 on my list: "net.alchim31.maven:scala-archetype-simple (The maven-scala-plugin is used for compiling/testing/running/documenting scala code in maven.)".
59
+
As of 2015 January 27, there you can choose version 3.1.4 or 3.1.5 of this plugin; you should choose the latest
0 commit comments