aaf8ab01
Geoffrey PREUD'HOMME
Base, à priori
|
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
d167a387
Geoffrey PREUD'HOMME
On génère mieux
|
2
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
09db76a6
Geoffrey PREUD'HOMME
Et on génère tout...
|
3
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
aaf8ab01
Geoffrey PREUD'HOMME
Base, à priori
|
4
5
6
|
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework</groupId>
|
09db76a6
Geoffrey PREUD'HOMME
Et on génère tout...
|
7
|
<artifactId>etunicorn-server</artifactId>
|
aaf8ab01
Geoffrey PREUD'HOMME
Base, à priori
|
8
9
10
11
12
13
14
15
16
17
18
|
<version>0.1.0</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.4.4.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
|
790d94b4
Geoffrey PREUD'HOMME
Base de données, ...
|
19
20
21
22
23
|
<artifactId>spring-boot-starter-data-rest</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
aaf8ab01
Geoffrey PREUD'HOMME
Base, à priori
|
24
25
26
27
|
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
|
aaf8ab01
Geoffrey PREUD'HOMME
Base, à priori
|
28
29
|
</dependency>
<dependency>
|
34526d92
Geoffrey PREUD'HOMME
WIP Authentification
|
30
31
32
33
|
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
|
aaf8ab01
Geoffrey PREUD'HOMME
Base, à priori
|
34
35
|
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
|
790d94b4
Geoffrey PREUD'HOMME
Base de données, ...
|
36
37
38
39
|
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
|
aaf8ab01
Geoffrey PREUD'HOMME
Base, à priori
|
40
|
</dependency>
|
34526d92
Geoffrey PREUD'HOMME
WIP Authentification
|
41
42
43
44
|
<dependency>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
</dependency>
|
aaf8ab01
Geoffrey PREUD'HOMME
Base, à priori
|
45
46
47
48
49
50
51
52
53
54
55
56
57
|
</dependencies>
<properties>
<java.version>1.8</java.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
|
09db76a6
Geoffrey PREUD'HOMME
Et on génère tout...
|
58
59
60
61
62
|
<plugin>
<groupId>com.phoenixnap.oss</groupId>
<artifactId>springmvc-raml-plugin</artifactId>
<version>0.8.9</version>
<configuration>
|
d167a387
Geoffrey PREUD'HOMME
On génère mieux
|
63
|
<ramlPath>/api.raml</ramlPath>
|
09db76a6
Geoffrey PREUD'HOMME
Et on génère tout...
|
64
65
|
<outputRelativePath>/src/main/java</outputRelativePath>
<addTimestampFolder>false</addTimestampFolder>
|
d167a387
Geoffrey PREUD'HOMME
On génère mieux
|
66
|
<basePackage>etunicorn.generated</basePackage>
|
09db76a6
Geoffrey PREUD'HOMME
Et on génère tout...
|
67
68
69
70
71
72
|
<baseUri>/v1</baseUri>
<generateUnreferencedSchemas>true</generateUnreferencedSchemas>
<generationConfig>
<includeAdditionalProperties>true</includeAdditionalProperties>
</generationConfig>
<seperateMethodsByContentType>false</seperateMethodsByContentType>
|
d167a387
Geoffrey PREUD'HOMME
On génère mieux
|
73
|
<rule>com.phoenixnap.oss.ramlapisync.generation.rules.Spring4ControllerInterfaceRule</rule>
|
09db76a6
Geoffrey PREUD'HOMME
Et on génère tout...
|
74
75
76
77
78
79
80
81
82
83
84
85
86
|
<ruleConfiguration>
</ruleConfiguration>
</configuration>
<executions>
<execution>
<id>generate-springmvc-endpoints</id>
<phase>compile</phase>
<goals>
<goal>generate-springmvc-endpoints</goal>
</goals>
</execution>
</executions>
</plugin>
|
aaf8ab01
Geoffrey PREUD'HOMME
Base, à priori
|
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
</plugins>
</build>
<repositories>
<repository>
<id>spring-releases</id>
<url>https://repo.spring.io/libs-release</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-releases</id>
<url>https://repo.spring.io/libs-release</url>
</pluginRepository>
</pluginRepositories>
</project>
|