Blame view

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