2015-06-07 15:56:08 +00:00
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
2015-03-24 22:59:55 +00:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
2015-06-07 06:43:34 +00:00
|
|
|
<groupId>io.swagger</groupId>
|
2015-03-24 22:59:55 +00:00
|
|
|
<artifactId>swagger-codegen-project</artifactId>
|
2017-03-02 08:54:37 +00:00
|
|
|
<version>2.2.3-SNAPSHOT</version>
|
2015-03-24 22:59:55 +00:00
|
|
|
<relativePath>../..</relativePath>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2015-03-25 19:12:04 +00:00
|
|
|
<artifactId>swagger-codegen-cli</artifactId>
|
2015-03-24 22:59:55 +00:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>swagger-codegen (executable)</name>
|
|
|
|
|
|
|
|
<build>
|
2015-03-25 19:12:04 +00:00
|
|
|
<finalName>swagger-codegen-cli</finalName>
|
2015-04-28 05:51:52 +00:00
|
|
|
<resources>
|
2015-06-07 15:56:08 +00:00
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>logback.xml</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
2015-04-28 05:51:52 +00:00
|
|
|
</resources>
|
2015-03-24 22:59:55 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
2015-06-07 06:43:34 +00:00
|
|
|
<mainClass>io.swagger.codegen.SwaggerCodegen</mainClass>
|
2015-03-24 22:59:55 +00:00
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2015-06-15 11:57:30 +00:00
|
|
|
<id>process-resources</id>
|
2015-03-24 22:59:55 +00:00
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<minimizeJar>false</minimizeJar>
|
|
|
|
<createDependencyReducedPom>true</createDependencyReducedPom>
|
|
|
|
<dependencyReducedPomLocation>
|
|
|
|
${java.io.tmpdir}/dependency-reduced-pom.xml
|
|
|
|
</dependencyReducedPomLocation>
|
|
|
|
<transformers>
|
2015-06-07 15:56:08 +00:00
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
2015-03-24 22:59:55 +00:00
|
|
|
</transformers>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-11-23 07:07:25 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>net.revelc.code</groupId>
|
|
|
|
<artifactId>formatter-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- Point at the eclipse-formatter.xml in the swagger-codegen parent project directory -->
|
|
|
|
<configFile>${project.basedir}${file.separator}${project.parent.relativePath}${file.separator}eclipse-formatter.xml</configFile>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-03-24 22:59:55 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<dependency>
|
2015-06-07 06:43:34 +00:00
|
|
|
<groupId>io.swagger</groupId>
|
2015-03-24 22:59:55 +00:00
|
|
|
<artifactId>swagger-codegen</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<version>${slf4j-version}</version>
|
|
|
|
</dependency>
|
2015-06-09 13:20:54 +00:00
|
|
|
<dependency>
|
2015-08-27 00:38:51 +00:00
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
2016-01-18 10:35:57 +00:00
|
|
|
<!-- <version>${testng-version}</version> -->
|
2015-08-27 00:38:51 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jmockit</groupId>
|
|
|
|
<artifactId>jmockit</artifactId>
|
2016-01-18 10:35:57 +00:00
|
|
|
<!-- <version>${jmockit-version}</version> -->
|
2015-08-27 00:38:51 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-03-24 22:59:55 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2016-05-24 15:27:11 +00:00
|
|
|
</project>
|