mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
parent
027df610b1
commit
612cfb7af4
@ -4,13 +4,12 @@ organization := "{{groupId}}"
|
|||||||
scalaVersion := "2.11.12"
|
scalaVersion := "2.11.12"
|
||||||
|
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= Seq(
|
||||||
"io.swagger" % "swagger-core" % "1.5.15",
|
|
||||||
"com.typesafe" % "config" % "1.3.2",
|
"com.typesafe" % "config" % "1.3.2",
|
||||||
"com.typesafe.akka" %% "akka-actor" % "2.5.8",
|
"com.typesafe.akka" %% "akka-actor" % "2.5.8",
|
||||||
"io.spray" % "spray-client" % "1.3.1",
|
"io.spray" % "spray-client" % "1.3.1",
|
||||||
"joda-time" % "joda-time" % "2.9.9",
|
"joda-time" % "joda-time" % "2.9.9",
|
||||||
"org.joda" % "joda-convert" % "1.9.2",
|
|
||||||
"org.json4s" %% "json4s-jackson" % "3.5.3",
|
"org.json4s" %% "json4s-jackson" % "3.5.3",
|
||||||
|
// test dependencies
|
||||||
"org.scalatest" %% "scalatest" % "3.0.4" % "test",
|
"org.scalatest" %% "scalatest" % "3.0.4" % "test",
|
||||||
"junit" % "junit" % "4.12" % "test"
|
"junit" % "junit" % "4.12" % "test"
|
||||||
)
|
)
|
||||||
|
@ -13,90 +13,86 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<jdk.version>1.8</jdk.version>
|
|
||||||
<scala-version>2.11.12</scala-version>
|
|
||||||
<json4s-jackson-version>3.5.3</json4s-jackson-version>
|
|
||||||
<json4s-ext-version>3.2.11</json4s-ext-version>
|
|
||||||
<spray-version>1.3.1</spray-version>
|
|
||||||
<akka-version>2.5.8</akka-version>
|
|
||||||
<joda-convert-version>1.9.2</joda-convert-version>
|
|
||||||
<joda-time-version>2.9.9</joda-time-version>
|
|
||||||
<swagger-core-version>1.5.15</swagger-core-version>
|
|
||||||
<maven-plugin.version>1.0.0</maven-plugin.version>
|
|
||||||
|
|
||||||
<junit-version>4.12</junit-version>
|
<java.version>1.8</java.version>
|
||||||
<scala-test-version>3.0.4</scala-test-version>
|
<scala.version>2.11.12</scala.version>
|
||||||
|
<json4s.jackson.version>3.5.3</json4s.jackson.version>
|
||||||
|
<json4s.ext.version>3.2.11</json4s.ext.version>
|
||||||
|
<spray.version>1.3.1</spray.version>
|
||||||
|
<akka.version>2.5.8</akka.version>
|
||||||
|
<joda.time.version>2.9.9</joda.time.version>
|
||||||
|
|
||||||
<scala-maven-plugin-version>3.3.1</scala-maven-plugin-version>
|
<junit.version>4.12</junit.version>
|
||||||
|
<scala.test.version>3.0.4</scala.test.version>
|
||||||
|
|
||||||
|
<scala.maven.plugin.version>3.3.1</scala.maven.plugin.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.scala-lang</groupId>
|
<groupId>org.scala-lang</groupId>
|
||||||
<artifactId>scala-library</artifactId>
|
<artifactId>scala-library</artifactId>
|
||||||
<version>${scala-version}</version>
|
<version>${scala.version}</version>
|
||||||
</dependency>
|
<scope>provided</scope>
|
||||||
<dependency>
|
|
||||||
<groupId>io.swagger</groupId>
|
|
||||||
<artifactId>swagger-core</artifactId>
|
|
||||||
<version>${swagger-core-version}</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>joda-time</groupId>
|
<groupId>joda-time</groupId>
|
||||||
<artifactId>joda-time</artifactId>
|
<artifactId>joda-time</artifactId>
|
||||||
<version>${joda-time-version}</version>
|
<version>${joda.time.version}</version>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.joda</groupId>
|
|
||||||
<artifactId>joda-convert</artifactId>
|
|
||||||
<version>${joda-convert-version}</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.typesafe</groupId>
|
<groupId>com.typesafe</groupId>
|
||||||
<artifactId>config</artifactId>
|
<artifactId>config</artifactId>
|
||||||
<version>1.2.1</version>
|
<version>1.3.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.typesafe.akka</groupId>
|
<groupId>com.typesafe.akka</groupId>
|
||||||
<artifactId>akka-actor_2.11</artifactId>
|
<artifactId>akka-actor_2.11</artifactId>
|
||||||
<version>${akka-version}</version>
|
<version>${akka.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.spray</groupId>
|
<groupId>io.spray</groupId>
|
||||||
<artifactId>spray-client</artifactId>
|
<artifactId>spray-client</artifactId>
|
||||||
<version>${spray-version}</version>
|
<version>${spray.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.json4s</groupId>
|
<groupId>org.json4s</groupId>
|
||||||
<artifactId>json4s-jackson_2.11</artifactId>
|
<artifactId>json4s-jackson_2.11</artifactId>
|
||||||
<version>${json4s-jackson-version}</version>
|
<version>${json4s.jackson.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--test dependencies-->
|
<!--test dependencies-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.scalatest</groupId>
|
<groupId>org.scalatest</groupId>
|
||||||
<artifactId>scalatest_2.11</artifactId>
|
<artifactId>scalatest_2.11</artifactId>
|
||||||
<version>${scala-test-version}</version>
|
<version>${scala.test.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>${junit-version}</version>
|
<version>${junit.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<pluginRepositories>
|
|
||||||
<pluginRepository>
|
|
||||||
<id>maven-mongodb-plugin-repo</id>
|
|
||||||
<name>maven mongodb plugin repository</name>
|
|
||||||
<url>http://maven-mongodb-plugin.googlecode.com/svn/maven/repo</url>
|
|
||||||
<layout>default</layout>
|
|
||||||
</pluginRepository>
|
|
||||||
</pluginRepositories>
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<version>2.8.2</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<version>3.0.1</version>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
@ -181,7 +177,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<sources>
|
<sources>
|
||||||
<source>
|
<source>
|
||||||
src/main/java
|
src/main/java
|
||||||
</source>
|
</source>
|
||||||
</sources>
|
</sources>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -195,7 +191,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<sources>
|
<sources>
|
||||||
<source>
|
<source>
|
||||||
src/test/java
|
src/test/java
|
||||||
</source>
|
</source>
|
||||||
</sources>
|
</sources>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -207,14 +203,14 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.7.0</version>
|
<version>3.7.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${jdk.version}</source>
|
<source>${java.version}</source>
|
||||||
<target>${jdk.version}</target>
|
<target>${java.version}</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>net.alchim31.maven</groupId>
|
<groupId>net.alchim31.maven</groupId>
|
||||||
<artifactId>scala-maven-plugin</artifactId>
|
<artifactId>scala-maven-plugin</artifactId>
|
||||||
<version>${scala-maven-plugin-version}</version>
|
<version>${scala.maven.plugin.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>scala-compile-first</id>
|
<id>scala-compile-first</id>
|
||||||
@ -244,15 +240,4 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<reporting>
|
</project>
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.scala-tools</groupId>
|
|
||||||
<artifactId>maven-scala-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<scalaVersion>${scala-version}</scalaVersion>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</reporting>
|
|
||||||
</project>
|
|
@ -4,13 +4,12 @@ organization := "io.swagger"
|
|||||||
scalaVersion := "2.11.12"
|
scalaVersion := "2.11.12"
|
||||||
|
|
||||||
libraryDependencies ++= Seq(
|
libraryDependencies ++= Seq(
|
||||||
"io.swagger" % "swagger-core" % "1.5.15",
|
|
||||||
"com.typesafe" % "config" % "1.3.2",
|
"com.typesafe" % "config" % "1.3.2",
|
||||||
"com.typesafe.akka" %% "akka-actor" % "2.5.8",
|
"com.typesafe.akka" %% "akka-actor" % "2.5.8",
|
||||||
"io.spray" % "spray-client" % "1.3.1",
|
"io.spray" % "spray-client" % "1.3.1",
|
||||||
"joda-time" % "joda-time" % "2.9.9",
|
"joda-time" % "joda-time" % "2.9.9",
|
||||||
"org.joda" % "joda-convert" % "1.9.2",
|
|
||||||
"org.json4s" %% "json4s-jackson" % "3.5.3",
|
"org.json4s" %% "json4s-jackson" % "3.5.3",
|
||||||
|
// test dependencies
|
||||||
"org.scalatest" %% "scalatest" % "3.0.4" % "test",
|
"org.scalatest" %% "scalatest" % "3.0.4" % "test",
|
||||||
"junit" % "junit" % "4.12" % "test"
|
"junit" % "junit" % "4.12" % "test"
|
||||||
)
|
)
|
||||||
|
@ -13,90 +13,86 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<jdk.version>1.8</jdk.version>
|
|
||||||
<scala-version>2.11.12</scala-version>
|
|
||||||
<json4s-jackson-version>3.5.3</json4s-jackson-version>
|
|
||||||
<json4s-ext-version>3.2.11</json4s-ext-version>
|
|
||||||
<spray-version>1.3.1</spray-version>
|
|
||||||
<akka-version>2.5.8</akka-version>
|
|
||||||
<joda-convert-version>1.9.2</joda-convert-version>
|
|
||||||
<joda-time-version>2.9.9</joda-time-version>
|
|
||||||
<swagger-core-version>1.5.15</swagger-core-version>
|
|
||||||
<maven-plugin.version>1.0.0</maven-plugin.version>
|
|
||||||
|
|
||||||
<junit-version>4.12</junit-version>
|
<java.version>1.8</java.version>
|
||||||
<scala-test-version>3.0.4</scala-test-version>
|
<scala.version>2.11.12</scala.version>
|
||||||
|
<json4s.jackson.version>3.5.3</json4s.jackson.version>
|
||||||
|
<json4s.ext.version>3.2.11</json4s.ext.version>
|
||||||
|
<spray.version>1.3.1</spray.version>
|
||||||
|
<akka.version>2.5.8</akka.version>
|
||||||
|
<joda.time.version>2.9.9</joda.time.version>
|
||||||
|
|
||||||
<scala-maven-plugin-version>3.3.1</scala-maven-plugin-version>
|
<junit.version>4.12</junit.version>
|
||||||
|
<scala.test.version>3.0.4</scala.test.version>
|
||||||
|
|
||||||
|
<scala.maven.plugin.version>3.3.1</scala.maven.plugin.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.scala-lang</groupId>
|
<groupId>org.scala-lang</groupId>
|
||||||
<artifactId>scala-library</artifactId>
|
<artifactId>scala-library</artifactId>
|
||||||
<version>${scala-version}</version>
|
<version>${scala.version}</version>
|
||||||
</dependency>
|
<scope>provided</scope>
|
||||||
<dependency>
|
|
||||||
<groupId>io.swagger</groupId>
|
|
||||||
<artifactId>swagger-core</artifactId>
|
|
||||||
<version>${swagger-core-version}</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>joda-time</groupId>
|
<groupId>joda-time</groupId>
|
||||||
<artifactId>joda-time</artifactId>
|
<artifactId>joda-time</artifactId>
|
||||||
<version>${joda-time-version}</version>
|
<version>${joda.time.version}</version>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.joda</groupId>
|
|
||||||
<artifactId>joda-convert</artifactId>
|
|
||||||
<version>${joda-convert-version}</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.typesafe</groupId>
|
<groupId>com.typesafe</groupId>
|
||||||
<artifactId>config</artifactId>
|
<artifactId>config</artifactId>
|
||||||
<version>1.2.1</version>
|
<version>1.3.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.typesafe.akka</groupId>
|
<groupId>com.typesafe.akka</groupId>
|
||||||
<artifactId>akka-actor_2.11</artifactId>
|
<artifactId>akka-actor_2.11</artifactId>
|
||||||
<version>${akka-version}</version>
|
<version>${akka.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.spray</groupId>
|
<groupId>io.spray</groupId>
|
||||||
<artifactId>spray-client</artifactId>
|
<artifactId>spray-client</artifactId>
|
||||||
<version>${spray-version}</version>
|
<version>${spray.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.json4s</groupId>
|
<groupId>org.json4s</groupId>
|
||||||
<artifactId>json4s-jackson_2.11</artifactId>
|
<artifactId>json4s-jackson_2.11</artifactId>
|
||||||
<version>${json4s-jackson-version}</version>
|
<version>${json4s.jackson.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--test dependencies-->
|
<!--test dependencies-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.scalatest</groupId>
|
<groupId>org.scalatest</groupId>
|
||||||
<artifactId>scalatest_2.11</artifactId>
|
<artifactId>scalatest_2.11</artifactId>
|
||||||
<version>${scala-test-version}</version>
|
<version>${scala.test.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>${junit-version}</version>
|
<version>${junit.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<pluginRepositories>
|
|
||||||
<pluginRepository>
|
|
||||||
<id>maven-mongodb-plugin-repo</id>
|
|
||||||
<name>maven mongodb plugin repository</name>
|
|
||||||
<url>http://maven-mongodb-plugin.googlecode.com/svn/maven/repo</url>
|
|
||||||
<layout>default</layout>
|
|
||||||
</pluginRepository>
|
|
||||||
</pluginRepositories>
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<version>2.8.2</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<version>3.0.1</version>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
@ -181,7 +177,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<sources>
|
<sources>
|
||||||
<source>
|
<source>
|
||||||
src/main/java
|
src/main/java
|
||||||
</source>
|
</source>
|
||||||
</sources>
|
</sources>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -195,7 +191,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<sources>
|
<sources>
|
||||||
<source>
|
<source>
|
||||||
src/test/java
|
src/test/java
|
||||||
</source>
|
</source>
|
||||||
</sources>
|
</sources>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -207,14 +203,14 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.7.0</version>
|
<version>3.7.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${jdk.version}</source>
|
<source>${java.version}</source>
|
||||||
<target>${jdk.version}</target>
|
<target>${java.version}</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>net.alchim31.maven</groupId>
|
<groupId>net.alchim31.maven</groupId>
|
||||||
<artifactId>scala-maven-plugin</artifactId>
|
<artifactId>scala-maven-plugin</artifactId>
|
||||||
<version>${scala-maven-plugin-version}</version>
|
<version>${scala.maven.plugin.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>scala-compile-first</id>
|
<id>scala-compile-first</id>
|
||||||
@ -244,15 +240,4 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<reporting>
|
</project>
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.scala-tools</groupId>
|
|
||||||
<artifactId>maven-scala-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<scalaVersion>${scala-version}</scalaVersion>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</reporting>
|
|
||||||
</project>
|
|
Loading…
x
Reference in New Issue
Block a user