2015-02-07 22:59:35 +00:00
|
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>com.wordnik</groupId>
|
|
|
|
<artifactId>swagger-codegen-project</artifactId>
|
2015-04-08 11:00:10 +00:00
|
|
|
<version>2.1.1-M2-SNAPSHOT</version>
|
2015-02-07 22:59:35 +00:00
|
|
|
<relativePath>../..</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>swagger-generator</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<name>swagger-generator</name>
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
2015-04-28 05:51:52 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<excludes>
|
|
|
|
<exclude>logback.xml</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2015-02-07 22:59:35 +00:00
|
|
|
<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>net.alchim31.maven</groupId>
|
|
|
|
<artifactId>scala-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>scala-test-compile</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<recompileMode>incremental</recompileMode>
|
|
|
|
</configuration>
|
|
|
|
<jvmArgs>
|
|
|
|
<jvmArg>-Xmx384m</jvmArg>
|
|
|
|
</jvmArgs>
|
|
|
|
<args>
|
|
|
|
<arg>-target:jvm-1.6</arg>
|
|
|
|
<arg>-deprecation</arg>
|
|
|
|
</args>
|
|
|
|
<launchers>
|
|
|
|
<launcher>
|
|
|
|
<id>run-scalatest</id>
|
|
|
|
<mainClass>org.scalatest.tools.Runner</mainClass>
|
|
|
|
<args>
|
|
|
|
<arg>-p</arg>
|
|
|
|
<arg>${project.build.testOutputDirectory}</arg>
|
|
|
|
</args>
|
|
|
|
<jvmArgs>
|
|
|
|
<jvmArg>-Xmx512m</jvmArg>
|
|
|
|
</jvmArgs>
|
|
|
|
</launcher>
|
|
|
|
</launchers>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>2.1.1</version>
|
|
|
|
</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>
|
2015-04-05 00:00:22 +00:00
|
|
|
<port>8001</port>
|
2015-02-07 22:59:35 +00:00
|
|
|
<idleTimeout>60000</idleTimeout>
|
|
|
|
</httpConnector>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-jetty</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
2015-03-27 03:32:59 +00:00
|
|
|
<goal>start</goal>
|
2015-02-07 22:59:35 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<scanIntervalSeconds>0</scanIntervalSeconds>
|
|
|
|
<daemon>true</daemon>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-jetty</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.wordnik</groupId>
|
|
|
|
<artifactId>swagger-jersey2-jaxrs</artifactId>
|
|
|
|
<version>${swagger-core-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.wordnik</groupId>
|
|
|
|
<artifactId>swagger-codegen</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scalatest</groupId>
|
|
|
|
<artifactId>scalatest_2.10</artifactId>
|
|
|
|
<version>${scala-test-version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit-version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<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>
|
2015-02-17 20:43:01 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scalatest</groupId>
|
|
|
|
<artifactId>scalatest_2.11</artifactId>
|
|
|
|
<version>${scala-test-version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-02-07 22:59:35 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-library</artifactId>
|
|
|
|
<version>${scala-version}</version>
|
2015-02-17 20:43:01 +00:00
|
|
|
<scope>test</scope>
|
2015-02-07 22:59:35 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-compiler</artifactId>
|
|
|
|
<version>${scala-version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</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>
|
2015-03-27 03:32:59 +00:00
|
|
|
<jetty-version>9.2.9.v20150224</jetty-version>
|
2015-02-07 22:59:35 +00:00
|
|
|
<jersey2-version>2.4.1</jersey2-version>
|
|
|
|
</properties>
|
|
|
|
</project>
|