Parth Joshi ad63b55edb Spark Java Article BAEL-498 (#912)
* Initial Commit for Spark Java Article BAEL-498

* reverting main pom.xml and rollbacking accidental changes.

* Changes as per review:

1. Added UserService
2. Renamed UserStore to UserServiceMapImpl
3. Removed Empty spaces in User.java
4. Removed AppTest
5. Changes in SparkRestExample for using UserServiceMapImp instead of
UserStore static functions.

* Suggested changes in print messages.

* Changes as per comments on github... for PR:
https://github.com/eugenp/tutorials/pull/912

* Changes in editUser function as per guidance by Kevin.

* Clean up

* added 1.8 config for pom.xml

* Clean up.

* Removed junit dep.

* Added Application/json in response type.
2017-01-19 20:14:30 -06:00

30 lines
1020 B
XML

<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>spark-java</artifactId>
<version>0.1.0-SNAPSHOT</version>
<name>spark-java</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>com.sparkjava</groupId>
<artifactId>spark-core</artifactId>
<version>2.5.4</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.0</version>
</dependency>
</dependencies>
</project>