openapi-codegen-maven-example-pet-store-client
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.davidmoten</groupId>
<artifactId>openapi-codegen-maven-example-pet-store-client</artifactId>
<version>0.2.4</version>
</dependency><?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.davidmoten</groupId>
<artifactId>openapi-codegen-parent</artifactId>
<version>0.2.4</version>
</parent>
<artifactId>openapi-codegen-maven-example-pet-store-client</artifactId>
<name>${project.artifactId}</name>
<description>pet-store generated client demonstration</description>
<dependencies>
<dependency>
<groupId>com.github.davidmoten</groupId>
<artifactId>openapi-codegen-client-runtime</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.plugin.version}</version>
<configuration>
<source>${maven.compiler.target}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>com.github.davidmoten</groupId>
<artifactId>openapi-to-plantuml-maven-plugin</artifactId>
<version>0.1.34</version>
<executions>
<execution>
<id>generate-split</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<style>SPLIT</style>
<input>../openapi-codegen-example-pet-store/src/main/openapi/openapi.yml</input>
<formats>
<format>PNG</format>
</formats>
</configuration>
</execution>
<execution>
<id>generate-single</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<style>SINGLE</style>
<input>../openapi-codegen-example-pet-store/src/main/openapi/openapi.yml</input>
<formats>
<format>PNG</format>
</formats>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.davidmoten</groupId>
<artifactId>openapi-codegen-maven-plugin</artifactId>
<version>${project.parent.version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<basePackage>pet.store</basePackage>
<generateService>false</generateService>
<sources>
<directory>${project.basedir}/../openapi-codegen-example-pet-store/src/main/openapi</directory>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build.helper.version}</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>