mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 04:30:51 +00:00
* Added ANTLR. Started work on issue 20960 * Ran generation scripts * Excluded ANTLR generated files from JavaDoc generation * Whitespace fix
1261 lines
48 KiB
XML
1261 lines
48 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<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">
|
|
<parent>
|
|
<groupId>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>5</version>
|
|
<relativePath />
|
|
<!-- lookup parent from repository -->
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>openapi-generator-project</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>openapi-generator-project</name>
|
|
<!-- RELEASE_VERSION -->
|
|
<version>7.14.0-SNAPSHOT</version>
|
|
<!-- /RELEASE_VERSION -->
|
|
<url>https://github.com/openapitools/openapi-generator</url>
|
|
<scm>
|
|
<connection>scm:git:git@github.com:openapitools/openapi-generator.git</connection>
|
|
<developerConnection>scm:git:git@github.com:openapitools/openapi-generator.git</developerConnection>
|
|
<url>https://github.com/openapitools/openapi-generator</url>
|
|
</scm>
|
|
<developers>
|
|
<!-- original author of the project -->
|
|
<developer>
|
|
<id>fehguy</id>
|
|
<name>Tony Tam</name>
|
|
<email>fehguy@gmail.com</email>
|
|
</developer>
|
|
<!-- openapi-generator core team -->
|
|
<developer>
|
|
<id>wing328</id>
|
|
<name>William Cheng</name>
|
|
<email>wing328hk@gmail.com</email>
|
|
</developer>
|
|
<developer>
|
|
<id>jimschubert</id>
|
|
<name>Jim Schubert</name>
|
|
<email>james.schubert@gmail.com</email>
|
|
</developer>
|
|
<developer>
|
|
<id>cbornet</id>
|
|
<name>Christophe Bornet</name>
|
|
</developer>
|
|
<developer>
|
|
<id>jmini</id>
|
|
<name>Jérémie Bresson</name>
|
|
<email>dev@jmini.fr</email>
|
|
</developer>
|
|
<developer>
|
|
<id>etherealjoy</id>
|
|
<name>Sunn</name>
|
|
<email>sunn.ssb@live.com</email>
|
|
</developer>
|
|
</developers>
|
|
<issueManagement>
|
|
<system>github</system>
|
|
<url>https://github.com/openapitools/openapi-generator/issues</url>
|
|
</issueManagement>
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
<build>
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
<outputDirectory>target/classes</outputDirectory>
|
|
<extensions>
|
|
<extension>
|
|
<groupId>org.jvnet.wagon-svn</groupId>
|
|
<artifactId>wagon-svn</artifactId>
|
|
<version>${wagon-svn.version}</version>
|
|
</extension>
|
|
<extension>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ssh-external</artifactId>
|
|
<version>${wagon-ssh-external.version}</version>
|
|
</extension>
|
|
<extension>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-webdav</artifactId>
|
|
<version>${wagon-webdav.version}</version>
|
|
</extension>
|
|
</extensions>
|
|
<defaultGoal>install</defaultGoal>
|
|
<directory>target</directory>
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>${checkstyle.plugin.version}</version>
|
|
<configuration>
|
|
<consoleOutput>false</consoleOutput>
|
|
<failsOnError>false</failsOnError>
|
|
<excludes>**/samples/*.java</excludes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>checkstyle-check</id>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<phase>verify</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- https://www.jacoco.org/jacoco/trunk/doc/maven.html -->
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>jacoco-initialize</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>jacoco-site</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>default-check</id>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<rule>
|
|
<element>PACKAGE</element>
|
|
<limits>
|
|
<limit>
|
|
<counter>LINE</counter>
|
|
<value>COVEREDRATIO</value>
|
|
<minimum>0</minimum>
|
|
</limit>
|
|
</limits>
|
|
</rule>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/gradle-wrapper.jar</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<configuration>
|
|
<printSummary>true</printSummary>
|
|
<parallel>classes</parallel>
|
|
<threadCountClasses>3</threadCountClasses>
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
<junitArtifactName>none:none</junitArtifactName>
|
|
<testNGArtifactName>org.testng:testng</testNGArtifactName>
|
|
<argLine>@{argLine} -XX:+StartAttachListener</argLine>
|
|
<rerunFailingTestsCount>2</rerunFailingTestsCount>
|
|
<systemPropertyVariables>
|
|
<org.openapitools.codegen.utils.oncelogger.expiry>1000</org.openapitools.codegen.utils.oncelogger.expiry>
|
|
<org.openapitools.codegen.utils.oncelogger.cachesize>5000</org.openapitools.codegen.utils.oncelogger.cachesize>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<!-- must be on the classpath for test instrumentation -->
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>org.jacoco.agent</artifactId>
|
|
<classifier>runtime</classifier>
|
|
<version>${jacoco.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>${maven-dependency-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.source}</target>
|
|
<annotationProcessors>
|
|
lombok.launch.AnnotationProcessorHider$AnnotationProcessor,lombok.launch.AnnotationProcessorHider$ClaimingProcessor,javaslang.match.PatternsProcessor
|
|
</annotationProcessors>
|
|
<annotationProcessorPaths>
|
|
<processorPath>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</processorPath>
|
|
<processorPath>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-compiler-embeddable</artifactId>
|
|
<version>${kotlin-compiler-embeddable.version}</version>
|
|
</processorPath>
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${maven-jar-plugin.version}</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<mode>development</mode>
|
|
<url>${project.url}</url>
|
|
<implementation-version>${project.version}</implementation-version>
|
|
<package>org.openapitools</package>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>${maven-site-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>${maven-release-plugin.version}</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<encoding>UTF-8</encoding>
|
|
<maxmemory>1g</maxmemory>
|
|
<failOnWarnings>false</failOnWarnings>
|
|
<doclint>none</doclint>
|
|
<excludePackageNames>org.openapitools.codegen.antlr4</excludePackageNames>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<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-enforcer-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-maven</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireJavaVersion>
|
|
<version>1.11.0</version>
|
|
</requireJavaVersion>
|
|
<requireMavenVersion>
|
|
<version>3.3.4</version>
|
|
</requireMavenVersion>
|
|
<requireReleaseDeps>
|
|
<message>No Snapshots Allowed!</message>
|
|
<failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
|
|
<excludes>
|
|
<exclude>org.openapitools:*</exclude>
|
|
</excludes>
|
|
</requireReleaseDeps>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>de.thetaphi</groupId>
|
|
<artifactId>forbiddenapis</artifactId>
|
|
<version>3.5.1</version>
|
|
<configuration>
|
|
<bundledSignatures>
|
|
<!--
|
|
This will automatically choose the right
|
|
signatures based on 'maven.compiler.target':
|
|
-->
|
|
<bundledSignature>jdk-unsafe</bundledSignature>
|
|
<bundledSignature>jdk-deprecated</bundledSignature>
|
|
<bundledSignature>jdk-internal</bundledSignature>
|
|
<!-- disallow undocumented classes like sun.misc.Unsafe: -->
|
|
<bundledSignature>jdk-non-portable</bundledSignature>
|
|
<bundledSignature>jdk-reflection</bundledSignature>
|
|
</bundledSignatures>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
<goal>testCheck</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>se.bjurr.violations</groupId>
|
|
<artifactId>violations-maven-plugin</artifactId>
|
|
<version>${violations-maven-plugin.version}</version>
|
|
<configuration>
|
|
<maxViolations>0</maxViolations>
|
|
<detailLevel>VERBOSE</detailLevel>
|
|
<minSeverity>ERROR</minSeverity>
|
|
<violations>
|
|
<violation>
|
|
<parser>FINDBUGS</parser>
|
|
<reporter>Spotbugs</reporter>
|
|
<folder>${project.basedir}</folder>
|
|
<pattern>.*/spotbugsXml\.xml$</pattern>
|
|
</violation>
|
|
<violation>
|
|
<parser>PMD</parser>
|
|
<reporter>PMD</reporter>
|
|
<folder>${project.basedir}</folder>
|
|
<pattern>.*/pmd\.xml$</pattern>
|
|
</violation>
|
|
<violation>
|
|
<parser>CHECKSTYLE</parser>
|
|
<reporter>Checkstyle</reporter>
|
|
<folder>${project.basedir}</folder>
|
|
<pattern>.*/checkstyle-result\.xml$</pattern>
|
|
</violation>
|
|
</violations>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>violations</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>${spotbugs-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>${pmd-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>${checkstyle.plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>pl.project13.maven</groupId>
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
<version>${git-commit-id-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.gradle</groupId>
|
|
<artifactId>develocity-maven-extension</artifactId>
|
|
<configuration>
|
|
<develocity>
|
|
<normalization>
|
|
<runtimeClassPath>
|
|
<ignoredFiles>
|
|
<ignoredFile>**/_merged_spec.yaml</ignoredFile>
|
|
</ignoredFiles>
|
|
</runtimeClassPath>
|
|
</normalization>
|
|
</develocity>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.6.8</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>ossrh</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>release-sign-artifacts</id>
|
|
<activation>
|
|
<property>
|
|
<name>performRelease</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<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>
|
|
<!-- CI related -->
|
|
<profile>
|
|
<!-- This profile will run much more in-depth static analysis checks. -->
|
|
<id>static-analysis</id>
|
|
<properties>
|
|
<skipTests>true</skipTests>
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>${spotbugs-plugin.version}</version>
|
|
<configuration>
|
|
<failOnError>false</failOnError>
|
|
<!-- https://spotbugs.readthedocs.io/en/stable/effort.html -->
|
|
<effort>min</effort>
|
|
<excludeFilterFile>
|
|
${project.basedir}${file.separator}spotbugs-exclude.xml</excludeFilterFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>spotbugs-check</id>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<phase>verify</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>${pmd-plugin.version}</version>
|
|
<configuration>
|
|
<sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
|
|
<failOnViolation>false</failOnViolation>
|
|
<printFailingErrors>false</printFailingErrors>
|
|
<rulesets>
|
|
<ruleset>category/java/errorprone.xml</ruleset>
|
|
</rulesets>
|
|
<excludes>
|
|
<exclude>**/samples/**/*</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>pmd-check</id>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<phase>verify</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>${spotbugs-plugin.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
</profile>
|
|
<!-- Samples -->
|
|
<profile>
|
|
<id>android-client</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/android/volley</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>bash-client</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/bash</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>clojure-client</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>clojure</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/clojure</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>haskell-http-client</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>haskell-http-client</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/haskell-http-client</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>haskell-http-client-integration-test</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>haskell-http-client</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/haskell-http-client/tests-integration</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-client-jersey2-java8</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/java/jersey2-java8</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-client-openapi3-jersey2-java8</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/openapi3/client/petstore/java/jersey2-java8</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-client-okhttp-gson</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/java/okhttp-gson</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-client-okhttp-gson-parcelable</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/java/okhttp-gson-parcelableModel</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-client-retrofit2</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/java/retrofit2</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-client-retrofit2-rx</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/java/retrofit2rx2</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-client-feign</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/java/feign</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>javascript-client-es6</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>javascript</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/javascript-es6</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>javascript-client-promise-es6</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>javascript</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/javascript-promise-es6</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>scala-sttp</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>scala</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/scala-sttp</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-micronaut-client</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/java-micronaut-client</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-micronaut-server</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/java-micronaut-server</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-helidon-client</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/java-helidon-client/mp</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-helidon-server</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/java-helidon-server/mp</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-msf4j-server</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/java-msf4j</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>jaxrs-cxf-server</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/jaxrs-cxf</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>jaxrs-resteasy-server</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/jaxrs-resteasy/default</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>jaxrs-resteasy-server-joda</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/jaxrs-resteasy/joda</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>jaxrs-resteasy-eap-server</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/jaxrs-resteasy/eap</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>jaxrs-resteasy-eap-server-joda</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/jaxrs-resteasy/eap-joda</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>jaxrs-server</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/jaxrs/jersey2</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<!-- openapi v3's one -->
|
|
<id>jaxrs-jersey</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/jaxrs-jersey</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>jaxrs-spec</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/jaxrs-spec</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>jaxrs-spec-interface</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/jaxrs-spec-interface</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>jaxrs-spec-interface-response</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/jaxrs-spec-interface-response</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>typescript-client-tests-default</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/openapi3/client/petstore/typescript/tests/default</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>typescript-client-tests-deno</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/openapi3/client/petstore/typescript/tests/deno</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>typescript-client-tests-jquery</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/openapi3/client/petstore/typescript/tests/jquery</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>typescript-client-tests-browser</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/openapi3/client/petstore/typescript/tests/browser</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>typescript-fetch-client-tests-default</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/typescript-fetch/tests/default</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>typescript-fetch-client-builds-default</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/typescript-fetch/builds/default</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>typescript-fetch-client-builds-es6-target</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/typescript-fetch/builds/es6-target</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>typescript-fetch-client-builds-with-npm-version</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/typescript-fetch/builds/with-npm-version</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>typescript-fetch-client-builds-prefix-parameter-interfaces</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>typescript-node-npm-client</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/typescript-node/npm</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>ruby-client</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/ruby</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>go-client</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/client/petstore/go</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>springboot-beanvalidation</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/springboot-beanvalidation</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>springboot-reactive</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/springboot-reactive</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>springboot</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/springboot</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>springboot-virtualan</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/springboot-virtualan</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-inflector</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/java-inflector</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>java-undertow</id>
|
|
<activation>
|
|
<property>
|
|
<name>env</name>
|
|
<value>java</value>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>samples/server/petstore/java-undertow</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>openapi-generator</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
<property>
|
|
<name>!integration-test</name>
|
|
</property>
|
|
</activation>
|
|
<modules>
|
|
<module>modules/openapi-generator-core</module>
|
|
<module>modules/openapi-generator</module>
|
|
<module>modules/openapi-generator-cli</module>
|
|
<module>modules/openapi-generator-maven-plugin</module>
|
|
<module>modules/openapi-generator-gradle-plugin</module>
|
|
<module>modules/openapi-generator-online</module>
|
|
</modules>
|
|
</profile>
|
|
</profiles>
|
|
<reporting>
|
|
<outputDirectory>target/site</outputDirectory>
|
|
<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-jxr-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>${maven-project-info-reports-plugin.version}</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>project-team</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.junit</groupId>
|
|
<artifactId>junit-bom</artifactId>
|
|
<version>${junit.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<version>${testng.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<repositories>
|
|
<repository>
|
|
<id>sonatype-snapshots</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<properties>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<archunit.version>1.3.0</archunit.version>
|
|
<checkstyle.plugin.version>3.1.0</checkstyle.plugin.version>
|
|
<commons-cli.version>1.5.0</commons-cli.version>
|
|
<commons-io.version>2.16.1</commons-io.version>
|
|
<commons-lang.version>3.12.0</commons-lang.version>
|
|
<commons-text.version>1.10.0</commons-text.version>
|
|
<diffutils.version>1.3.0</diffutils.version>
|
|
<generex.version>1.0.2</generex.version>
|
|
<git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version>
|
|
<groovy.version>3.0.9</groovy.version>
|
|
<guava.version>32.1.3-jre</guava.version>
|
|
<handlebars-java.version>4.3.1</handlebars-java.version>
|
|
<jackson-threetenbp.version>2.18.2</jackson-threetenbp.version>
|
|
<jackson.version>2.18.2</jackson.version>
|
|
<jacoco.version>0.8.12</jacoco.version>
|
|
<jmustache.version>1.15</jmustache.version>
|
|
<junit.version>5.10.2</junit.version>
|
|
<kotlin.version>1.6.21</kotlin.version>
|
|
<kotlin-compiler-embeddable.version>1.6.21</kotlin-compiler-embeddable.version>
|
|
<lombok.version>1.18.30</lombok.version>
|
|
<maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version>
|
|
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
|
|
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
|
|
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
|
|
<maven-project-info-reports-plugin.version>3.0.0</maven-project-info-reports-plugin.version>
|
|
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
|
|
<maven-site-plugin.version>4.0.0-M8</maven-site-plugin.version>
|
|
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
|
|
<mockito.version>4.10.0</mockito.version>
|
|
<pmd-plugin.version>3.12.0</pmd-plugin.version>
|
|
<resolver-util-version>1.9.18</resolver-util-version>
|
|
<rxgen.version>1.4</rxgen.version>
|
|
<scala-maven-plugin.version>4.6.1</scala-maven-plugin.version>
|
|
<slf4j.version>1.7.36</slf4j.version>
|
|
<snakeyaml.version>2.3</snakeyaml.version>
|
|
<spotbugs-plugin.version>3.1.12.2</spotbugs-plugin.version>
|
|
<swagger-parser-groupid.version>io.swagger.parser.v3</swagger-parser-groupid.version>
|
|
<swagger-parser.version>2.1.22</swagger-parser.version>
|
|
<testng.version>7.10.2</testng.version>
|
|
<violations-maven-plugin.version>1.34</violations-maven-plugin.version>
|
|
<wagon-ssh-external.version>3.4.3</wagon-ssh-external.version>
|
|
<wagon-svn.version>1.12</wagon-svn.version>
|
|
<wagon-webdav.version>1.0-beta-2</wagon-webdav.version>
|
|
</properties>
|
|
</project>
|