Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-parent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f4657efc
authored
Apr 23, 2021
by
“lxy”
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化依赖
1 parent
eca66102
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
113 deletions
nafmii-admin/pom.xml
nafmii-app/pom.xml
nafmii-common/src/main/java/org/nafmii/test.java
pom.xml
nafmii-admin/pom.xml
View file @
f4657ef
...
...
@@ -13,13 +13,28 @@
<version>
0.0.1-SNAPSHOT
</version>
<name>
nafmii-admin
</name>
<modelVersion>
4.0.0
</modelVersion>
<description>
Demo project for Spring Boot
</description>
<description>
中心端(后台管理系统)
</description>
<properties>
<java.version>
1.8
</java.version>
</properties>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<exclusions>
<!-- 去掉springboot默认配置 -->
<exclusion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-logging
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-openfeign
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-netflix-eureka-client
</artifactId>
</dependency>
...
...
@@ -28,6 +43,14 @@
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-aop
</artifactId>
</dependency>
<!--<dependency>-->
<!--<groupId>org.springframework.boot</groupId>-->
<!--<artifactId>spring-boot-starter-data-redis</artifactId>-->
...
...
@@ -47,36 +70,16 @@
<!--<artifactId>pagehelper</artifactId>-->
<!--</dependency>-->
<!--feign -->
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-openfeign
</artifactId>
</dependency>
<!--<dependency>-->
<!--<groupId>org.projectlombok</groupId>-->
<!--<artifactId>lombok</artifactId>-->
<!--</dependency>-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-aop
</artifactId>
</dependency>
<dependency>
<groupId>
org.mybatis.generator
</groupId>
<artifactId>
mybatis-generator-core
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<exclusions>
<!-- 去掉springboot默认配置 -->
<exclusion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-logging
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- MyBatis-->
<!--<dependency>-->
<!--<groupId>org.mybatis</groupId>-->
...
...
@@ -113,15 +116,6 @@
<groupId>
de.codecentric
</groupId>
<artifactId>
spring-boot-admin-starter-server
</artifactId>
</dependency>
<!--<!–Knife4j API文档生产工具–>-->
<!--<dependency>-->
<!--<groupId>com.github.xiaoymin</groupId>-->
<!--<artifactId>knife4j-micro-spring-boot-starter</artifactId>-->
<!--</dependency>-->
<!--<dependency>-->
<!--<groupId>com.github.xiaoymin</groupId>-->
<!--<artifactId>knife4j-spring-boot-starter</artifactId>-->
<!--</dependency>-->
<dependency>
<groupId>
org.nafmii
</groupId>
<artifactId>
nafmii-common
</artifactId>
...
...
nafmii-app/pom.xml
View file @
f4657ef
...
...
@@ -13,13 +13,24 @@
<version>
0.0.1-SNAPSHOT
</version>
<name>
nafmii-app
</name>
<modelVersion>
4.0.0
</modelVersion>
<description>
Demo project for Spring Boot
</description>
<description>
移动端应用服务
</description>
<properties>
<java.version>
1.8
</java.version>
</properties>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<exclusions>
<!-- 去掉springboot默认配置 -->
<exclusion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-logging
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-netflix-eureka-client
</artifactId>
</dependency>
...
...
@@ -42,10 +53,6 @@
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-openfeign
</artifactId>
</dependency>
<!--<dependency>-->
<!--<groupId>org.projectlombok</groupId>-->
<!--<artifactId>lombok</artifactId>-->
<!--</dependency>-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
...
...
@@ -58,16 +65,11 @@
<groupId>
org.mybatis.generator
</groupId>
<artifactId>
mybatis-generator-core
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<exclusions>
<!-- 去掉springboot默认配置 -->
<exclusion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-logging
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--<dependency>-->
<!--<groupId>org.projectlombok</groupId>-->
<!--<artifactId>lombok</artifactId>-->
<!--</dependency>-->
<!-- MyBatis-->
<!--<dependency>-->
<!--<groupId>org.mybatis</groupId>-->
...
...
@@ -108,15 +110,6 @@
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
</dependency>
<!--Knife4j API文档生产工具-->
<!--<dependency>-->
<!--<groupId>com.github.xiaoymin</groupId>-->
<!--<artifactId>knife4j-micro-spring-boot-starter</artifactId>-->
<!--</dependency>-->
<!--<dependency>-->
<!--<groupId>com.github.xiaoymin</groupId>-->
<!--<artifactId>knife4j-spring-boot-starter</artifactId>-->
<!--</dependency>-->
<dependency>
<groupId>
org.nafmii
</groupId>
<artifactId>
nafmii-common
</artifactId>
...
...
nafmii-common/src/main/java/org/nafmii/test.java
deleted
100644 → 0
View file @
eca6610
package
org
.
nafmii
;
/**
* @author:zhoujh
* @Function:TODO
* @date 2021/4/23 8:58
* @ClassName:
* @version:
* @remark:
*/
public
class
test
{
}
pom.xml
View file @
f4657ef
...
...
@@ -16,6 +16,7 @@
<modelVersion>
4.0.0
</modelVersion>
<description>
nafmii 2.0 父级工程
</description>
<!--nafmii-parent管理的模块-->
<modules>
<module>
nafmii-admin
</module>
<module>
nafmii-eureka
</module>
...
...
@@ -54,47 +55,48 @@
<mall-common.version>
1.0-SNAPSHOT
</mall-common.version>
<mall-mbg.version>
1.0-SNAPSHOT
</mall-mbg.version>
<ojdbc.version>
10.2.0.4
</ojdbc.version>
<swagger.version>
2.9.2
</swagger.version>
</properties>
<!--公共依赖-->
<dependencies>
<!--<dependency>-->
<!--<!– 引入log4j2依赖 –>-->
<!--<groupId>org.springframework.boot</groupId>-->
<!--<artifactId>spring-boot-starter-slf4j</artifactId>-->
<!---->
<!--</dependency>-->
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
<!--springboot相关依赖-->
<dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-api
</artifactId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
<artifactId>
spring-boot-configuration-processor
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-aop
</artifactId>
</dependency>
<dependency>
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-all
</artifactId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<!--日志门面-->
<dependency>
<groupId>
org.
projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<groupId>
org.
slf4j
</groupId>
<artifactId>
slf4j-api
</artifactId>
</dependency>
<!--工具类-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-configuration-processor
</artifactId>
<optional>
true
</optional>
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-all
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
</dependency>
</dependencies>
<!--严格控制的依赖版本-->
<dependencyManagement>
<dependencies>
<dependency>
...
...
@@ -134,17 +136,6 @@
<artifactId>
hutool-all
</artifactId>
<version>
${hutool.version}
</version>
</dependency>
<!--Knife4j API文档生产工具-->
<!--<dependency>-->
<!--<groupId>com.github.xiaoymin</groupId>-->
<!--<artifactId>knife4j-micro-spring-boot-starter</artifactId>-->
<!--<version>${knife4j.version}</version>-->
<!--</dependency>-->
<!--<dependency>-->
<!--<groupId>com.github.xiaoymin</groupId>-->
<!--<artifactId>knife4j-spring-boot-starter</artifactId>-->
<!--<version>${knife4j.version}</version>-->
<!--</dependency>-->
<!-- MyBatis 生成器 -->
<dependency>
<groupId>
org.mybatis.generator
</groupId>
...
...
@@ -181,7 +172,6 @@
<artifactId>
nimbus-jose-jwt
</artifactId>
<version>
${nimbus-jose-jwt.version}
</version>
</dependency>
<!--集成logstash-->
<dependency>
<groupId>
net.logstash.logback
</groupId>
...
...
@@ -204,24 +194,14 @@
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
2.9.2
</version>
<version>
${swagger.version}
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
2.9.2
</version>
<version>
${swagger.version}
</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<!--<plugin>-->
<!--<groupId>org.springframework.boot</groupId>-->
<!--<artifactId>spring-boot-maven-plugin</artifactId>-->
<!--</plugin>-->
</plugins>
</build>
</project>
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment