mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
updated multi-module pom
This commit is contained in:
parent
2ed8e10fe4
commit
20e600c80e
395
pom.xml
395
pom.xml
@ -1,72 +1,38 @@
|
|||||||
<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">
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<parent>
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
<groupId>org.sonatype.oss</groupId>
|
|
||||||
<artifactId>oss-parent</artifactId>
|
|
||||||
<version>5</version>
|
|
||||||
</parent>
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.wordnik</groupId>
|
<groupId>io.swagger</groupId>
|
||||||
<artifactId>swagger-codegen-project</artifactId>
|
<artifactId>swagger-client</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>swagger-codegen-project</name>
|
<name>swagger-client</name>
|
||||||
<version>2.1.0-SNAPSHOT</version>
|
<version>1.0.0</version>
|
||||||
<url>https://github.com/swagger-api/swagger-codegen</url>
|
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:git@github.com:swagger-api/swagger-codegen.git</connection>
|
<connection>scm:git:git@github.com:wordnik/swagger-mustache.git</connection>
|
||||||
<developerConnection>scm:git:git@github.com:swagger-api/swagger-codegen.git</developerConnection>
|
<developerConnection>scm:git:git@github.com:wordnik/swagger-codegen.git</developerConnection>
|
||||||
<url>https://github.com/swagger-api/swagger-codegen</url>
|
<url>https://github.com/wordnik/swagger-codegen</url>
|
||||||
</scm>
|
</scm>
|
||||||
<prerequisites>
|
<prerequisites>
|
||||||
<maven>2.2.0</maven>
|
<maven>2.2.0</maven>
|
||||||
</prerequisites>
|
</prerequisites>
|
||||||
<developers>
|
|
||||||
<developer>
|
|
||||||
<id>fehguy</id>
|
|
||||||
<name>Tony Tam</name>
|
|
||||||
<email>fehguy@gmail.com</email>
|
|
||||||
</developer>
|
|
||||||
</developers>
|
|
||||||
<issueManagement>
|
|
||||||
<system>github</system>
|
|
||||||
<url>https://github.com/swagger-api/swagger-core/issues</url>
|
|
||||||
</issueManagement>
|
|
||||||
<mailingLists>
|
|
||||||
<mailingList>
|
|
||||||
<name>swagger-swaggersocket</name>
|
|
||||||
<archive>https://groups.google.com/forum/#!forum/swagger-swaggersocket</archive>
|
|
||||||
</mailingList>
|
|
||||||
</mailingLists>
|
|
||||||
<licenses>
|
|
||||||
<license>
|
|
||||||
<name>Apache License 2.0</name>
|
|
||||||
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
|
|
||||||
<distribution>repo</distribution>
|
|
||||||
</license>
|
|
||||||
</licenses>
|
|
||||||
<build>
|
<build>
|
||||||
<sourceDirectory>src/main/java</sourceDirectory>
|
|
||||||
<outputDirectory>target/classes</outputDirectory>
|
|
||||||
<extensions>
|
|
||||||
<extension>
|
|
||||||
<groupId>org.jvnet.wagon-svn</groupId>
|
|
||||||
<artifactId>wagon-svn</artifactId>
|
|
||||||
<version>1.8</version>
|
|
||||||
</extension>
|
|
||||||
<extension>
|
|
||||||
<groupId>org.apache.maven.wagon</groupId>
|
|
||||||
<artifactId>wagon-ssh-external</artifactId>
|
|
||||||
<version>1.0-alpha-6</version>
|
|
||||||
</extension>
|
|
||||||
<extension>
|
|
||||||
<groupId>org.apache.maven.wagon</groupId>
|
|
||||||
<artifactId>wagon-webdav</artifactId>
|
|
||||||
<version>1.0-beta-1</version>
|
|
||||||
</extension>
|
|
||||||
</extensions>
|
|
||||||
<defaultGoal>install</defaultGoal>
|
|
||||||
<directory>target</directory>
|
|
||||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<version>2.12</version>
|
||||||
|
<configuration>
|
||||||
|
<systemProperties>
|
||||||
|
<property>
|
||||||
|
<name>loggerPath</name>
|
||||||
|
<value>conf/log4j.properties</value>
|
||||||
|
</property>
|
||||||
|
</systemProperties>
|
||||||
|
<argLine>-Xms512m -Xmx1500m</argLine>
|
||||||
|
<parallel>methods</parallel>
|
||||||
|
<forkMode>pertest</forkMode>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
@ -81,237 +47,122 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<!-- attach test jar -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>2.1.2</version>
|
<version>2.2</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
|
||||||
<phase>verify</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>jar-no-fork</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
|
||||||
<version>2.7</version>
|
|
||||||
<configuration>
|
|
||||||
<aggregate>true</aggregate>
|
|
||||||
<source>1.6</source>
|
|
||||||
<encoding>UTF-8</encoding>
|
|
||||||
<maxmemory>1g</maxmemory>
|
|
||||||
<links>
|
|
||||||
<link>http://java.sun.com/javase/6/docs/api/</link>
|
|
||||||
</links>
|
|
||||||
<excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>attach-javadocs</id>
|
|
||||||
<phase>verify</phase>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
|
<goal>test-jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>add_sources</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>add-source</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<sources>
|
||||||
|
<source>src/main/java</source>
|
||||||
|
</sources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>add_test_sources</id>
|
||||||
|
<phase>generate-test-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>add-test-source</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<sources>
|
||||||
|
<source>src/test/java</source>
|
||||||
|
</sources>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.0</version>
|
<version>2.3.2</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.6</source>
|
<source>1.6</source>
|
||||||
<target>1.6</target>
|
<target>1.6</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
|
||||||
<version>2.4</version>
|
|
||||||
<configuration>
|
|
||||||
<archive>
|
|
||||||
<manifestEntries>
|
|
||||||
<mode>development</mode>
|
|
||||||
<url>${project.url}</url>
|
|
||||||
<implementation-version>${project.version}</implementation-version>
|
|
||||||
<package>com.wordnik</package>
|
|
||||||
</manifestEntries>
|
|
||||||
</archive>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
|
||||||
<version>2.1</version>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
|
||||||
<version>2.1</version>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
<pluginManagement>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>net.alchim31.maven</groupId>
|
|
||||||
<artifactId>scala-maven-plugin</artifactId>
|
|
||||||
<version>${scala-maven-plugin-version}</version>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-gpg-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<releaseProfiles>release</releaseProfiles>
|
|
||||||
<goals>sign</goals>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</pluginManagement>
|
|
||||||
</build>
|
</build>
|
||||||
<profiles>
|
<dependencies>
|
||||||
<profile>
|
<dependency>
|
||||||
<id>release-profile</id>
|
<groupId>com.wordnik</groupId>
|
||||||
<properties>
|
<artifactId>swagger-annotations</artifactId>
|
||||||
<skipTests>true</skipTests>
|
<version>${swagger-annotations-version}</version>
|
||||||
</properties>
|
</dependency>
|
||||||
<build>
|
<dependency>
|
||||||
<plugins>
|
<groupId>com.sun.jersey</groupId>
|
||||||
<plugin>
|
<artifactId>jersey-client</artifactId>
|
||||||
<groupId>net.alchim31.maven</groupId>
|
<version>${jersey-version}</version>
|
||||||
<artifactId>scala-maven-plugin</artifactId>
|
</dependency>
|
||||||
<executions>
|
<dependency>
|
||||||
<execution>
|
<groupId>com.sun.jersey.contribs</groupId>
|
||||||
<goals>
|
<artifactId>jersey-multipart</artifactId>
|
||||||
<goal>compile</goal>
|
<version>${jersey-version}</version>
|
||||||
<goal>testCompile</goal>
|
</dependency>
|
||||||
</goals>
|
<dependency>
|
||||||
</execution>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
</executions>
|
<artifactId>jackson-core</artifactId>
|
||||||
<configuration />
|
<version>${jackson-version}</version>
|
||||||
</plugin>
|
</dependency>
|
||||||
<plugin>
|
<dependency>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>jackson-annotations</artifactId>
|
||||||
<executions>
|
<version>${jackson-version}</version>
|
||||||
<execution>
|
</dependency>
|
||||||
<id>add-source</id>
|
<dependency>
|
||||||
<phase>prepare-package</phase>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
<goals>
|
<artifactId>jackson-databind</artifactId>
|
||||||
<goal>add-source</goal>
|
<version>${jackson-version}</version>
|
||||||
</goals>
|
</dependency>
|
||||||
<configuration>
|
<dependency>
|
||||||
<sources>
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||||
<source>src/main/scala</source>
|
<artifactId>jackson-datatype-joda</artifactId>
|
||||||
</sources>
|
<version>2.1.5</version>
|
||||||
</configuration>
|
</dependency>
|
||||||
</execution>
|
<dependency>
|
||||||
</executions>
|
<groupId>joda-time</groupId>
|
||||||
</plugin>
|
<artifactId>joda-time</artifactId>
|
||||||
</plugins>
|
<version>${jodatime-version}</version>
|
||||||
</build>
|
</dependency>
|
||||||
</profile>
|
|
||||||
<profile>
|
<!-- test dependencies -->
|
||||||
<id>release-sign-artifacts</id>
|
<dependency>
|
||||||
<activation>
|
<groupId>junit</groupId>
|
||||||
<property>
|
<artifactId>junit</artifactId>
|
||||||
<name>performRelease</name>
|
<version>${junit-version}</version>
|
||||||
<value>true</value>
|
<scope>test</scope>
|
||||||
</property>
|
</dependency>
|
||||||
</activation>
|
</dependencies>
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-gpg-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>sign-artifacts</id>
|
|
||||||
<phase>verify</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>sign</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
<modules>
|
|
||||||
<module>modules/swagger-codegen</module>
|
|
||||||
<module>modules/swagger-codegen-distribution</module>
|
|
||||||
</modules>
|
|
||||||
<reporting>
|
|
||||||
<outputDirectory>target/site</outputDirectory>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
|
||||||
<version>2.9</version>
|
|
||||||
<configuration>
|
|
||||||
<aggregate>true</aggregate>
|
|
||||||
<debug>true</debug>
|
|
||||||
<links>
|
|
||||||
<link>http://java.sun.com/javaee/5/docs/api</link>
|
|
||||||
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
|
|
||||||
</links>
|
|
||||||
<excludePackageNames />
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>net.alchim31.maven</groupId>
|
|
||||||
<artifactId>scala-maven-plugin</artifactId>
|
|
||||||
<version>${scala-maven-plugin-version}</version>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-jxr-plugin</artifactId>
|
|
||||||
<version>2.3</version>
|
|
||||||
<configuration>
|
|
||||||
<aggregate>true</aggregate>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
||||||
<version>2.6</version>
|
|
||||||
<reportSets>
|
|
||||||
<reportSet>
|
|
||||||
<reports>
|
|
||||||
<report>project-team</report>
|
|
||||||
</reports>
|
|
||||||
</reportSet>
|
|
||||||
</reportSets>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</reporting>
|
|
||||||
<dependencyManagement>
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>junit</groupId>
|
|
||||||
<artifactId>junit</artifactId>
|
|
||||||
<version>${junit-version}</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</dependencyManagement>
|
|
||||||
<properties>
|
<properties>
|
||||||
<swagger-parser-version>1.0.0-SNAPSHOT</swagger-parser-version>
|
<swagger-annotations-version>1.5.0-M1</swagger-annotations-version>
|
||||||
<scala-version>2.11.1</scala-version>
|
<jersey-version>1.7</jersey-version>
|
||||||
<felix-version>2.3.4</felix-version>
|
<jackson-version>2.1.4</jackson-version>
|
||||||
<swagger-core-version>1.5.0-M1</swagger-core-version>
|
<jodatime-version>2.3</jodatime-version>
|
||||||
<scala-test-version>2.1.4</scala-test-version>
|
|
||||||
<commons-io-version>2.3</commons-io-version>
|
|
||||||
<commons-cli-version>1.2</commons-cli-version>
|
|
||||||
<junit-version>4.8.1</junit-version>
|
<junit-version>4.8.1</junit-version>
|
||||||
<maven-plugin-version>1.0.0</maven-plugin-version>
|
<maven-plugin-version>1.0.0</maven-plugin-version>
|
||||||
<commons-lang-version>2.4</commons-lang-version>
|
<junit-version>4.8.1</junit-version>
|
||||||
<slf4j-version>1.6.3</slf4j-version>
|
|
||||||
<scala-maven-plugin-version>3.1.5</scala-maven-plugin-version>
|
|
||||||
<scala-version>2.10.4</scala-version>
|
|
||||||
<jmustache-version>1.9</jmustache-version>
|
|
||||||
</properties>
|
</properties>
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
Reference in New Issue
Block a user