Following this patchy tutorial here:
http://sparkjava.com/documentation.html#getting-started
I added the following to a new archetype:
<dependency>
<groupId>com.sparkjava</groupId>
<artifactId>spark-core</artifactId>
<version>2.2</version>
</dependency>
After creating a new project and giving it a name I get the following error:
Unable to create project from archetype [com.sparkjava:spark-core:2.2 -> ] The defined artifact is not an archetype
There is no Repo URL given on the documentation, so it must be under the nexus?
Create a new maven project and add
to your pom.xml file. When you're done it should look something like this:
That's it. You can now create a Java class like this:
and run it :)