1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
2
+ xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
+ <modelVersion >4.0.0</modelVersion >
5
+ <parent >
6
+ <groupId >com.graphql-java-generator</groupId >
7
+ <artifactId >graphql-java-generator</artifactId >
8
+ <version >0.3.0-SNAPSHOT</version >
9
+ </parent >
10
+ <artifactId >graphql-java-server-dependencies</artifactId >
11
+ <packaging >pom</packaging >
12
+ <description >This pom module contains the needed dependencies for the code generated by graphql-java-generator,
13
+ when the plugin is in server mode. When you use maven plugin or the gradle plugin, just add this dependency
14
+ so that the generated code embeds the necessary dependencies: < dependency>< groupId> com.xyz< /groupId>
15
+ < artifactId> mvn-web-deps< /artifactId> < version> 0.0.1-SNAPSHOT< /version> < type> pom< /type>
16
+ < /dependency> </description >
17
+
18
+ <dependencies >
19
+ <!-- Dependencies for GraphQL -->
20
+ <dependency >
21
+ <!-- The needed runtime to link graphql-java to the spring boot stuff -->
22
+ <groupId >com.graphql-java</groupId >
23
+ <artifactId >graphql-java-spring-boot-starter-webmvc</artifactId >
24
+ </dependency >
25
+
26
+ <!-- Other dependencies -->
27
+ <dependency >
28
+ <groupId >org.springframework.boot</groupId >
29
+ <artifactId >spring-boot-starter-web</artifactId >
30
+ </dependency >
31
+ <dependency >
32
+ <!-- You need to provide in your pom the fact the this dependency is provided.
33
+ This is to ensure that the embedded servlet container does not interfere
34
+ with the servlet container to which the war file is deployed -->
35
+ <!-- If you just import the graphql-java-servlet-dependencies pom in your
36
+ own pom, this dependency is imported as compile scope -->
37
+ <groupId >org.springframework.boot</groupId >
38
+ <artifactId >spring-boot-starter-tomcat</artifactId >
39
+ <scope >provided</scope >
40
+ </dependency >
41
+ <dependency >
42
+ <groupId >org.springframework.boot</groupId >
43
+ <artifactId >spring-boot-starter-log4j2</artifactId >
44
+ </dependency >
45
+ <dependency >
46
+ <groupId >org.springframework.boot</groupId >
47
+ <artifactId >spring-boot-starter-data-jpa</artifactId >
48
+ </dependency >
49
+
50
+ </dependencies >
51
+
52
+ </project >
0 commit comments