codegen-plus
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.mridang</groupId> <artifactId>codegen-plus</artifactId> <version>1.8.0</version> </dependency>
<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 https://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.mridang</groupId> <artifactId>codegen-plus</artifactId> <packaging>jar</packaging> <name>OpenAPI Custom Normalizer Library</name> <version>1.8.0</version> <inceptionYear>2025</inceptionYear> <url>https://github.com/mridang/openapi-generator-plus</url> <description>A small custom OpenAPI normalizer for the official generator.</description> <scm> <connection>scm:git:git@github.com:mridang/openapi-generator-plus.git</connection> <developerConnection>scm:git:git@github.com:mridang/openapi-generator-plus.git</developerConnection> <tag>master</tag> <url>https://github.com/mridang/openapi-generator-plus</url> </scm> <licenses> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>mridang</id> <name>Mridang Agarwalla</name> <email>mridang.agarwalla@gmail.com</email> <url>https://www.github.com/mridang</url> <roles> <role>developer</role> </roles> <timezone>America/New_York</timezone> </developer> </developers> <issueManagement> <system>GitHub</system> <url>https://github.com/mridang/openapi-generator-plus/issues</url> </issueManagement> <build> <plugins> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>4.9.3.2</version> <configuration> <effort>Max</effort> <threshold>Low</threshold> <xmlOutput>true</xmlOutput> <failOnError>true</failOnError> <excludeFilterFile>${project.basedir}/spotbugs.xml</excludeFilterFile> <plugins> <plugin> <groupId>com.h3xstream.findsecbugs</groupId> <artifactId>findsecbugs-plugin</artifactId> <version>1.14.0</version> </plugin> <!-- <plugin>--> <!-- <groupId>com.mebigfatguy.fb-contrib</groupId>--> <!-- <artifactId>fb-contrib</artifactId>--> <!-- <version>7.6.9</version>--> <!-- </plugin>--> </plugins> </configuration> <executions> <execution> <goals> <goal>check</goal> <goal>spotbugs</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> <configuration> <release>11</release> <fork>true</fork> <meminitial>128m</meminitial> <maxmem>512m</maxmem> <compilerArgs> <arg>-Xlint:all</arg> <arg>-J-Xss4m</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.6.1</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>2.2.0</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> <configuration> <systemPropertyVariables> <property> <name>loggerPath</name> <value>conf/log4j.properties</value> </property> </systemPropertyVariables> <argLine>${jacoco.agent} -Xms512m -Xmx1500m</argLine> <parallel>methods</parallel> <useUnlimitedThreads>true</useUnlimitedThreads> <reportsDirectory>${project.build.directory}/reports</reportsDirectory> <trimStackTrace>false</trimStackTrace> </configuration> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/lib</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.4.2</version> <configuration> <archive> <manifestEntries> <Service-Provider>io.github.mridang.codegen.AdvancedOpenAPINormalizer</Service-Provider> </manifestEntries> </archive> </configuration> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.6.1</version> <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> <execution> <id>add_spec_sources</id> <phase>generate-test-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>src/spec/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> <configuration> <doclint>none</doclint> <source>11</source> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.13</version> <executions> <execution> <id>prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report-html</id> <phase>verify</phase> <goals> <goal>report</goal> </goals> <configuration> <formats> <format>HTML</format> </formats> <outputDirectory>${project.build.directory}/coverage/html</outputDirectory> </configuration> </execution> <execution> <id>report-xml</id> <phase>verify</phase> <goals> <goal>report</goal> </goals> <configuration> <formats> <format>XML</format> </formats> <outputDirectory>${project.build.directory}/coverage</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>3.5.3</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> <configuration> <testSourceDirectory>src/spec/java</testSourceDirectory> <includes> <include>**/*Spec.java</include> </includes> <parallel>methods</parallel> <useUnlimitedThreads>true</useUnlimitedThreads> </configuration> </plugin> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <version>2.45.0</version> <configuration> <formats> <format> <includes> <include>**/*.java</include> </includes> </format> </formats> <java> <googleJavaFormat/> </java> </configuration> <executions> <execution> <goals> <goal>apply</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.8.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> <waitUntil>uploaded</waitUntil> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>docker</id> <properties> <skipTests>true</skipTests> <maven.test.skip>true</maven.test.skip> <maven.source.skip>true</maven.source.skip> <maven.javadoc.skip>true</maven.javadoc.skip> </properties> <build> <finalName>codegen-plus</finalName> </build> </profile> <profile> <id>deployment</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.8</version> <dependencies> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> <version>1.81</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk18on</artifactId> <version>1.81</version> </dependency> </dependencies> <configuration> <signer>bc</signer> <useAgent>false</useAgent> <keyEnvName>MAVEN_GPG_KEY</keyEnvName> <passphraseEnvName>MAVEN_GPG_PASSPHRASE</passphraseEnvName> </configuration> <executions> <execution> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.8.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> <waitUntil>uploaded</waitUntil> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>errorprone-active</id> <activation> <property> <name>!skipErrorProne</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <release>11</release> <compilerArgs> <arg>-XDcompilePolicy=simple</arg> <arg>--should-stop=ifError=FLOW</arg> <arg>-Xlint:all</arg> <arg>-Xlint:-path</arg> <arg>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode -Xep:NullAway:ERROR -XepOpt:NullAway:AnnotatedPackages=io.github.mridang</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg> <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg> <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg> <arg>-J-Xss4m</arg> </compilerArgs> <annotationProcessorPaths> <path> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_core</artifactId> <version>2.40.0</version> </path> <path> <groupId>com.uber.nullaway</groupId> <artifactId>nullaway</artifactId> <version>0.12.7</version> </path> </annotationProcessorPaths> </configuration> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <dependency> <groupId>jakarta.annotation</groupId> <artifactId>jakarta.annotation-api</artifactId> <version>3.0.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> </dependency> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>annotations</artifactId> <version>3.0.1u2</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.13.3</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> <version>2.40.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.openapitools</groupId> <artifactId>openapi-generator</artifactId> <version>7.14.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.openapitools</groupId> <artifactId>openapi-generator-core</artifactId> <version>7.14.0</version> <scope>compile</scope> </dependency> </dependencies> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!--suppress XmlUnresolvedReference --> <jacoco.agent>${argLine}</jacoco.agent> </properties> </project>