forked from loafle/openapi-generator-original
		
	* upgrade spring-boot-starter-parent * upgrade springdoc and swagger-ui * upgrade v3 swagger-annotations * generate samples * upgrade jackson * fix spring cloud, remove temp comment Putting "8" instead of "1.8" should be ok, because Spring Boot 3 requires Java 17 anyway, so it should be able to understand that 8 is the same as 1.8. * generate samples * upgrade JUnit 5, remove commons-io dependency, remove outdated samples/client/petstore/java/feign/feign10x/ files, generate samples commons-io dependency was introduced in https://github.com/OpenAPITools/openapi-generator/pull/8484, but I don't see why it would be needed now or back then. * update gson, generate samples * update logback * update feign * update scribejava * generate samples * update httpmime * okhttp-gson: update commons-lang & okhttp & junit-platform, remove mockito; generate samples It seems Mockito is not used at all there. * okhttp-gson: remove unnecessary sample files, generate sample files * upgrade google-api-client & jersey-common, restore ClientTest, generate samples * misc. upgrades in jersey2 and jersey3 jersey 3.1.3 is available already, but IntelliJ reports security problems in 3.1.3 and 3.1.2, so I used 3.1.1 instead. * align some gradle&sbt files with poms, generate samples * whitespace fix
		
			
				
	
	
		
			340 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			340 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<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">
 | 
						|
    <modelVersion>4.0.0</modelVersion>
 | 
						|
    <groupId>org.openapitools</groupId>
 | 
						|
    <artifactId>openapi3-extensions-x-auth-id-alias-jersey2-java8</artifactId>
 | 
						|
    <packaging>jar</packaging>
 | 
						|
    <name>openapi3-extensions-x-auth-id-alias-jersey2-java8</name>
 | 
						|
    <version>1.0.0</version>
 | 
						|
    <url>https://github.com/openapitools/openapi-generator</url>
 | 
						|
    <description>OpenAPI Java</description>
 | 
						|
    <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>
 | 
						|
 | 
						|
    <licenses>
 | 
						|
        <license>
 | 
						|
            <name>Unlicense</name>
 | 
						|
            <url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
 | 
						|
            <distribution>repo</distribution>
 | 
						|
        </license>
 | 
						|
    </licenses>
 | 
						|
 | 
						|
    <developers>
 | 
						|
        <developer>
 | 
						|
            <name>OpenAPI-Generator Contributors</name>
 | 
						|
            <email>team@openapitools.org</email>
 | 
						|
            <organization>OpenAPITools.org</organization>
 | 
						|
            <organizationUrl>http://openapitools.org</organizationUrl>
 | 
						|
        </developer>
 | 
						|
    </developers>
 | 
						|
 | 
						|
    <build>
 | 
						|
        <plugins>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-enforcer-plugin</artifactId>
 | 
						|
                <version>3.0.0</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.0.0-M5</version>
 | 
						|
                <configuration>
 | 
						|
                    <systemProperties>
 | 
						|
                        <property>
 | 
						|
                            <name>loggerPath</name>
 | 
						|
                            <value>conf/log4j.properties</value>
 | 
						|
                        </property>
 | 
						|
                    </systemProperties>
 | 
						|
                    <argLine>-Xms512m -Xmx1500m</argLine>
 | 
						|
                    <parallel>methods</parallel>
 | 
						|
                    <threadCount>10</threadCount>
 | 
						|
                    <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>
 | 
						|
            <!-- attach test jar -->
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-jar-plugin</artifactId>
 | 
						|
                <version>3.2.2</version>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <goals>
 | 
						|
                            <goal>test-jar</goal>
 | 
						|
                        </goals>
 | 
						|
                    </execution>
 | 
						|
                </executions>
 | 
						|
                <configuration>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.codehaus.mojo</groupId>
 | 
						|
                <artifactId>build-helper-maven-plugin</artifactId>
 | 
						|
                <version>3.3.0</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>
 | 
						|
                </executions>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-compiler-plugin</artifactId>
 | 
						|
                <version>3.10.1</version>
 | 
						|
                <configuration>
 | 
						|
                    <source>1.8</source>
 | 
						|
                    <target>1.8</target>
 | 
						|
                    <fork>true</fork>
 | 
						|
                    <meminitial>128m</meminitial>
 | 
						|
                    <maxmem>512m</maxmem>
 | 
						|
                    <compilerArgs>
 | 
						|
                        <arg>-Xlint:all</arg>
 | 
						|
                        <arg>-J-Xss4m</arg><!-- Compiling the generated JSON.java file may require larger stack size. -->
 | 
						|
                    </compilerArgs>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-javadoc-plugin</artifactId>
 | 
						|
                <version>3.3.2</version>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <id>attach-javadocs</id>
 | 
						|
                        <goals>
 | 
						|
                            <goal>jar</goal>
 | 
						|
                        </goals>
 | 
						|
                    </execution>
 | 
						|
                </executions>
 | 
						|
                <configuration>
 | 
						|
                    <doclint>none</doclint>
 | 
						|
                    <source>1.8</source>
 | 
						|
                    <tags>
 | 
						|
                        <tag>
 | 
						|
                            <name>http.response.details</name>
 | 
						|
                            <placement>a</placement>
 | 
						|
                            <head>Http Response Details:</head>
 | 
						|
                        </tag>
 | 
						|
                    </tags>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-source-plugin</artifactId>
 | 
						|
                <version>3.2.0</version>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <id>attach-sources</id>
 | 
						|
                        <goals>
 | 
						|
                            <goal>jar-no-fork</goal>
 | 
						|
                        </goals>
 | 
						|
                    </execution>
 | 
						|
                </executions>
 | 
						|
            </plugin>
 | 
						|
            <!-- Use spotless plugin to automatically format code, remove unused import, etc
 | 
						|
                 To apply changes directly to the file, run `mvn spotless:apply`
 | 
						|
                 Ref: https://github.com/diffplug/spotless/tree/main/plugin-maven
 | 
						|
            -->
 | 
						|
            <plugin>
 | 
						|
              <groupId>com.diffplug.spotless</groupId>
 | 
						|
              <artifactId>spotless-maven-plugin</artifactId>
 | 
						|
              <version>${spotless.version}</version>
 | 
						|
              <configuration>
 | 
						|
                <formats>
 | 
						|
                  <!-- you can define as many formats as you want, each is independent -->
 | 
						|
                  <format>
 | 
						|
                    <!-- define the files to apply to -->
 | 
						|
                    <includes>
 | 
						|
                      <include>.gitignore</include>
 | 
						|
                    </includes>
 | 
						|
                    <!-- define the steps to apply to those files -->
 | 
						|
                    <trimTrailingWhitespace/>
 | 
						|
                    <endWithNewline/>
 | 
						|
                    <indent>
 | 
						|
                      <spaces>true</spaces> <!-- or <tabs>true</tabs> -->
 | 
						|
                      <spacesPerTab>4</spacesPerTab> <!-- optional, default is 4 -->
 | 
						|
                    </indent>
 | 
						|
                  </format>
 | 
						|
                </formats>
 | 
						|
                <!-- define a language-specific format -->
 | 
						|
                <java>
 | 
						|
                  <!-- no need to specify files, inferred automatically, but you can if you want -->
 | 
						|
 | 
						|
                  <!-- apply a specific flavor of google-java-format and reflow long strings -->
 | 
						|
                  <googleJavaFormat>
 | 
						|
                    <version>1.8</version>
 | 
						|
                    <style>AOSP</style>
 | 
						|
                    <reflowLongStrings>true</reflowLongStrings>
 | 
						|
                  </googleJavaFormat>
 | 
						|
                  <removeUnusedImports/>
 | 
						|
                  <importOrder/>
 | 
						|
                </java>
 | 
						|
              </configuration>
 | 
						|
            </plugin>
 | 
						|
        </plugins>
 | 
						|
    </build>
 | 
						|
 | 
						|
    <profiles>
 | 
						|
        <profile>
 | 
						|
            <id>sign-artifacts</id>
 | 
						|
            <build>
 | 
						|
                <plugins>
 | 
						|
                    <plugin>
 | 
						|
                        <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                        <artifactId>maven-gpg-plugin</artifactId>
 | 
						|
                        <version>3.0.1</version>
 | 
						|
                        <executions>
 | 
						|
                            <execution>
 | 
						|
                                <id>sign-artifacts</id>
 | 
						|
                                <phase>verify</phase>
 | 
						|
                                <goals>
 | 
						|
                                    <goal>sign</goal>
 | 
						|
                                </goals>
 | 
						|
                            </execution>
 | 
						|
                        </executions>
 | 
						|
                    </plugin>
 | 
						|
                </plugins>
 | 
						|
            </build>
 | 
						|
        </profile>
 | 
						|
    </profiles>
 | 
						|
 | 
						|
    <dependencies>
 | 
						|
 | 
						|
        <!-- @Nullable annotation -->
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.google.code.findbugs</groupId>
 | 
						|
            <artifactId>jsr305</artifactId>
 | 
						|
            <version>3.0.2</version>
 | 
						|
        </dependency>
 | 
						|
 | 
						|
        <!-- HTTP client: jersey-client -->
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.glassfish.jersey.core</groupId>
 | 
						|
            <artifactId>jersey-client</artifactId>
 | 
						|
            <version>${jersey-version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.glassfish.jersey.inject</groupId>
 | 
						|
            <artifactId>jersey-hk2</artifactId>
 | 
						|
            <version>${jersey-version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.glassfish.jersey.media</groupId>
 | 
						|
            <artifactId>jersey-media-multipart</artifactId>
 | 
						|
            <version>${jersey-version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.glassfish.jersey.media</groupId>
 | 
						|
            <artifactId>jersey-media-json-jackson</artifactId>
 | 
						|
            <version>${jersey-version}</version>
 | 
						|
        </dependency>
 | 
						|
 | 
						|
        <!-- JSON processing: jackson -->
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.fasterxml.jackson.core</groupId>
 | 
						|
            <artifactId>jackson-core</artifactId>
 | 
						|
            <version>${jackson-version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.fasterxml.jackson.core</groupId>
 | 
						|
            <artifactId>jackson-annotations</artifactId>
 | 
						|
            <version>${jackson-version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.fasterxml.jackson.core</groupId>
 | 
						|
            <artifactId>jackson-databind</artifactId>
 | 
						|
            <version>${jackson-databind-version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.openapitools</groupId>
 | 
						|
            <artifactId>jackson-databind-nullable</artifactId>
 | 
						|
            <version>${jackson-databind-nullable-version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.fasterxml.jackson.datatype</groupId>
 | 
						|
            <artifactId>jackson-datatype-jsr310</artifactId>
 | 
						|
            <version>${jackson-version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>jakarta.annotation</groupId>
 | 
						|
            <artifactId>jakarta.annotation-api</artifactId>
 | 
						|
            <version>${jakarta-annotation-version}</version>
 | 
						|
            <scope>provided</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.glassfish.jersey.connectors</groupId>
 | 
						|
            <artifactId>jersey-apache-connector</artifactId>
 | 
						|
            <version>${jersey-version}</version>
 | 
						|
        </dependency>
 | 
						|
        <!-- test dependencies -->
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.junit.jupiter</groupId>
 | 
						|
            <artifactId>junit-jupiter-api</artifactId>
 | 
						|
            <version>${junit-version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
    </dependencies>
 | 
						|
    <properties>
 | 
						|
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
						|
        <jersey-version>2.37</jersey-version>
 | 
						|
        <jackson-version>2.15.2</jackson-version>
 | 
						|
        <jackson-databind-version>2.15.2</jackson-databind-version>
 | 
						|
        <jackson-databind-nullable-version>0.2.6</jackson-databind-nullable-version>
 | 
						|
        <jakarta-annotation-version>1.3.5</jakarta-annotation-version>
 | 
						|
        <junit-version>5.10.0</junit-version>
 | 
						|
        <spotless.version>2.21.0</spotless.version>
 | 
						|
    </properties>
 | 
						|
</project>
 |