Commit 66034e0c authored by wangyangyang's avatar wangyangyang

自动任务模块

parent 073c89e0
target/
.idea/
*.iml
*.mvn
*mvnw
mvnw.cmd
log
*.log
\ No newline at end of file
# Getting Started
### Reference Documentation
For further reference, please consider the following sections:
* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)
* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/3.3.2/maven-plugin)
* [Create an OCI image](https://docs.spring.io/spring-boot/3.3.2/maven-plugin/build-image.html)
### Maven Parent overrides
Due to Maven's design, elements are inherited from the parent POM to the project POM. While most of the inheritance is
fine, it also inherits unwanted elements like `<license>` and `<developers>` from the parent. To prevent this, the
project POM contains empty overrides for these elements. If you manually switch to a different parent and actually want
the inheritance, you need to remove those overrides.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.yonde.dcs</groupId>
<artifactId>dcs-doc</artifactId>
<version>4.1-RELEASE</version>
</parent>
<groupId>com.yonde.dcs</groupId>
<artifactId>dcs-doc-autotask-interface</artifactId>
<version>4.1-RELEASE</version>
<name>dcs-doc-autotask-interface</name>
<description>dcs-doc-autotask-interface</description>
<url/>
<licenses>
<license/>
</licenses>
<developers>
<developer/>
</developers>
<scm>
<connection/>
<developerConnection/>
<tag/>
<url/>
</scm>
<properties>
<java.version>22</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
package com.yonde.dcs.task;
import java.util.List;
import java.util.Map;
/**
* @program: inet-pdm-service
* @description: 自动任务服务接口
* @author: dang wei
* @create: 2021-09-27 09:41
*/
public interface AutoTaskService {
void test(String number, String name);
void test2(String number);
void test3();
String test4(String name);
}
package com.yonde.dcs.task;
/**
* @author wyy
* @date 2024-8-2 10:06
* @describe
*/
public class AutoTaskServiceImpl implements AutoTaskService{
@Override
public void test(String number, String name) {
}
@Override
public void test2(String number) {
}
@Override
public void test3() {
}
@Override
public String test4(String name) {
return null;
}
}
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
<module>dcs-doc-server</module> <module>dcs-doc-server</module>
<module>dcs-doc-build-lib</module> <module>dcs-doc-build-lib</module>
<module>dcs-doc-build-thirdLib</module> <module>dcs-doc-build-thirdLib</module>
<module>dcs-doc-autotask-interface</module>
</modules> </modules>
<properties> <properties>
<java.version>1.8</java.version> <java.version>1.8</java.version>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment