From f5979b61dd5f52f506007d86908baa5f1b7eab97 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期日, 26 十一月 2023 18:08:52 +0800 Subject: [PATCH] 1、优化代码,去除一些类中的main方法,原因是Maven打包不允许有多个main方法; 2、实现pipIrr-mwTest-server模块; 3、重构pom.xml,配置打包策略。 --- pipIrr-platform/pipIrr-web/pom.xml | 89 ++++++++++++++++++-------------------------- 1 files changed, 37 insertions(+), 52 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pom.xml b/pipIrr-platform/pipIrr-web/pom.xml index 114f342..abbd0c9 100644 --- a/pipIrr-platform/pipIrr-web/pom.xml +++ b/pipIrr-platform/pipIrr-web/pom.xml @@ -162,6 +162,43 @@ <artifactId>jdom2</artifactId> </dependency> + <!-- bean鍜宮ap浜掕浆鎹� --> + <dependency> + <groupId>org.apache.dubbo</groupId> + <artifactId>dubbo</artifactId> + <version>3.2.7</version> + <exclusions> + <exclusion> + <groupId>io.netty</groupId> + <artifactId>netty-all</artifactId> + </exclusion> + <exclusion> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + </exclusion> + <exclusion> + <groupId>org.springframework</groupId> + <artifactId>spring-context</artifactId> + </exclusion> + <exclusion> + <groupId>com.alibaba.spring</groupId> + <artifactId>spring-context-support</artifactId> + </exclusion> + <exclusion> + <groupId>com.alibaba.fastjson2</groupId> + <artifactId>fastjson2</artifactId> + </exclusion> + <exclusion> + <groupId>com.alibaba</groupId> + <artifactId>hessian-lite</artifactId> + </exclusion> + <exclusion> + <groupId>org.javassist</groupId> + <artifactId>javassist</artifactId> + </exclusion> + </exclusions> + </dependency> + <!-- 娴嬭瘯 --> <dependency> <groupId>org.springframework.boot</groupId> @@ -173,58 +210,6 @@ <artifactId>junit</artifactId> <scope>test</scope> </dependency> - - <!-- <!– 鍏ㄥ眬鎺掗櫎–>--> - <!-- <dependency>--> - <!-- <groupId>org.springframework.boot</groupId>--> - <!-- <artifactId>spring-boot-starter-json</artifactId>--> - <!-- <exclusions>--> - <!-- <exclusion>--> - <!-- <groupId>*</groupId>--> - <!-- <artifactId>*</artifactId>--> - <!-- </exclusion>--> - <!-- </exclusions>--> - <!-- </dependency>--> - <!-- <dependency>--> - <!-- <groupId>org.springframework.boot</groupId>--> - <!-- <artifactId>spring-boot-starter-logging</artifactId>--> - <!-- <exclusions>--> - <!-- <exclusion>--> - <!-- <groupId>*</groupId>--> - <!-- <artifactId>*</artifactId>--> - <!-- </exclusion>--> - <!-- </exclusions>--> - <!-- </dependency>--> </dependencies> - <build> - <plugins> - <plugin> - <!-- spring boot鎻愪緵鐨刴aven鎵撳寘鎻掍欢 --> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-maven-plugin</artifactId> - <configuration> - <excludes> - <exclude> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - </exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <!-- maven閲屾墽琛屾祴璇曠敤渚嬬殑鎻掍欢 --> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <skipTests>true</skipTests> - </configuration> - </plugin> - <plugin> - <!-- 寮哄埗璁惧畾 java缂栬瘧鐗堟湰锛岃繍琛岀幆澧冪増鏈� --> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - </plugin> - </plugins> - </build> </project> \ No newline at end of file -- Gitblit v1.8.0