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"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
<artifactId>swagger-codegen-project</artifactId>
|
2018-01-07 03:04:05 +00:00
|
|
|
<version>2.4.0-SNAPSHOT</version>
|
2015-06-07 15:56:08 +00:00
|
|
|
<relativePath>../..</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>swagger-generator</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<name>swagger-generator</name>
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
2015-10-01 12:00:19 +00:00
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>**/version.prop</include>
|
2016-01-05 04:21:09 +00:00
|
|
|
<include>logback.xml</include>
|
2015-10-01 12:00:19 +00:00
|
|
|
</includes>
|
2015-06-07 15:56:08 +00:00
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2017-06-28 16:14:16 +00:00
|
|
|
<version>3.1.0</version>
|
2016-01-05 04:21:09 +00:00
|
|
|
<configuration>
|
|
|
|
<webResources>
|
|
|
|
<resource>
|
|
|
|
<!-- this is relative to the pom.xml directory -->
|
|
|
|
<directory>${project.build.directory}/swagger-ui-master/dist</directory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>index.html</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
|
|
|
</configuration>
|
2015-06-07 15:56:08 +00:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
|
|
<version>${jetty-version}</version>
|
|
|
|
<configuration>
|
|
|
|
<webApp>
|
|
|
|
<contextPath>/</contextPath>
|
|
|
|
</webApp>
|
|
|
|
<webAppSourceDirectory>target/${project.artifactId}-${project.version}</webAppSourceDirectory>
|
|
|
|
<stopPort>8079</stopPort>
|
|
|
|
<stopKey>stopit</stopKey>
|
|
|
|
<httpConnector>
|
|
|
|
<idleTimeout>60000</idleTimeout>
|
|
|
|
</httpConnector>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-jetty</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<scanIntervalSeconds>0</scanIntervalSeconds>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-jetty</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-06-08 20:25:37 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.googlecode.maven-download-plugin</groupId>
|
|
|
|
<artifactId>download-maven-plugin</artifactId>
|
|
|
|
<version>1.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>swagger-ui</id>
|
|
|
|
<goals>
|
|
|
|
<goal>wget</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2017-11-14 03:24:50 +00:00
|
|
|
<url>https://github.com/swagger-api/swagger-ui/archive/master.tar.gz</url>
|
2015-06-08 20:25:37 +00:00
|
|
|
<unpack>true</unpack>
|
2018-01-07 01:53:01 +00:00
|
|
|
<!--<skipCache>true</skipCache>-->
|
2015-06-08 20:25:37 +00:00
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
</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-06-07 15:56:08 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
<artifactId>swagger-jersey2-jaxrs</artifactId>
|
|
|
|
<version>${swagger-core-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
<artifactId>swagger-codegen</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
2015-10-29 15:00:58 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
<artifactId>swagger-codegen</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-06-07 15:56:08 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>${logback-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-core</artifactId>
|
|
|
|
<version>${logback-version}</version>
|
|
|
|
</dependency>
|
2015-06-07 06:43:34 +00:00
|
|
|
|
2015-06-07 15:56:08 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<version>${servlet-api-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
|
|
<artifactId>jersey-container-servlet-core</artifactId>
|
|
|
|
<version>${jersey2-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-multipart</artifactId>
|
|
|
|
<version>${jersey2-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.lingala.zip4j</groupId>
|
|
|
|
<artifactId>zip4j</artifactId>
|
|
|
|
<version>${zip-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>${jetty-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-start</artifactId>
|
|
|
|
<version>${jetty-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-xml</artifactId>
|
|
|
|
<version>${jetty-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-webapp</artifactId>
|
|
|
|
<version>${jetty-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-deploy</artifactId>
|
|
|
|
<version>${jetty-version}</version>
|
|
|
|
</dependency>
|
2016-01-05 04:21:09 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-runner</artifactId>
|
|
|
|
<version>${jetty-version}</version>
|
2016-01-05 04:24:15 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
<artifactId>javax.el</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2016-01-05 04:21:09 +00:00
|
|
|
</dependency>
|
2015-06-07 15:56:08 +00:00
|
|
|
<dependency>
|
2015-09-28 15:55:06 +00:00
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
2015-06-07 15:56:08 +00:00
|
|
|
</dependency>
|
2017-01-03 08:41:16 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.jaxrs</groupId>
|
|
|
|
<artifactId>jackson-jaxrs-json-provider</artifactId>
|
|
|
|
<version>${jackson-version}</version>
|
|
|
|
</dependency>
|
2015-06-07 15:56:08 +00:00
|
|
|
</dependencies>
|
|
|
|
<properties>
|
|
|
|
<servlet-api-version>2.5</servlet-api-version>
|
|
|
|
<logback-version>1.0.1</logback-version>
|
|
|
|
<maven-plugin-version>1.0.0</maven-plugin-version>
|
|
|
|
<servlet-api-version>2.5</servlet-api-version>
|
|
|
|
<zip-version>1.3.2</zip-version>
|
|
|
|
<jetty-version>9.2.9.v20150224</jetty-version>
|
2016-01-07 16:42:21 +00:00
|
|
|
<jersey2-version>2.6</jersey2-version>
|
2015-06-07 15:56:08 +00:00
|
|
|
</properties>
|
2015-02-07 22:59:35 +00:00
|
|
|
</project>
|