Skip to content

Commit

Permalink
deamon module
Browse files Browse the repository at this point in the history
  • Loading branch information
aiwenmo committed Mar 2, 2022
1 parent 0fb8e52 commit 6fd1a0f
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dlink-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- `provided` for product environment ,`compile` for dev environment -->
<scope.runtime>compile</scope.runtime>
<scope.runtime>provided</scope.runtime>
</properties>

<dependencies>
Expand Down
25 changes: 25 additions & 0 deletions dlink-deamon/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>dlink</artifactId>
<groupId>com.dlink</groupId>
<version>0.6.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>dlink-deamon</artifactId>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>com.dlink</groupId>
<artifactId>dlink-common</artifactId>
</dependency>
</dependencies>
</project>
10 changes: 10 additions & 0 deletions dlink-deamon/src/main/java/com.dlink.deamon/Deamon.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.dlink.deamon;

/**
* Deamon
*
* @author wenmo
* @since 2022/3/2 23:31
*/
public interface Deamon {
}
10 changes: 10 additions & 0 deletions dlink-deamon/src/test/java/com/dlink/deamon/DeamonTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.dlink.deamon;

/**
* DeamonTest
*
* @author wenmo
* @since 2022/3/2 23:31
*/
public class DeamonTest {
}
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<module>dlink-admin</module>
<module>dlink-assembly</module>
<module>dlink-alert</module>
<module>dlink-deamon</module>

</modules>

Expand Down Expand Up @@ -266,6 +267,11 @@
<artifactId>dlink-alert-base</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.dlink</groupId>
<artifactId>dlink-deamon</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
Expand Down

0 comments on commit 6fd1a0f

Please sign in to comment.