forked from Backbase/project-golden-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
110 lines (104 loc) · 4.56 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
107
108
109
110
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>
<!-- The simplest way to build a service with service-sdk-starter-core
is to use it as a parent in your project’s POM file, alternatively if you
don’t want to use service-sdk-starter-core as your project’s parent, you
can declare it as a dependency instead, see pom-as-dependency.xml -->
<parent>
<groupId>com.backbase.buildingblocks</groupId>
<version>14.1.0</version>
<artifactId>service-sdk-starter-core</artifactId>
<relativePath/>
</parent>
<groupId>com.backbase</groupId>
<artifactId>boat-example-server</artifactId>
<version>1.0.0</version>
<packaging>war</packaging>
<name>Backbase :: boat-example-server</name>
<properties>
<java.version>11</java.version>
<!-- plugin versions -->
<boat-maven-plugin.version>0.15.5</boat-maven-plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>com.backbase.buildingblocks</groupId>
<artifactId>service-sdk-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.6.6</version>
</dependency>
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>jackson-databind-nullable</artifactId>
<version>0.2.2</version>
</dependency>
<dependency>
<groupId>com.backbase.buildingblocks</groupId>
<artifactId>communication</artifactId>
</dependency>
<dependency>
<groupId>com.backbase.buildingblocks</groupId>
<artifactId>api</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.backbase</groupId>
<artifactId>boat-example-api</artifactId>
<version>1.0.0</version>
<classifier>api</classifier>
<outputDirectory>${project.build.directory}/yaml</outputDirectory>
<type>zip</type>
<overWrite>true</overWrite>
</artifactItem>
</artifactItems>
<includes>**/*.yaml, **/*.json</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.backbase.oss</groupId>
<artifactId>boat-maven-plugin</artifactId>
<version>${boat-maven-plugin.version}</version>
<executions>
<execution>
<id>generate-client-api-code</id>
<goals>
<goal>generate-spring-boot-embedded</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<inputSpec>${project.build.directory}/yaml/boat-example-api/greeting-api-v1.0.0.yaml
</inputSpec>
<apiPackage>com.backbase.greeting.api.service.v1</apiPackage>
<modelPackage>com.backbase.greeting.api.service.v1.model</modelPackage>
<typeMappings>
<typeMapping>OffsetDateTime=java.time.ZonedDateTime</typeMapping>
</typeMappings>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>