| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.xuxueli</groupId>
- <artifactId>xxl-job-executor-samples</artifactId>
- <version>3.2.1-SNAPSHOT</version>
- </parent>
- <artifactId>xxl-job-executor-sample-springboot-ai</artifactId>
- <packaging>jar</packaging>
- <name>${project.artifactId}</name>
- <description>Example executor project for spring boot.</description>
- <url>https://www.xuxueli.com/</url>
- <properties>
- <spring-ai.version>1.0.1</spring-ai.version>
- <dify-java-client.version>1.1.7</dify-java-client.version>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>${spring-boot.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <!-- spring-boot-starter-web (spring-webmvc + tomcat) -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- xxl-job-core -->
- <dependency>
- <groupId>com.xuxueli</groupId>
- <artifactId>xxl-job-core</artifactId>
- <version>${project.parent.version}</version>
- </dependency>
- <!-- spring-ai -->
- <dependency>
- <groupId>org.springframework.ai</groupId>
- <artifactId>spring-ai-starter-model-ollama</artifactId>
- <version>${spring-ai.version}</version>
- </dependency>
- <!-- dify -->
- <dependency>
- <groupId>io.github.imfangs</groupId>
- <artifactId>dify-java-client</artifactId>
- <version>${dify-java-client.version}</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!-- spring-boot-maven-plugin (提供了直接运行项目的插件:如果是通过parent方式继承spring-boot-starter-parent则不用此插件) -->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <!--<version>${spring-boot.version}</version>-->
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|