Commit fddb871a authored by liaozan's avatar liaozan 🏀

Update archetype struct

parent 03fb02c6
...@@ -5,16 +5,18 @@ ...@@ -5,16 +5,18 @@
<requiredProperty key="groupId"/> <requiredProperty key="groupId"/>
<requiredProperty key="artifactId"/> <requiredProperty key="artifactId"/>
<requiredProperty key="subModuleNamePrefix"/> <requiredProperty key="subModuleNamePrefix"/>
<requiredProperty key="gitignore">
<defaultValue>.gitignore</defaultValue>
</requiredProperty>
</requiredProperties> </requiredProperties>
<fileSets> <fileSets>
<fileSet encoding="UTF-8" filtered="true"> <fileSet encoding="UTF-8" filtered="true">
<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>
...@@ -89,22 +91,6 @@ ...@@ -89,22 +91,6 @@
</fileSet> </fileSet>
</fileSets> </fileSets>
</module> </module>
<module id="${subModuleNamePrefix}-service" dir="__subModuleNamePrefix__-service" name="${subModuleNamePrefix}-service">
<fileSets>
<fileSet filtered="true" encoding="UTF-8" packaged="true">
<directory>src/main/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="true" encoding="UTF-8">
<directory/>
<includes>
<include>pom.xml</include>
</includes>
</fileSet>
</fileSets>
</module>
<module id="${subModuleNamePrefix}-facade" dir="__subModuleNamePrefix__-facade" name="${subModuleNamePrefix}-facade"> <module id="${subModuleNamePrefix}-facade" dir="__subModuleNamePrefix__-facade" name="${subModuleNamePrefix}-facade">
<fileSets> <fileSets>
<fileSet filtered="true" encoding="UTF-8" packaged="true"> <fileSet filtered="true" encoding="UTF-8" packaged="true">
...@@ -121,7 +107,7 @@ ...@@ -121,7 +107,7 @@
</fileSet> </fileSet>
</fileSets> </fileSets>
</module> </module>
<module id="${subModuleNamePrefix}-web" dir="__subModuleNamePrefix__-web" name="${subModuleNamePrefix}-web"> <module id="${subModuleNamePrefix}-service" dir="__subModuleNamePrefix__-service" name="${subModuleNamePrefix}-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>
...@@ -171,5 +157,21 @@ ...@@ -171,5 +157,21 @@
</fileSet> </fileSet>
</fileSets> </fileSets>
</module> </module>
<module id="${subModuleNamePrefix}-web" dir="__subModuleNamePrefix__-web" name="${subModuleNamePrefix}-web">
<fileSets>
<fileSet filtered="true" encoding="UTF-8" packaged="true">
<directory>src/main/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</fileSet>
<fileSet filtered="true" encoding="UTF-8">
<directory/>
<includes>
<include>pom.xml</include>
</includes>
</fileSet>
</fileSets>
</module>
</modules> </modules>
</archetype-descriptor> </archetype-descriptor>
\ No newline at end of file
Remove me after you add files in this module
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
......
Remove me after you add files in this module
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
......
Remove me after you add files in this module
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
......
Remove me after you add files in this module
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
......
Remove me after you add files in this module
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
...@@ -22,6 +22,14 @@ ...@@ -22,6 +22,14 @@
<groupId>${groupId}</groupId> <groupId>${groupId}</groupId>
<artifactId>${subModuleNamePrefix}-service</artifactId> <artifactId>${subModuleNamePrefix}-service</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.schbrain.framework</groupId>
<artifactId>cache-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.schbrain.framework</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
</dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file
Remove me after you add files in this module
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
...@@ -18,26 +18,10 @@ ...@@ -18,26 +18,10 @@
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>com.schbrain.common</groupId>
<artifactId>common-util</artifactId>
</dependency>
<dependency> <dependency>
<groupId>${groupId}</groupId> <groupId>${groupId}</groupId>
<artifactId>${subModuleNamePrefix}-dal</artifactId> <artifactId>${subModuleNamePrefix}-dal</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.schbrain.framework</groupId>
<artifactId>cache-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.schbrain.framework</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.schbrain.framework</groupId>
<artifactId>oss-spring-boot-starter</artifactId>
</dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file
Remove me after you add files in this module
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
......
Remove me after you add files in this module
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<module>${subModuleNamePrefix}-dal</module> <module>${subModuleNamePrefix}-dal</module>
<module>${subModuleNamePrefix}-facade</module> <module>${subModuleNamePrefix}-facade</module>
<module>${subModuleNamePrefix}-service</module> <module>${subModuleNamePrefix}-service</module>
<module>${subModuleNamePrefix}-starter</module>
<module>${subModuleNamePrefix}-web</module> <module>${subModuleNamePrefix}-web</module>
</modules> </modules>
...@@ -54,25 +55,25 @@ ...@@ -54,25 +55,25 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>${groupId}</groupId> <groupId>${groupId}</groupId>
<artifactId>${subModuleNamePrefix}-service</artifactId> <artifactId>${subModuleNamePrefix}-facade</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${groupId}</groupId> <groupId>${groupId}</groupId>
<artifactId>${subModuleNamePrefix}-facade</artifactId> <artifactId>${subModuleNamePrefix}-service</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${groupId}</groupId> <groupId>${groupId}</groupId>
<artifactId>${subModuleNamePrefix}-web</artifactId> <artifactId>${subModuleNamePrefix}-starter</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${groupId}</groupId> <groupId>${groupId}</groupId>
<artifactId>${subModuleNamePrefix}-starter</artifactId> <artifactId>${subModuleNamePrefix}-web</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