Blame view

pom.xml 4.17 KB
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>
aaf8ab01   Geoffrey PREUD'HOMME   Base, à priori
30
31
              <groupId>com.jayway.jsonpath</groupId>
              <artifactId>json-path</artifactId>
790d94b4   Geoffrey PREUD'HOMME   Base de données, ...
32
          </dependency>
8cbe108c   badetitou   Connect to Database
33
  
790d94b4   Geoffrey PREUD'HOMME   Base de données, ...
34
          <dependency>
e76b8f6a   Geoffrey PREUD'HOMME   SQLite → Mémoire
35
36
              <groupId>mysql</groupId>
              <artifactId>mysql-connector-java</artifactId>
aaf8ab01   Geoffrey PREUD'HOMME   Base, à priori
37
          </dependency>
6ae819f3   badetitou   Go to JSON
38
39
40
41
42
43
  
          <dependency>
              <groupId>commons-lang</groupId>
              <artifactId>commons-lang</artifactId>
              <version>2.3</version>
          </dependency>
e76b8f6a   Geoffrey PREUD'HOMME   SQLite → Mémoire
44
45
46
47
48
49
50
51
52
          <dependency>
              <groupId>com.h2database</groupId>
              <artifactId>h2</artifactId>
          </dependency>
          <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-autoconfigure</artifactId>
              <version>1.4.4.RELEASE</version>
          </dependency>
6ae819f3   badetitou   Go to JSON
53
54
  
  
aaf8ab01   Geoffrey PREUD'HOMME   Base, à priori
55
56
57
58
59
60
61
62
      </dependencies>
  
      <properties>
          <java.version>1.8</java.version>
      </properties>
  
  
      <build>
8cbe108c   badetitou   Connect to Database
63
64
65
66
67
68
69
          <resources>
              <resource>
                  <directory>
                      src/main/ressources
                  </directory>
              </resource>
          </resources>
aaf8ab01   Geoffrey PREUD'HOMME   Base, à priori
70
71
72
73
74
          <plugins>
              <plugin>
                  <groupId>org.springframework.boot</groupId>
                  <artifactId>spring-boot-maven-plugin</artifactId>
              </plugin>
09db76a6   Geoffrey PREUD'HOMME   Et on génère tout...
75
76
77
78
79
              <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
80
                      <ramlPath>/api.raml</ramlPath>
09db76a6   Geoffrey PREUD'HOMME   Et on génère tout...
81
82
                      <outputRelativePath>/src/main/java</outputRelativePath>
                      <addTimestampFolder>false</addTimestampFolder>
d167a387   Geoffrey PREUD'HOMME   On génère mieux
83
                      <basePackage>etunicorn.generated</basePackage>
09db76a6   Geoffrey PREUD'HOMME   Et on génère tout...
84
85
86
87
88
89
                      <baseUri>/v1</baseUri>
                      <generateUnreferencedSchemas>true</generateUnreferencedSchemas>
                      <generationConfig>
                          <includeAdditionalProperties>true</includeAdditionalProperties>
                      </generationConfig>
                      <seperateMethodsByContentType>false</seperateMethodsByContentType>
d167a387   Geoffrey PREUD'HOMME   On génère mieux
90
                      <rule>com.phoenixnap.oss.ramlapisync.generation.rules.Spring4ControllerInterfaceRule</rule>
09db76a6   Geoffrey PREUD'HOMME   Et on génère tout...
91
92
93
94
95
96
97
98
99
100
101
102
103
                      <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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
          </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>