de.hftstuttgart.vs.ss.2023/task06/pom.xml

79 lines
2.5 KiB
XML
Raw Normal View History

2023-05-04 17:32:00 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>de.hftstuttgart.vs</groupId>
<artifactId>task06</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>task06</name>
<description>task06</description>
<properties>
<java.version>17</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-graphql</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.graphql</groupId>
<artifactId>spring-graphql-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>io.github.kobylynskyi</groupId>
<artifactId>graphql-codegen-maven-plugin</artifactId>
<version>5.7.2</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<!-- all config options:
https://github.com/kobylynskyi/graphql-java-codegen/blob/main/docs/codegen-options.md
-->
<graphqlSchemas>
<includePattern>schema\.graphqls</includePattern>
</graphqlSchemas>
<outputDir>${project.build.directory}/generated-sources/graphql</outputDir>
<packageName>de.hftstuttgart.vs.task06.graphql.model</packageName>
<customTypesMapping>
<DateTime>java.util.Date</DateTime>
</customTypesMapping>
<modelNameSuffix>DO</modelNameSuffix>
<modelValidationAnnotation>@jakarta.annotation.Nonnull</modelValidationAnnotation>
<generatedAnnotation>jakarta.annotation.Generated</generatedAnnotation>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>