-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
106 lines (102 loc) · 4.34 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>mocks</artifactId>
<groupId>no.nav.foreldrepenger.vtp</groupId>
<version>${revision}${sha1}${changelist}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>pdl-mock</artifactId>
<name>VTP ::pdl-mock</name>
<packaging>jar</packaging>
<properties>
<apigen.version>5.0.0</apigen.version>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-core-spi</artifactId>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-jaxrs</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java</artifactId>
</dependency>
<dependency>
<groupId>io.github.kobylynskyi</groupId>
<artifactId>graphql-codegen-maven-plugin</artifactId>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>
<dependency>
<groupId>com.distelli.graphql</groupId>
<artifactId>graphql-apigen-deps</artifactId>
<version>${apigen.version}</version>
</dependency>
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java-extended-scalars</artifactId>
</dependency>
<dependency>
<groupId>no.nav.foreldrepenger.vtp</groupId>
<artifactId>testmodell</artifactId>
</dependency>
<dependency>
<groupId>no.nav.foreldrepenger.vtp</groupId>
<artifactId>core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>io.github.kobylynskyi</groupId>
<artifactId>graphql-codegen-maven-plugin</artifactId>
<version>4.0.1</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<graphqlSchemaPaths>${project.basedir}/src/main/resources/schemas/pdl-api-sdl.graphqls</graphqlSchemaPaths>
<outputDir>${project.build.directory}/generated-sources/graphql</outputDir>
<packageName>no.nav.pdl</packageName>
<customTypesMapping>
<DateTime>java.util.Date</DateTime>
<!-- <Price.amount>java.math.BigDecimal</Price.amount> -->
</customTypesMapping>
<customAnnotationsMapping>
<EpochMillis>
<annotation>com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.example.json.EpochMillisScalarDeserializer.class)</annotation>
</EpochMillis>
</customAnnotationsMapping>
<generateClient>true</generateClient>
<!--<generateClient>true</generateClient>
<generateApis>false</generateApis>
<generateBuilder>false</generateBuilder>
<generateToString>true</generateToString>-->
<generateParameterizedFieldsResolvers>false</generateParameterizedFieldsResolvers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>