yuluo-yx commented on code in PR #3503:
URL: https://github.com/apache/hertzbeat/pull/3503#discussion_r2180293691


##########
hertzbeat-ai-agent/pom.xml:
##########
@@ -0,0 +1,87 @@
+<?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.apache.hertzbeat</groupId>
+               <artifactId>hertzbeat</artifactId>
+               <version>2.0-SNAPSHOT</version>
+       </parent>
+       <artifactId>hertzbeat-ai-agent</artifactId>
+       <version>${hertzbeat.version}</version>
+       <properties>
+               <spring-ai.version>1.0.0</spring-ai.version>
+               <java.version>17</java.version>
+       </properties>
+       <repositories>
+               <repository>
+                       <id>spring-snapshots</id>
+                       <name>Spring Snapshots</name>
+                       <url>https://repo.spring.io/snapshot</url>
+                       <releases>
+                               <enabled>false</enabled>
+                       </releases>
+               </repository>
+               <repository>
+                       <name>Central Portal Snapshots</name>
+                       <id>central-portal-snapshots</id>
+                       
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
+                       <releases>
+                               <enabled>false</enabled>
+                       </releases>
+                       <snapshots>
+                               <enabled>true</enabled>
+                       </snapshots>
+               </repository>
+       </repositories>
+
+       <dependencies>
+               <dependency>
+                       <groupId>org.springframework.ai</groupId>
+                       
<artifactId>spring-ai-starter-mcp-server-webmvc</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter-test</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.junit.platform</groupId>
+                       <artifactId>junit-platform-launcher</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.ai</groupId>
+                       <artifactId>spring-ai-starter-model-openai</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.hertzbeat</groupId>
+                       <artifactId>hertzbeat-common</artifactId>
+               </dependency>
+       </dependencies>
+       <dependencyManagement>
+               <dependencies>
+                       <dependency>
+                               <groupId>org.springframework.ai</groupId>
+                               <artifactId>spring-ai-bom</artifactId>
+                               <version>${spring-ai.version}</version>
+                               <type>pom</type>
+                               <scope>import</scope>
+                       </dependency>
+               </dependencies>
+       </dependencyManagement>
+
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.springframework.boot</groupId>
+                               
<artifactId>spring-boot-maven-plugin</artifactId>
+<!--                           <configuration>-->
+<!--                                   <skip>true</skip>-->
+<!--                           </configuration>-->
+
+                       </plugin>
+               </plugins>
+       </build>
+
+</project>

Review Comment:
   All files in the project should end with a blank line.
   
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to