<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>
	<parent>
		<groupId>com.graphql-java-generator</groupId>
		<artifactId>graphql-maven-plugin-project</artifactId>
		<version>1.18.6</version>
	</parent>
	<artifactId>graphql-java-server-dependencies</artifactId>
	<packaging>pom</packaging>
	<description>This pom module contains the needed dependencies for the code generated by graphql-java-generator, 
	when the plugin is in server mode. When you use maven plugin or the gradle plugin, just add this dependency 
	so that the generated code embeds the necessary dependencies: &lt;dependency&gt;&lt;groupId&gt;com.xyz&lt;/groupId&gt;
    &lt;artifactId&gt;mvn-web-deps&lt;/artifactId&gt; &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt; &lt;type&gt;pom&lt;/type&gt;
	&lt;/dependency&gt;</description>

	<dependencies>
		<!-- Dependencies for GraphQL -->
		<dependency>
			<groupId>com.graphql-java-generator</groupId>
			<artifactId>graphql-java-spring-mvc</artifactId>
		</dependency>

		<!-- Other dependencies -->
		<dependency>
			<groupId>javax.activation</groupId>
			<artifactId>activation</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-webflux</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-websocket</artifactId>
		</dependency>

		<!-- When building from the gradle plugin, this next dependency is mandatory for code execution -->
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
		</dependency>
		<!-- Avoids this warning (when building in Gradle): unknown enum constant When.MAYBE -->
		<dependency>
			<groupId>com.google.code.findbugs</groupId>
			<artifactId>jsr305</artifactId>
		</dependency>

		<dependency>
			<!-- You need to provide in your pom the fact the this dependency is provided. This is to ensure that the embedded servlet 
				container does not interfere with the servlet container to which the war file is deployed -->
			<!-- If you just import the graphql-java-servlet-dependencies pom in your own pom, this dependency is imported as compile 
				scope -->
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-tomcat</artifactId>
			<scope>provided</scope>
		</dependency>
	</dependencies>

</project>