Skip to content

Commit

Permalink
Merge pull request #156 from fdddf/idutil-bugfix
Browse files Browse the repository at this point in the history
remove unused dependencies in IDUtils
  • Loading branch information
JiazhenBao authored May 29, 2024
2 parents cae5712 + 86b4f23 commit 4c86db2
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 45 deletions.
24 changes: 3 additions & 21 deletions IDUtil_fdddf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
<version>2.2.9.RELEASE</version><!--与当前制品应用默认版本统一-->
</parent>

<name>IDUtil</name>
<description>ID生成工具包</description>
<groupId>com.fdddf</groupId>
<artifactId>IDUtil</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand All @@ -32,11 +34,6 @@
<scope>system</scope>
<systemPath>${project.basedir}/jar/nasl-metadata-collector-0.7.0.jar</systemPath>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.83</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand All @@ -47,21 +44,6 @@
<artifactId>yitter-idgenerator</artifactId>
<version>1.0.6</version>
</dependency>
<!--制品应用使用Springboot框架,父应用引用了的包,为了防止版本冲突,scope可设置为provided-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<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-data-redis</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions IDUtil_fdddf/src/main/java/com/fdddf/IDUtil/api/IDUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.github.yitter.contract.IdGeneratorOptions;
import com.github.yitter.idgen.YitIdHelper;
import com.netease.lowcode.core.annotation.NaslLogic;
import org.springframework.stereotype.Component;

import java.text.ParseException;
import java.util.Date;
Expand All @@ -19,7 +18,6 @@
/**
* 生成ID的工具类。
*/
@Component
public class IDUtil {

/**
Expand Down
2 changes: 0 additions & 2 deletions IDUtil_fdddf/src/main/resources/META-INF/spring.factories

This file was deleted.

Binary file added IDUtil_fdddf/依赖库使用文档说明.docx
Binary file not shown.

0 comments on commit 4c86db2

Please sign in to comment.