swagger-codegen
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.reprezen.genflow</groupId>
<artifactId>swagger-codegen</artifactId>
<version>1.4.2</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.reprezen.genflow</groupId>
<artifactId>genflow</artifactId>
<version>1.4.2</version>
<relativePath>../../..</relativePath>
</parent>
<artifactId>swagger-codegen</artifactId>
<name>swagger-codegen</name>
<url>https://github.com/RepreZen/GenFlow/tree/master/modules/gentemplates/swagger-codegen</url>
<dependencies>
<dependency>
<groupId>com.reprezen.genflow</groupId>
<artifactId>genflow-api-openapi</artifactId>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen</artifactId>
<exclusions>
<exclusion>
<groupId>io.swagger</groupId>
<artifactId>swagger-compat-spec-parser</artifactId>
</exclusion>
<exclusion>
<groupId>io.swagger</groupId>
<artifactId>swagger-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
</dependency>
<dependency>
<groupId>com.reprezen.genflow</groupId>
<artifactId>genflow-common</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>compile</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<!--
It is necessary to copy the GenTemplate info into the test-classes folder
otherwise ScgCodegenModuleDiscovery cannot find them when generators
are launched from tests.
-->
<configuration>
<outputDirectory>${basedir}/target/test-classes</outputDirectory>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<includeProjectDependencies>true</includeProjectDependencies>
<mainClass>com.reprezen.genflow.swagger.codegen.ScgCodegenModuleDiscovery</mainClass>
<classpathScope>compile</classpathScope>
<cleanupDaemonThreads>false</cleanupDaemonThreads>
<arguments>
<argument>${basedir}/src/main/resources/com/reprezen/genflow/swagger/codegen</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>