From a8f31c8b9c1e9bb7644e27b8baa476e1593790c0 Mon Sep 17 00:00:00 2001 From: Administrator <zhubaomin> Date: 星期四, 11 七月 2024 14:50:39 +0800 Subject: [PATCH] 2024-07-11 朱宝民 优化开卡接口、补卡接口,灌溉单元农户关联接口,轮灌组农户关联接口 --- pipIrr-platform/pom.xml | 130 ++++++++++++++++++++++++++++++++++--------- 1 files changed, 103 insertions(+), 27 deletions(-) diff --git a/pipIrr-platform/pom.xml b/pipIrr-platform/pom.xml index 8bb024a..c195141 100644 --- a/pipIrr-platform/pom.xml +++ b/pipIrr-platform/pom.xml @@ -44,8 +44,15 @@ <mapstruct.version>1.5.5.Final</mapstruct.version> <hutool-all.version>5.8.22</hutool-all.version> <org-jdom2.version>2.0.6.1</org-jdom2.version> - <compiler-plugin.version>3.11.0</compiler-plugin.version> - <surefire-plugin.version>3.0.0</surefire-plugin.version> + + <spring-boot-maven-plugin.version>3.2.0</spring-boot-maven-plugin.version> + <maven-jar-plugin-plugin.version>3.3.0</maven-jar-plugin-plugin.version> + <maven-dependency-plugin.version>3.5.0</maven-dependency-plugin.version> + <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version> + <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version> + <maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version> + <maven-bundle-plugin.version>5.1.9</maven-bundle-plugin.version> + <encoding>UTF-8</encoding> </properties> @@ -67,7 +74,14 @@ <type>pom</type> <scope>import</scope> </dependency> - + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-configuration-processor</artifactId> + <version>3.1.3</version> + <type>pom</type> + <scope>import</scope> + <optional>true</optional> + </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> @@ -138,15 +152,11 @@ <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-starter-webmvc-api</artifactId> <version>2.2.0</version> - <type>pom</type> - <scope>import</scope> </dependency> <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-security</artifactId> <version>1.7.0</version> - <type>pom</type> - <scope>import</scope> </dependency> @@ -216,6 +226,15 @@ <scope>import</scope> </dependency> + <!-- bean鍜宮ap浜掕浆鎹� --> + <dependency> + <groupId>org.apache.dubbo</groupId> + <artifactId>dubbo</artifactId> + <version>3.2.7</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <!-- Hutool鏄竴涓皬鑰屽叏鐨凧ava宸ュ叿绫诲簱(https://github.com/dromara/hutool) --> <dependency> <groupId>cn.hutool</groupId> @@ -232,6 +251,31 @@ <version>2.0.6.1</version> <type>pom</type> <scope>import</scope> + </dependency> + + <!-- apache mina --> + <dependency> + <groupId>org.apache.mina</groupId> + <artifactId>mina-core</artifactId> + <version>2.2.2</version> + <type>pom</type> + <scope>import</scope> + </dependency> + + <!-- quartz --> + <dependency> + <groupId>org.quartz-scheduler</groupId> + <artifactId>quartz</artifactId> + <version>2.1.7</version> + <type>pom</type> + <scope>import</scope> + </dependency> + + <!-- quartz --> + <dependency> + <groupId>org.apache.rocketmq</groupId> + <artifactId>rocketmq-client</artifactId> + <version>4.9.7</version> </dependency> <!-- 娴嬭瘯 --> @@ -260,36 +304,68 @@ <!-- spring boot鎻愪緵鐨刴aven鎵撳寘鎻掍欢 --> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> - <version>3.1.3</version> + <version>${spring-boot-maven-plugin.version}</version> + </plugin> + <plugin> + <!-- 璇ユ彃浠朵笉浼氬皢椤圭洰涓紩鍏ョ殑渚濊禆鎵撹繘鏈�缁堢殑 Jar 鏂囦欢 --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>${maven-jar-plugin-plugin.version}</version> + </plugin> + <plugin> + <!-- 褰撻」鐩腑渚濊禆姣旇緝澶氭椂锛屾垜浠彲浠ュ�熷姪 maven-dependency-plugin 鎻掍欢鑷姩甯垜浠笅杞戒緷璧栫殑 Jar 鏂囦欢锛屾帹鑽愬皢璇ユ彃浠剁粦瀹氬埌package鐢熷懡鍛ㄦ湡涓� --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>${maven-dependency-plugin.version}</version> + <executions> + <execution> + <!-- 缁戝畾鐢熷懡鍛ㄦ湡 --> + <phase>package</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + <!-- 璁剧疆渚濊禆鐨勫瓨鏀捐矾寰� --> + <configuration> + <outputDirectory>${project.build.directory}/lib</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <!-- 璁剧疆java缂栬瘧鐗堟湰锛岃繍琛岀幆澧冪増鏈� --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>${maven-compiler-plugin.version}</version> + <!-- source锛� 婧愪唬鐮佺紪璇戠増鏈紱target锛� 鐩爣骞冲彴缂栬瘧鐗堟湰锛沞ncoding锛� 瀛楃闆嗙紪鐮併�� --> <configuration> - <excludes> - <exclude> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - </exclude> - </excludes> + <source>${java.version}</source> + <target>${java.version}</target> + <encoding>${encoding}</encoding> + </configuration> + </plugin> + <plugin> + <!-- 瑙e喅璧勬簮鏂囦欢鐨勭紪鐮侀棶棰� --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>${maven-resources-plugin.version}</version> + <configuration> + <encoding>${encoding}</encoding> </configuration> </plugin> <plugin> <!-- maven閲屾墽琛屾祴璇曠敤渚嬬殑鎻掍欢 --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>3.0.0</version> - <configuration> - <skipTests>true</skipTests> - </configuration> + <version>${maven-surefire-plugin.version}</version> </plugin> <plugin> - <!-- 寮哄埗璁惧畾 java缂栬瘧鐗堟湰锛岃繍琛岀幆澧冪増鏈� --> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>${compiler-plugin.version}</version> - <configuration> - <source>20</source> - <target>20</target> - </configuration> + <!-- 涓嬮潰瑙e喅锛氬綋杩涜Maven Lifecycle package鏃舵姤閿欙細Could not find artifact org.apache.mina:mina-core:bundle:2.2.1 in maven (https://repo1.maven.org/maven2/)--> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>${maven-bundle-plugin.version}</version> + <extensions>true</extensions> </plugin> </plugins> </pluginManagement> </build> -</project> \ No newline at end of file +</project> -- Gitblit v1.8.0