Commit fcbe6827 authored by liaozan's avatar liaozan 🏀

chore: update dependency

parent cd5ec0cf
<?xml version="1.0" encoding="UTF-8"?>
<archetype-descriptor name="my-archetype">
<archetype-descriptor name="schbrain-archetype">
<requiredProperties>
<requiredProperty key="groupId">
<defaultValue>com.schbrain.kp</defaultValue>
</requiredProperty>
<requiredProperty key="artifactId">
<defaultValue>notice</defaultValue>
</requiredProperty>
<requiredProperty key="package">
<defaultValue>com.schbrain.kp.notice</defaultValue>
</requiredProperty>
<requiredProperty key="appName">
<defaultValue>app</defaultValue>
</requiredProperty>
<requiredProperty key="groupId"/>
<requiredProperty key="artifactId"/>
</requiredProperties>
<fileSets>
<fileSet encoding="UTF-8" filtered="true">
<directory></directory>
<directory/>
<includes>
<include>.gitignore</include>
<include>*.xml</include>
<include>*.properties</include>
<include>.gitkeep</include>
</includes>
</fileSet>
</fileSets>
<modules>
<module id="${appName}-api" dir="__appName__-api" name="${appName}-api">
<module id="${rootArtifactId}-api" dir="__rootArtifactId__-api" name="${rootArtifactId}-api">
<fileSets>
<fileSet filtered="true" encoding="UTF-8" packaged="true">
<directory>src/main/java</directory>
......@@ -43,7 +34,7 @@
</fileSet>
</fileSets>
</module>
<module id="${appName}-api-impl" dir="__appName__-api-impl" name="${appName}-api-impl">
<module id="${rootArtifactId}-api-impl" dir="__rootArtifactId__-api-impl" name="${rootArtifactId}-api-impl">
<fileSets>
<fileSet filtered="true" encoding="UTF-8" packaged="true">
<directory>src/main/java</directory>
......@@ -65,7 +56,7 @@
</fileSet>
</fileSets>
</module>
<module id="${appName}-common" dir="__appName__-common" name="${appName}-common">
<module id="${rootArtifactId}-common" dir="__rootArtifactId__-common" name="${rootArtifactId}-common">
<fileSets>
<fileSet filtered="true" encoding="UTF-8" packaged="true">
<directory>src/main/java</directory>
......@@ -87,7 +78,7 @@
</fileSet>
</fileSets>
</module>
<module id="${appName}-dao" dir="__appName__-dao" name="${appName}-dao">
<module id="${rootArtifactId}-dao" dir="__rootArtifactId__-dao" name="${rootArtifactId}-dao">
<fileSets>
<fileSet filtered="true" encoding="UTF-8" packaged="true">
<directory>src/main/java</directory>
......@@ -109,7 +100,7 @@
</fileSet>
</fileSets>
</module>
<module id="${appName}-service" dir="__appName__-service" name="${appName}-service">
<module id="${rootArtifactId}-service" dir="__rootArtifactId__-service" name="${rootArtifactId}-service">
<fileSets>
<fileSet filtered="true" encoding="UTF-8" packaged="true">
<directory>src/main/java</directory>
......@@ -125,7 +116,7 @@
</fileSet>
</fileSets>
</module>
<module id="${appName}-web" dir="__appName__-web" name="${appName}-web">
<module id="${rootArtifactId}-web" dir="__rootArtifactId__-web" name="${rootArtifactId}-web">
<fileSets>
<fileSet filtered="true" encoding="UTF-8" packaged="true">
<directory>src/main/java</directory>
......@@ -134,15 +125,12 @@
<include>**/*.txt</include>
</includes>
</fileSet>
<fileSet filtered="true" encoding="UTF-8" packaged="false">
<directory>src/main/resources</directory>
<includes>
<include>**/*.*</include>
</includes>
</fileSet>
<fileSet filtered="true" encoding="UTF-8">
<directory/>
<includes>
......
......@@ -11,7 +11,7 @@
<version>${revision}</version>
</parent>
<artifactId>${appName}-api-impl</artifactId>
<artifactId>${artifactId}</artifactId>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
......@@ -19,8 +19,12 @@
<dependencies>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-service</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-api</artifactId>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-service</artifactId>
</dependency>
</dependencies>
......
......@@ -11,21 +11,18 @@
<version>${revision}</version>
</parent>
<artifactId>${appName}-api</artifactId>
<artifactId>${artifactId}</artifactId>
<dependencies>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-common</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-common</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -11,7 +11,7 @@
<version>${revision}</version>
</parent>
<artifactId>${appName}-common</artifactId>
<artifactId>${artifactId}</artifactId>
<dependencies>
<dependency>
......
......@@ -11,7 +11,7 @@
<version>${revision}</version>
</parent>
<artifactId>${appName}-dao</artifactId>
<artifactId>${artifactId}</artifactId>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
......@@ -19,15 +19,17 @@
<dependencies>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-common</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-common</artifactId>
</dependency>
<dependency>
<groupId>com.schbrain.framework</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>
......@@ -8,39 +11,41 @@
<version>${revision}</version>
</parent>
<artifactId>${appName}-service</artifactId>
<artifactId>${artifactId}</artifactId>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-dao</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-dao</artifactId>
</dependency>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-api</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-api</artifactId>
</dependency>
<dependency>
<groupId>com.schbrain.framework</groupId>
<artifactId>logger-spring-boot-starter</artifactId>
<artifactId>oss-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.schbrain.framework</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>
......@@ -8,24 +11,25 @@
<version>${revision}</version>
</parent>
<artifactId>${appName}-web</artifactId>
<artifactId>${rootArtifactId}-web</artifactId>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-api-impl</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-api-impl</artifactId>
</dependency>
<dependency>
<groupId>com.schbrain.common</groupId>
<artifactId>web-common</artifactId>
</dependency>
<dependency>
<groupId>com.schbrain.framework</groupId>
<artifactId>logger-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
......
package $
package ${package};
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
......
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>
......@@ -15,49 +17,43 @@
<version>${revision}</version>
<properties>
<revision>1.0.0-SNAPSHOT</revision>
<revision>${version}</revision>
</properties>
<modules>
<module>${appName}-api</module>
<module>${appName}-api-impl</module>
<module>${appName}-common</module>
<module>${appName}-dao</module>
<module>${appName}-service</module>
<module>${appName}-web</module>
<module>${rootArtifactId}-api</module>
<module>${rootArtifactId}-api-impl</module>
<module>${rootArtifactId}-common</module>
<module>${rootArtifactId}-dao</module>
<module>${rootArtifactId}-service</module>
<module>${rootArtifactId}-web</module>
</modules>
<dependencyManagement>
<dependencies>
<!--一方库-->
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-api-impl</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-common</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-api-impl</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-dao</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-service</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-dao</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.schbrain.kp</groupId>
<artifactId>${appName}-web</artifactId>
<groupId>${groupId}</groupId>
<artifactId>${rootArtifactId}-service</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
......
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