Files
cyberduck/storegate/pom.xml
T
2026-03-20 17:17:18 +01:00

94 lines
4.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2002-2019 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.5.1-SNAPSHOT</version>
</parent>
<artifactId>storegate</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</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>
</dependencies>
<profiles>
<profile>
<id>codegen</id>
<build>
<plugins>
<plugin>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>https://ws1-stage.storegate.se/api/v4.2/swagger</inputSpec>
<language>java</language>
<output>${project.basedir}</output>
<modelPackage>ch.cyberduck.core.storegate.io.swagger.client.model</modelPackage>
<apiPackage>ch.cyberduck.core.storegate.io.swagger.client.api</apiPackage>
<configOptions>
<sourceFolder>src/main/java</sourceFolder>
<library>jersey2</library>
<dateLibrary>joda</dateLibrary>
<java8>true</java8>
</configOptions>
<environmentVariables>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<generateApiDocumentation>false</generateApiDocumentation>
<generateSupportingFiles>false</generateSupportingFiles>
</environmentVariables>
<importMappings>
<importMapping>File=ch.cyberduck.core.storegate.io.swagger.client.model.File</importMapping>
<importMapping>FileMetadata=ch.cyberduck.core.storegate.io.swagger.client.model.FileMetadata</importMapping>
</importMappings>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>