-
-
Notifications
You must be signed in to change notification settings - Fork 301
/
Copy pathpom.xml
97 lines (94 loc) · 4.29 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2002-2020 iterate GmbH. All rights reserved.
~ https://cyberduck.io/
~
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
-->
<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>
<artifactId>parent</artifactId>
<groupId>ch.cyberduck</groupId>
<version>9.1.3.uvfdraft-SNAPSHOT</version>
</parent>
<artifactId>box</artifactId>
<dependencies>
<dependency>
<groupId>ch.cyberduck</groupId>
<artifactId>jersey</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ch.cyberduck</groupId>
<artifactId>oauth</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
</dependency>
<dependency>
<groupId>ch.cyberduck</groupId>
<artifactId>test</artifactId>
<type>pom</type>
<scope>test</scope>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ch.cyberduck</groupId>
<artifactId>cryptomator</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>codegen</id>
<build>
<plugins>
<plugin>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<!-- <inputSpec>https://raw.githubusercontent.com/box/box-openapi/en/openapi.json</inputSpec>-->
<inputSpec>${project.basedir}/src/main/resources/openapi.json</inputSpec>
<language>java</language>
<output>${project.basedir}</output>
<modelPackage>ch.cyberduck.core.box.io.swagger.client.model</modelPackage>
<apiPackage>ch.cyberduck.core.box.io.swagger.client.api</apiPackage>
<configOptions>
<sourceFolder>src/main/java</sourceFolder>
<library>jersey2</library>
<dateLibrary>joda</dateLibrary>
<java8>true</java8>
<hideGenerationTimestamp>true</hideGenerationTimestamp>
</configOptions>
<environmentVariables>
<apiTests>false</apiTests>
</environmentVariables>
<importMappings>
<importMapping>File=ch.cyberduck.core.box.io.swagger.client.model.File</importMapping>
</importMappings>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>