Commit fcbe6827 authored by liaozan's avatar liaozan 🏀

chore: update dependency

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