535 lines
20 KiB
XML
535 lines
20 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>com.ossez.openai</groupId>
|
|
<artifactId>openai-j</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>OpenAI Java</name>
|
|
<description>The module that constitutes the main USRealEstate data process system</description>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>The MIT license</name>
|
|
<url>https://opensource.org/licenses/mit-license.php</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<name>YuCheng Hu</name>
|
|
<id>honeymoose</id>
|
|
<email>huyuchengus@gmail.com</email>
|
|
<timezone>-5</timezone>
|
|
<organization>Open Source</organization>
|
|
<roles>
|
|
<role>Sr. Java Developer</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/honeymoose/OpenAI-J.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com/honeymoose/OpenAI-J.git</developerConnection>
|
|
<url>https://github.com/honeymoose/OpenAI-J</url>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
|
|
<issueManagement>
|
|
<system>JIRA</system>
|
|
<url>https://bug.ossez.com/projects/OSS</url>
|
|
</issueManagement>
|
|
|
|
<modules>
|
|
<module>api</module>
|
|
<module>client</module>
|
|
<module>example</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<java.version>17</java.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<build.type>private</build.type>
|
|
|
|
<!-- configuration for patch tracker plugin -->
|
|
<project.patchManagement.system>github</project.patchManagement.system>
|
|
<patch.request.organisation>jenkinsci</patch.request.organisation>
|
|
<patch.request.repository>jenkins</patch.request.repository>
|
|
<project.patchManagement.url>https://api.github.com</project.patchManagement.url>
|
|
<patch.tracker.serverId>jenkins-jira</patch.tracker.serverId>
|
|
|
|
<slf4j.version>1.7.25</slf4j.version>
|
|
<maven-plugin.version>2.14</maven-plugin.version>
|
|
<matrix-project.version>1.4.1</matrix-project.version>
|
|
<sorcerer.version>0.11</sorcerer.version>
|
|
<findbugs-maven-plugin.version>3.0.4</findbugs-maven-plugin.version>
|
|
<findbugs.failOnError>true</findbugs.failOnError>
|
|
<test-annotations.version>1.2</test-annotations.version>
|
|
<access-modifier.version>1.11</access-modifier.version>
|
|
<access-modifier-annotation.version>${access-modifier.version}
|
|
</access-modifier-annotation.version> <!-- differing only where needed for timestamped snapshots -->
|
|
<access-modifier-checker.version>${access-modifier.version}</access-modifier-checker.version>
|
|
<junit-jupiter.version>5.9.0</junit-jupiter.version>
|
|
</properties>
|
|
|
|
<!-- Note that the 'repositories' and 'pluginRepositories' blocks below are actually copy-pasted from the Jenkins org pom. This is on purpose
|
|
to keep jenkins core buildable even if one has *not* defined the specific details in the settings.xml file. -->
|
|
<repositories>
|
|
<!-- <repository>-->
|
|
<!-- <id>ossez-repo</id>-->
|
|
<!-- <name>Ossez-Repo-Snapshot</name>-->
|
|
<!-- <url>https://repo.ossez.com/repository/maven-snapshots/</url>-->
|
|
<!-- <snapshots>-->
|
|
<!-- <enabled>true</enabled>-->
|
|
<!-- </snapshots>-->
|
|
<!-- <releases>-->
|
|
<!-- <enabled>false</enabled>-->
|
|
<!-- </releases>-->
|
|
<!-- </repository>-->
|
|
</repositories>
|
|
|
|
|
|
<pluginRepositories>
|
|
</pluginRepositories>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.samba.jcifs</groupId>
|
|
<artifactId>jcifs</artifactId>
|
|
<version>1.3.17-kohsuke-1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.kohsuke</groupId>
|
|
<artifactId>access-modifier-annotation</artifactId>
|
|
<version>${access-modifier-annotation.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<distributionManagement>
|
|
|
|
<!-- <repository>-->
|
|
<!-- <id>ossez-repo</id>-->
|
|
<!-- <url>https://repo.ossez.com/repository/maven-releases/</url>-->
|
|
<!-- </repository>-->
|
|
|
|
<!-- <snapshotRepository>-->
|
|
<!-- <id>ossrh</id>-->
|
|
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
|
|
<!-- </snapshotRepository>-->
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
<dependencies>
|
|
<!-- LOGGING WITH SELF4J AND LOG4J2 -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
|
|
<!-- APACHE COMMONS -->
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.11.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.12.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-math3</artifactId>
|
|
<version>3.6.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-net</groupId>
|
|
<artifactId>commons-net</artifactId>
|
|
<version>3.8.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-csv</artifactId>
|
|
<version>1.9.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-validator</groupId>
|
|
<artifactId>commons-validator</artifactId>
|
|
<version>1.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
|
<artifactId>httpclient5</artifactId>
|
|
<version>5.2.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-text</artifactId>
|
|
<version>1.10.0</version>
|
|
</dependency>
|
|
<!-- / APACHE COMMONS -->
|
|
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
<version>1.6.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-api-mockito</artifactId>
|
|
<version>1.6.2</version>
|
|
</dependency>
|
|
|
|
<!-- UTILITIES -->
|
|
<dependency>
|
|
<groupId>com.squareup.retrofit2</groupId>
|
|
<artifactId>retrofit</artifactId>
|
|
<version>2.9.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.retrofit2</groupId>
|
|
<artifactId>adapter-rxjava2</artifactId>
|
|
<version>2.9.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.retrofit2</groupId>
|
|
<artifactId>converter-jackson</artifactId>
|
|
<version>2.9.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>31.1-jre</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
<version>2.14.0</version>
|
|
</dependency>
|
|
|
|
<!-- /UTILITIES -->
|
|
|
|
|
|
<!-- Date and Time -->
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
<version>2.9.9</version>
|
|
</dependency>
|
|
|
|
<!-- TEST -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>5.9.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>3.23.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>1.10.19</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
<version>1.6.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-api-mockito</artifactId>
|
|
<version>1.6.2</version>
|
|
</dependency>
|
|
<!--/ TEST -->
|
|
|
|
<dependency>
|
|
<!-- for JRE requirement check annotation -->
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>animal-sniffer-annotations</artifactId>
|
|
<version>1.9</version>
|
|
<scope>provided</scope>
|
|
<optional>true</optional><!-- no need to have this at runtime -->
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<defaultGoal>install</defaultGoal>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
<resource>
|
|
<directory>${basedir}/src/filter/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.6.13</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>ossrh</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>2.8</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.5.1</version>
|
|
<configuration>
|
|
<fork>true</fork>
|
|
<compilerReuseStrategy>alwaysNew</compilerReuseStrategy>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>2.3.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.10.3</version>
|
|
<configuration>
|
|
<quiet>true</quiet>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.6</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.6</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.20</version>
|
|
<configuration>
|
|
<argLine>-noverify
|
|
</argLine> <!-- some versions of JDK7/8 causes VerifyError during mock tests: http://code.google.com/p/powermock/issues/detail?id=504 -->
|
|
<systemPropertyVariables>
|
|
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
|
|
<forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds>
|
|
<java.awt.headless>true</java.awt.headless>
|
|
</systemPropertyVariables>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.5.5</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.6</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.kohsuke</groupId>
|
|
<artifactId>access-modifier-checker</artifactId>
|
|
<version>${access-modifier-checker.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.cloudbees</groupId>
|
|
<artifactId>maven-license-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>process</goal>
|
|
</goals>
|
|
<phase>compile</phase>
|
|
<configuration>
|
|
<requireCompleteLicenseInfo>true</requireCompleteLicenseInfo>
|
|
<script>../licenseCompleter.groovy</script>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jvnet.localizer</groupId>
|
|
<artifactId>maven-localizer-plugin</artifactId>
|
|
<version>1.24</version>
|
|
<configuration>
|
|
<outputEncoding>UTF-8</outputEncoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jvnet.hudson.tools</groupId>
|
|
<artifactId>maven-encoding-plugin</artifactId>
|
|
<version>1.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.infradna.tool</groupId>
|
|
<artifactId>bridge-method-injector</artifactId>
|
|
<version>1.17</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>antlr-maven-plugin</artifactId>
|
|
<version>2.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
<version>2.5.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>${findbugs-maven-plugin.version}</version>
|
|
<configuration>
|
|
<effort>Max</effort>
|
|
<threshold>High</threshold>
|
|
<!--Excludes file is located on the top level -->
|
|
<excludeFilterFile>../src/findbugs/findbugs-excludes.xml</excludeFilterFile>
|
|
<xmlOutput>true</xmlOutput>
|
|
<findbugsXmlOutput>false</findbugsXmlOutput>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>findbugs</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>3.19.0</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.jvnet.updatecenter2</groupId>
|
|
<artifactId>maven-makepkgs-plugin</artifactId>
|
|
<version>0.6.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.5</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.10.1</version>
|
|
<configuration>
|
|
<release>11</release>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.2.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.4.1</version>
|
|
<configuration>
|
|
<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-deploy-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>default-deploy</id>
|
|
<phase>deploy</phase>
|
|
<goals>
|
|
<goal>deploy</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<extensions>
|
|
<extension>
|
|
<groupId>org.kohsuke</groupId>
|
|
<artifactId>wagon-gitsite</artifactId>
|
|
<version>0.3.5</version>
|
|
</extension>
|
|
</extensions>
|
|
</build>
|
|
|
|
<profiles>
|
|
</profiles>
|
|
</project>
|