<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>2.8</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 within this project -->
		<dependency>
			<groupId>com.graphql-java-generator</groupId>
			<artifactId>graphql-java-common-dependencies</artifactId>
			<type>pom</type>
		</dependency>

		<dependency>
			<groupId>org.springframework.graphql</groupId>
			<artifactId>spring-graphql</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-webflux</artifactId>
		</dependency>

		<dependency>
			<!-- Mandatory to avoid ClassNotFound errors on javax.servlet.filter -->
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</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>

	</dependencies>

</project>