-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
97 lines (86 loc) · 4.87 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?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>
<!-- https://github.com/spring-guides/gs-consuming-rest -->
<!-- https://maven.apache.org/guides/mini/guide-naming-conventions.html
groupId will identify your project uniquely across all projects, so we need to enforce a naming schema.
It has to follow the package name rules, what means that has to be at least as a domain name you control, -
and you can create as many subgroups as you want
-->
<groupId>TPEnssat2015</groupId>
<!--
artifactId is the name of the jar without version. If you created it then you can choose
whatever name you want with lowercase letters and no strange symbols.
If it's a third party jar you have to take the name of the jar as it's distributed.-->
<artifactId>TPEnssat2015</artifactId>
<version>0.0.0</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.2.6.RELEASE</version>
</parent>
<properties>
<java.version>1.7</java.version>
</properties>
<dependencies>
<!-- http://www.technologies-ebusiness.com/langages/comment-construire-backend-rest-spring-boot
Spring Boot nous apporte toute la puissance du framework Spring bien connu des développeurs Java,
ainsi qu’un Tomcat embarqué et une documentation de référence expliquant clairement comment déployer
une telle application dans le nuage, sur une plateforme telle que Heroku.
-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<!-- http://docs.spring.io/spring/docs/current/spring-framework-reference/html/overview.html
The Web layer consists of the spring-web, spring-webmvc, spring-websocket, and spring-webmvc-portlet modules.
The spring-web module provides basic web-oriented integration features such as multipart file upload
functionality and the initialization of the IoC container using Servlet listeners and a web-oriented
application context. It also contains an HTTP client and the web-related parts of Spring’s remoting support.
The spring-webmvc module (also known as the Web-Servlet module) contains Spring’s model-view-controller (MVC)
and REST Web Services implementation for web applications. Spring’s MVC framework provides a clean separation
between domain model code and web forms and integrates with all of the other features of the Spring Framework.
The spring-webmvc-portlet module (also known as the Web-Portlet module) provides the MVC implementation to be
used in a Portlet environment and mirrors the functionality of the spring-webmvc module.
-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
<!-- https://github.com/FasterXML/jackson-databind
General data-binding package for Jackson (2.x): works on streaming API (core) implementation(s)
http://wiki.fasterxml.com/JacksonHome
Inspired by the quality and variety of XML tooling available for the Java platform (StAX, JAXB, etc.),
the Jackson is a multi-purpose Java library for processing JSON data format. Jackson aims to be the
best possible combination of fast, correct, lightweight, and ergonomic for developers.
-->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
</dependencies>
<build>
<!-- http://www.tutorialspoint.com/maven/maven_plugins.htm
Maven is actually a plugin execution framework where every task is actually done by plugins.
Maven Plugins are generally used to :
create jar file
create war file
compile code files
unit testing of code
create project documentation
create project reports
-->
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<!-- http://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-maven-plugin.html
The Spring Boot Maven Plugin provides Spring Boot support in Maven, allowing you to package
executable jar or war archives and run an application “in-place”.
To use it you must be using Maven 3.2 (or better).
-->
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>