2023-03-15 02:15:51 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>dev.struchkov.openai</groupId>
|
|
|
|
<artifactId>openai-chatgpt-telegram-bot</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>17</java.version>
|
2023-03-16 00:54:03 +03:00
|
|
|
|
|
|
|
<openai.api.version>0.0.1</openai.api.version>
|
|
|
|
<godfather.version>0.0.53</godfather.version>
|
2023-03-16 00:58:21 +03:00
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
|
|
|
|
<plugin.maven.compiler.ver>3.10.1</plugin.maven.compiler.ver>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
|
|
|
|
<plugin.maven.release.ver>3.0.0-M7</plugin.maven.release.ver>
|
2023-03-15 02:15:51 +03:00
|
|
|
</properties>
|
|
|
|
|
2023-03-16 00:54:03 +03:00
|
|
|
|
|
|
|
<dependencies>
|
2023-03-15 02:15:51 +03:00
|
|
|
<dependency>
|
|
|
|
<groupId>dev.struchkov.openai</groupId>
|
|
|
|
<artifactId>openai-simple-sdk</artifactId>
|
2023-03-16 00:54:03 +03:00
|
|
|
<version>${openai.api.version}</version>
|
2023-03-15 02:15:51 +03:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>dev.struchkov.openai</groupId>
|
|
|
|
<artifactId>openai-simple-data-local</artifactId>
|
2023-03-16 00:54:03 +03:00
|
|
|
<version>${openai.api.version}</version>
|
2023-03-15 02:15:51 +03:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>dev.struchkov.godfather.telegram</groupId>
|
|
|
|
<artifactId>telegram-bot-spring-boot-starter</artifactId>
|
2023-03-16 00:54:03 +03:00
|
|
|
<version>${godfather.version}</version>
|
2023-03-15 02:15:51 +03:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>struchkov-nexus-release</id>
|
|
|
|
<url>https://nexus.struchkov.dev/repository/maven-releases/</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>struchkov-nexus-snapshot</id>
|
|
|
|
<url>https://nexus.struchkov.dev/repository/maven-snapshots/</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>struchkov-nexus-release</id>
|
|
|
|
<url>https://nexus.struchkov.dev/repository/maven-releases/</url>
|
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>struchkov-nexus-snapshot</id>
|
|
|
|
<url>https://nexus.struchkov.dev/repository/maven-snapshots/</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
2023-03-15 02:23:14 +03:00
|
|
|
<finalName>chatgpt-assistant</finalName>
|
2023-03-15 02:15:51 +03:00
|
|
|
<excludes>
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2023-03-16 00:57:24 +03:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
</plugin>
|
2023-03-15 02:15:51 +03:00
|
|
|
</plugins>
|
2023-03-16 00:57:24 +03:00
|
|
|
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${plugin.maven.compiler.ver}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>${plugin.maven.release.ver}</version>
|
|
|
|
<configuration>
|
|
|
|
<preparationGoals>clean compile</preparationGoals>
|
|
|
|
<goals>package</goals>
|
|
|
|
<tagNameFormat>v.@{project.version}</tagNameFormat>
|
|
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
|
|
<pushChanges>false</pushChanges>
|
|
|
|
<localCheckout>true</localCheckout>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2023-03-15 02:15:51 +03:00
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|