Spring MVC dependencies to pom.xml

We have to include spring-web and spring-webmvc dependencies in pom.xml, as well as including a servlet-programming interface, JSP-programming interface, and JSTL dependencies. Here's part of the pom.xml file (the full version is on GitHub) of our project with the Spring Core, Kotlin, and Web dependencies:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
----
----
<properties>
<springframework.version>5.0.8.RELEASE</springframework.version>
<kotlin.version>1.3.0</kotlin.version>
<jstl.version>1.2
</jstl.version>
</properties>

<dependencies>
<!--Spring dependencies-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
----
----
----

<!--We need to add the following Kotlin dependencies-->
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
----
----

</plugins>
</build>
</project>
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.136.22.179