mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
0136aeefbc
* release_version_update * comment out ensure up to date * release_version_update_docs * update release table
92 lines
3.7 KiB
XML
92 lines
3.7 KiB
XML
<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">
|
|
<parent>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>openapi-generator-project</artifactId>
|
|
<version>3.3.1</version>
|
|
<relativePath>../..</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>openapi-generator-gradle-plugin-mvn-wrapper</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>openapi-generator-gradle-plugin (maven wrapper)</name>
|
|
<description>This is a maven wrapper to call gradle during installation phase</description>
|
|
|
|
<properties>
|
|
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
|
|
<gradleVersion>4.10.2</gradleVersion>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>openapi-generator</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!-- NOTE: Consider this temporary, as a way to cleanly hook into our pipeline.
|
|
We've discussed moving the entire project to gradle https://github.com/OpenAPITools/openapi-generator/issues/200, which would avoid this fitting. -->
|
|
<pluginManagement>
|
|
<plugins>
|
|
<!-- 1) disable maven install. This wrapper is not needed. (gradle will install a jar and a pom into the local maven repo) -->
|
|
<plugin>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- 3) disable maven deploy. This wrapper is not needed. -->
|
|
<plugin>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<!-- 2) run gradle -->
|
|
<plugin>
|
|
<groupId>org.fortasoft</groupId>
|
|
<artifactId>gradle-maven-plugin</artifactId>
|
|
<version>1.0.8</version>
|
|
<configuration>
|
|
<gradleVersion>${gradleVersion}</gradleVersion>
|
|
<args>
|
|
<arg>-P openApiGeneratorVersion=${project.version}</arg>
|
|
</args>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<!-- goal must be "invoke" -->
|
|
<goal>invoke</goal>
|
|
</goals>
|
|
<configuration>
|
|
<tasks>
|
|
<!-- calls "clean assemble install" -->
|
|
<task>clean</task>
|
|
<task>assemble</task>
|
|
<task>install</task>
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.gradle</groupId>
|
|
<artifactId>gradle-tooling-api</artifactId>
|
|
<version>${gradleVersion}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|