mirror of
https://gitee.com/agents-flex/agents-flex.git
synced 2024-11-30 02:47:46 +08:00
230 lines
8.3 KiB
XML
230 lines
8.3 KiB
XML
<?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>
|
||
|
||
<groupId>com.agentsflex</groupId>
|
||
<artifactId>parent</artifactId>
|
||
<version>1.0.0-alpha.2</version>
|
||
<packaging>pom</packaging>
|
||
|
||
<name>agents-flex</name>
|
||
<url>https://agentsflex.com</url>
|
||
<description>Agents-Flex is an elegant LLM Application Framework like LangChain with Java.</description>
|
||
|
||
<issueManagement>
|
||
<system>Github Issue</system>
|
||
<url>https://github.com/agents-flex/agents-flex/issues</url>
|
||
</issueManagement>
|
||
<licenses>
|
||
<license>
|
||
<name>The Apache Software License, Version 2.0</name>
|
||
<url>https://apache.org/licenses/LICENSE-2.0.txt</url>
|
||
</license>
|
||
</licenses>
|
||
<developers>
|
||
<developer>
|
||
<name>Michael Yang</name>
|
||
<email>fuhai999@gmail.com</email>
|
||
<roles>
|
||
<role>developer</role>
|
||
</roles>
|
||
<timezone>+8</timezone>
|
||
</developer>
|
||
</developers>
|
||
<scm>
|
||
<url>https://github.com/agents-flex/agents-flex</url>
|
||
<connection>scm:git:https://github.com/agents-flex/agents-flex.git</connection>
|
||
<developerConnection>scm:git:https://github.com/agents-flex/agents-flex.git</developerConnection>
|
||
</scm>
|
||
|
||
|
||
|
||
<modules>
|
||
<module>agents-flex-core</module>
|
||
<module>agents-flex-test</module>
|
||
<module>agents-flex-samples</module>
|
||
<module>agents-flex-llm</module>
|
||
<module>agents-flex-store</module>
|
||
<module>agents-flex-document-parser</module>
|
||
</modules>
|
||
|
||
<properties>
|
||
<maven.compiler.source>8</maven.compiler.source>
|
||
<maven.compiler.target>8</maven.compiler.target>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<slf4j.version>1.7.29</slf4j.version>
|
||
<junit.version>4.13.2</junit.version>
|
||
<okhttp.version>4.9.3</okhttp.version>
|
||
<fastjson.version>2.0.47</fastjson.version>
|
||
</properties>
|
||
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>${okhttp.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp-sse</artifactId>
|
||
<version>${okhttp.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>${fastjson.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-api</artifactId>
|
||
<version>${slf4j.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-log4j12</artifactId>
|
||
<version>${slf4j.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-simple</artifactId>
|
||
<version>${slf4j.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>jcl-over-slf4j</artifactId>
|
||
<version>${slf4j.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>junit</groupId>
|
||
<artifactId>junit</artifactId>
|
||
<version>${junit.version}</version>
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
|
||
|
||
|
||
<build>
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<includes>
|
||
<include>**/*</include>
|
||
</includes>
|
||
</resource>
|
||
</resources>
|
||
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.8.1</version>
|
||
<configuration>
|
||
<source>1.8</source>
|
||
<target>1.8</target>
|
||
<encoding>UTF-8</encoding>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
|
||
<profiles>
|
||
<profile>
|
||
<!-- 跳过测试:mvn package -Dmaven.test.skip=true -->
|
||
<!-- 检测依赖最新版本:mvn versions:display-dependency-updates -->
|
||
<!-- 统一修改版本号:mvn versions:set -DnewVersion=3.0 -->
|
||
<!-- mvn -N versions:update-child-modules -->
|
||
<!-- mvn versions:set -DnewVersion=2.0 -DprocessAllModules=true -DallowSnapshots=true -->
|
||
|
||
<!-- mvn clean source:jar install -->
|
||
<!-- mvn deploy -Dmaven.test.skip=true -e -P release -->
|
||
<!-- mvn deploy -e -P release -->
|
||
<id>release</id>
|
||
<build>
|
||
<plugins>
|
||
<!-- Source -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>2.2.1</version>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-sources</id>
|
||
<goals>
|
||
<goal>jar-no-fork</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- Javadoc -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-javadoc-plugin</artifactId>
|
||
<version>2.10.4</version>
|
||
<configuration>
|
||
<windowtitle>Mybatis-Flex</windowtitle>
|
||
<doctitle>Mybatis-Flex</doctitle>
|
||
<show>private</show>
|
||
<detectLinks>false</detectLinks>
|
||
<detectOfflineLinks>true</detectOfflineLinks>
|
||
<linksource>true</linksource>
|
||
<additionalparam>-Xdoclint:none</additionalparam>
|
||
<detectJavaApiLink>true</detectJavaApiLink>
|
||
<source>8</source>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-javadocs</id>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- 以下是GPG -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-gpg-plugin</artifactId>
|
||
<version>1.5</version>
|
||
<executions>
|
||
<execution>
|
||
<id>sign-artifacts</id>
|
||
<goals>
|
||
<goal>sign</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
</plugins>
|
||
</build>
|
||
<distributionManagement>
|
||
<snapshotRepository>
|
||
<id>ossrh</id>
|
||
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
|
||
</snapshotRepository>
|
||
<repository>
|
||
<id>ossrh</id>
|
||
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||
</repository>
|
||
</distributionManagement>
|
||
</profile>
|
||
</profiles>
|
||
|
||
|
||
|
||
</project>
|