openapi-to-java-records-mustache-templates-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.chrimle</groupId> <artifactId>openapi-to-java-records-mustache-templates-parent</artifactId> <version>2.9.0</version> </dependency>
<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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.chrimle</groupId> <artifactId>openapi-to-java-records-mustache-templates-parent</artifactId> <version>2.9.0</version> <packaging>pom</packaging> <modules> <module>mustache-templates</module> <module>tests</module> <module>test-utils</module> </modules> <!-- Project Information --> <name>OpenAPI to Java records :: Mustache Templates :: Parent</name> <description>Project containing Mustache-templates used by openapi-generator-maven-plugin to generate Java records from OpenAPI Specifications.</description> <inceptionYear>2024</inceptionYear> <url>https://chrimle.github.io/openapi-to-java-records-mustache-templates/</url> <licenses> <license> <name>Apache License 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.html</url> <distribution>repo</distribution> </license> </licenses> <organization> <name>openapi-to-java-records-mustache-templates</name> <url>https://chrimle.github.io/openapi-to-java-records-mustache-templates/</url> </organization> <developers> <developer> <id>Chrimle</id> <name>Christopher Molin</name> <roles> <role>Lead Developer</role> </roles> <timezone>CET</timezone> <url>https://www.chrimle.com</url> </developer> </developers> <!-- --> <distributionManagement> <repository> <id>github</id> <name>GitHub Chrimle Apache Maven Packages</name> <url>https://maven.pkg.github.com/chrimle/openapi-to-java-records-mustache-templates</url> </repository> <snapshotRepository> <id>github</id> <name>GitHub Chrimle Apache Maven Snapshot Packages</name> <url>https://maven.pkg.github.com/chrimle/openapi-to-java-records-mustache-templates</url> </snapshotRepository> </distributionManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.release>17</maven.compiler.release> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <maven.plugin.validation>VERBOSE</maven.plugin.validation> <!-- Dependency Versions --> <openapi-generator-maven-plugin.version>7.8.0</openapi-generator-maven-plugin.version> <junit-jupiter.version>5.12.2</junit-jupiter.version> <gson.version>2.13.0</gson.version> <jackson-databind-nullable.version>0.2.6</jackson-databind-nullable.version> <spotbugs-annotations.version>4.9.3</spotbugs-annotations.version> <jakarta.annotation-api.version>3.0.0</jakarta.annotation-api.version> <jackson-annotations.version>2.18.3</jackson-annotations.version> <hibernate-validator.version>8.0.2.Final</hibernate-validator.version> <!-- / Dependency Versions --> <!-- Build Plugin Versions --> <maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version> <maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version> <!-- / Build Plugin Versions --> <!-- Publish to Maven Central Repository --> <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> <maven-source-plugin.version>3.3.1</maven-source-plugin.version> <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> <!-- /Publish to Maven Central Repository --> <!-- Jacoco --> <jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version> <jacoco-maven-plugin.minimumPackageLineCoveredRatio>1</jacoco-maven-plugin.minimumPackageLineCoveredRatio> <jacoco-maven-plugin.expectedBundleClassMissedCount>0</jacoco-maven-plugin.expectedBundleClassMissedCount> <!-- /Jacoco --> <!-- Spotless --> <spotless.check.skip>false</spotless.check.skip> <!-- Unused imports causes build to fail --> <spotless-maven-plugin.version>2.44.4</spotless-maven-plugin.version> <googleJavaFormat.version>1.23.0</googleJavaFormat.version> <!-- /Spotless --> </properties> <scm> <connection>scm:git:git://github.com/chrimle/openapi-to-java-records-mustache-templates.git</connection> <developerConnection>scm:git:ssh://github.com:chrimle/openapi-to-java-records-mustache-templates.git</developerConnection> <url>http://github.com/chrimle/openapi-to-java-records-mustache-templates/tree/main</url> </scm> <dependencyManagement> <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <!-- Needed when library=okhttp-gson --> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>${gson.version}</version> </dependency> <dependency> <!-- Needed when configOptions.useJakartaEe=true --> <groupId>jakarta.annotation</groupId> <artifactId>jakarta.annotation-api</artifactId> <version>${jakarta.annotation-api.version}</version> </dependency> <dependency> <!-- Needed when configOptions.useJakartaEe=false --> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-annotations</artifactId> <version>${spotbugs-annotations.version}</version> </dependency> <dependency> <groupId>org.openapitools</groupId> <artifactId>jackson-databind-nullable</artifactId> <version>${jackson-databind-nullable.version}</version> </dependency> <dependency> <!-- Needed when library=webclient --> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>${jackson-annotations.version}</version> </dependency> <dependency> <!-- Needed when useBeanValidation=true --> <groupId>org.hibernate.validator</groupId> <artifactId>hibernate-validator</artifactId> <version>${hibernate-validator.version}</version> </dependency> </dependencies> </dependencyManagement> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco-maven-plugin.version}</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> </execution> <execution> <id>jacoco-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule> <element>PACKAGE</element> <limits> <limit> <counter>LINE</counter> <value>COVEREDRATIO</value> <minimum>${jacoco-maven-plugin.minimumPackageLineCoveredRatio}</minimum> </limit> </limits> </rule> <rule> <element>BUNDLE</element> <limits> <limit> <counter>CLASS</counter> <value>MISSEDCOUNT</value> <minimum>${jacoco-maven-plugin.expectedBundleClassMissedCount}</minimum> <maximum>${jacoco-maven-plugin.expectedBundleClassMissedCount}</maximum> </limit> </limits> </rule> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <version>${spotless-maven-plugin.version}</version> <configuration> <java> <lineEndings>UNIX</lineEndings> <googleJavaFormat> <version>${googleJavaFormat.version}</version> <style>GOOGLE</style> </googleJavaFormat> </java> </configuration> <executions> <execution> <goals> <goal>apply</goal> </goals> <phase>validate</phase> <configuration> <java> <includes> <include>src/main/**/*.java</include> <include>src/test/**/*.java</include> </includes> </java> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>deploy-to-maven-central</id> <build> <plugins> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>${central-publishing-maven-plugin.version}</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <tokenAuth>true</tokenAuth> <autoPublish>true</autoPublish> <excludeArtifacts>openapi-to-java-records-mustache-templates-tests,openapi-to-java-records-mustache-templates-test-utils</excludeArtifacts> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</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-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>