![]() ![]() In your project root, you’ll see a pom.xml, src folder, and target folder (target folder only appears after building). You’ll see Maven downloading dependencies including the Scala library (as mentioned above), JUnit, ScalaTest, and Specs2 (the latter three are test frameworks the archetype includes an example “Hello world” program, and tests with each of the frameworks). Think back to “convention over configuration” in our case, the Scala Maven Plugin provides an archetype for scala projects. An archetype is a general skeleton structure, or template for a project. The easiest way to create new projects is using an “archetype”. You’ll need to restart cmd to see these changes.Edit your Path variable: being careful not to change anything else, append %MAVEN3_BIN% to it.Create a new variable called “MAVEN3_BIN” with this value: %MAVEN3_HOME%\bin.Use backslashes to be safe, and do not include a trailing slash ![]()
0 Comments
Leave a Reply. |