pom.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.smqjh.agent</groupId>
  7. <artifactId>smqjh-mcp-server</artifactId>
  8. <version>0.1.0</version>
  9. <name>smqjh-mcp-server</name>
  10. <description>市民请集合智能助手本机 Java MCP 服务</description>
  11. <properties>
  12. <maven.compiler.source>17</maven.compiler.source>
  13. <maven.compiler.target>17</maven.compiler.target>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <jackson.version>2.15.4</jackson.version>
  16. <mysql.version>8.0.28</mysql.version>
  17. </properties>
  18. <repositories>
  19. <repository>
  20. <id>smqjh-cloud-local</id>
  21. <url>file:///D:/Program%20Files/IdeaProjects/smqjh-cloud/.m2-repo</url>
  22. </repository>
  23. </repositories>
  24. <dependencies>
  25. <dependency>
  26. <groupId>com.fasterxml.jackson.core</groupId>
  27. <artifactId>jackson-databind</artifactId>
  28. <version>${jackson.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>mysql</groupId>
  32. <artifactId>mysql-connector-java</artifactId>
  33. <version>${mysql.version}</version>
  34. </dependency>
  35. </dependencies>
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-compiler-plugin</artifactId>
  41. <version>3.13.0</version>
  42. <configuration>
  43. <release>17</release>
  44. </configuration>
  45. </plugin>
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-shade-plugin</artifactId>
  49. <version>3.5.3</version>
  50. <executions>
  51. <execution>
  52. <phase>package</phase>
  53. <goals>
  54. <goal>shade</goal>
  55. </goals>
  56. <configuration>
  57. <createDependencyReducedPom>false</createDependencyReducedPom>
  58. <transformers>
  59. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  60. <mainClass>com.smqjh.agent.mcp.SmqjhMcpServerApplication</mainClass>
  61. </transformer>
  62. </transformers>
  63. </configuration>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. </project>