调整项目的基础配置文件

1、调整项目的 pom 文件
2、调整项目的 package 报名为 cn.org.gitlink.notification
3、调整 .gitignore 文件加入 idea 相关的一些忽略配置
This commit is contained in:
巴拉迪维 2021-09-02 13:57:01 +08:00
parent 44bac3793a
commit 2c24d5833f
16 changed files with 45 additions and 18 deletions

1
.gitignore vendored
View File

@ -86,3 +86,4 @@ lint/tmp/
# lint/reports/
/.idea/
target/

View File

@ -4,12 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>gitlink-notification-system</artifactId>
<groupId>com.gitlink.notification</groupId>
<groupId>cn.org.gitlink.notification</groupId>
<version>1.0.0</version>
</parent>
<artifactId>gns-executor</artifactId>
<version>1.0.0</version>
<name>executer</name>
<name>[GNS] - Executer</name>
<packaging>jar</packaging>
<description>api</description>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,4 +1,4 @@
package com.gitlink.notification.executor;
package cn.org.gitlink.notification.executor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@ -1,4 +1,4 @@
package com.gitlink.notification.executor.core.config;
package cn.org.gitlink.notification.executor.core.config;
import com.xxl.job.core.executor.impl.XxlJobSpringExecutor;
import org.slf4j.Logger;

View File

@ -1,4 +1,4 @@
package com.gitlink.notification.executor.service.jobhandler;
package cn.org.gitlink.notification.executor.service.jobhandler;
import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;

View File

@ -4,15 +4,27 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>gitlink-notification-system</artifactId>
<groupId>com.gitlink.notification</groupId>
<groupId>cn.org.gitlink.notification</groupId>
<version>1.0.0</version>
</parent>
<artifactId>gns-model</artifactId>
<version>1.0.0</version>
<name>model</name>
<name>[GNS] - Model</name>
<packaging>jar</packaging>
<description>api</description>
<modelVersion>4.0.0</modelVersion>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1,13 @@
package cn.org.gitlink.notification.model;
public class Demo {
private int age;
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
}

View File

@ -4,8 +4,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.gitlink.notification</groupId>
<groupId>cn.org.gitlink.notification</groupId>
<artifactId>gitlink-notification-system</artifactId>
<name>[GNS] - Root</name>
<packaging>pom</packaging>
<version>1.0.0</version>
<modules>

View File

@ -4,12 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>gitlink-notification-system</artifactId>
<groupId>com.gitlink.notification</groupId>
<groupId>cn.org.gitlink.notification</groupId>
<version>1.0.0</version>
</parent>
<artifactId>gns-reader</artifactId>
<version>1.0.0</version>
<name>reader</name>
<name>[GNS] - Reader</name>
<packaging>jar</packaging>
<description>api</description>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,4 +1,4 @@
package com.gitlink.notification;
package cn.org.gitlink.notification.reader;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@ -1,4 +1,4 @@
package com.gitlink.notification.reader.config;
package cn.org.gitlink.notification.reader.config;
import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.springframework.context.annotation.Bean;

View File

@ -1,4 +1,4 @@
package com.gitlink.notification.reader.controller;
package cn.org.gitlink.notification.reader.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

View File

@ -4,13 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>gitlink-notification-system</artifactId>
<groupId>com.gitlink.notification</groupId>
<groupId>cn.org.gitlink.notification</groupId>
<version>1.0.0</version>
</parent>
<artifactId>gns-writer</artifactId>
<version>1.0.0</version>
<name>writer</name>
<name>[GNS] - Writer</name>
<packaging>jar</packaging>
<description>api</description>
<modelVersion>4.0.0</modelVersion>

View File

@ -1,4 +1,4 @@
package com.gitlink.notification;
package cn.org.gitlink.notification;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@ -1,4 +1,4 @@
package com.gitlink.notification.writer.config;
package cn.org.gitlink.notification.writer.config;
import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.springframework.context.annotation.Bean;

View File

@ -1,4 +1,4 @@
package com.gitlink.notification.writer.controller;
package cn.org.gitlink.notification.writer.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;