Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
schbrain-archetype
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
schbrain-archetype
Commits
fddb871a
Commit
fddb871a
authored
Mar 20, 2023
by
liaozan
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update archetype struct
parent
03fb02c6
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
51 additions
and
64 deletions
+51
-64
src/main/resources/META-INF/maven/archetype-metadata.xml
src/main/resources/META-INF/maven/archetype-metadata.xml
+21
-19
src/main/resources/archetype-resources/__gitignore__
src/main/resources/archetype-resources/__gitignore__
+0
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-api-impl/.gitkeep
...etype-resources/__subModuleNamePrefix__-api-impl/.gitkeep
+0
-1
src/main/resources/archetype-resources/__subModuleNamePrefix__-api-impl/pom.xml
...hetype-resources/__subModuleNamePrefix__-api-impl/pom.xml
+2
-2
src/main/resources/archetype-resources/__subModuleNamePrefix__-api/.gitkeep
.../archetype-resources/__subModuleNamePrefix__-api/.gitkeep
+0
-1
src/main/resources/archetype-resources/__subModuleNamePrefix__-api/pom.xml
...s/archetype-resources/__subModuleNamePrefix__-api/pom.xml
+2
-2
src/main/resources/archetype-resources/__subModuleNamePrefix__-common/.gitkeep
...chetype-resources/__subModuleNamePrefix__-common/.gitkeep
+0
-1
src/main/resources/archetype-resources/__subModuleNamePrefix__-common/pom.xml
...rchetype-resources/__subModuleNamePrefix__-common/pom.xml
+2
-2
src/main/resources/archetype-resources/__subModuleNamePrefix__-dal/.gitkeep
.../archetype-resources/__subModuleNamePrefix__-dal/.gitkeep
+0
-1
src/main/resources/archetype-resources/__subModuleNamePrefix__-dal/pom.xml
...s/archetype-resources/__subModuleNamePrefix__-dal/pom.xml
+2
-2
src/main/resources/archetype-resources/__subModuleNamePrefix__-facade/.gitkeep
...chetype-resources/__subModuleNamePrefix__-facade/.gitkeep
+0
-1
src/main/resources/archetype-resources/__subModuleNamePrefix__-facade/pom.xml
...rchetype-resources/__subModuleNamePrefix__-facade/pom.xml
+10
-2
src/main/resources/archetype-resources/__subModuleNamePrefix__-service/.gitkeep
...hetype-resources/__subModuleNamePrefix__-service/.gitkeep
+0
-1
src/main/resources/archetype-resources/__subModuleNamePrefix__-service/pom.xml
...chetype-resources/__subModuleNamePrefix__-service/pom.xml
+2
-18
src/main/resources/archetype-resources/__subModuleNamePrefix__-starter/.gitkeep
...hetype-resources/__subModuleNamePrefix__-starter/.gitkeep
+0
-1
src/main/resources/archetype-resources/__subModuleNamePrefix__-starter/pom.xml
...chetype-resources/__subModuleNamePrefix__-starter/pom.xml
+2
-2
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/.gitkeep
.../archetype-resources/__subModuleNamePrefix__-web/.gitkeep
+0
-1
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/pom.xml
...s/archetype-resources/__subModuleNamePrefix__-web/pom.xml
+2
-2
src/main/resources/archetype-resources/pom.xml
src/main/resources/archetype-resources/pom.xml
+6
-5
No files found.
src/main/resources/META-INF/maven/archetype-metadata.xml
View file @
fddb871a
...
...
@@ -5,16 +5,18 @@
<requiredProperty
key=
"groupId"
/>
<requiredProperty
key=
"artifactId"
/>
<requiredProperty
key=
"subModuleNamePrefix"
/>
<requiredProperty
key=
"gitignore"
>
<defaultValue>
.gitignore
</defaultValue>
</requiredProperty>
</requiredProperties>
<fileSets>
<fileSet
encoding=
"UTF-8"
filtered=
"true"
>
<directory/>
<includes>
<include>
.gitignore
</include>
<include>
__gitignore__
</include>
<include>
*.xml
</include>
<include>
*.properties
</include>
<include>
.gitkeep
</include>
</includes>
</fileSet>
</fileSets>
...
...
@@ -89,22 +91,6 @@
</fileSet>
</fileSets>
</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"
>
<fileSets>
<fileSet
filtered=
"true"
encoding=
"UTF-8"
packaged=
"true"
>
...
...
@@ -121,7 +107,7 @@
</fileSet>
</fileSets>
</module>
<module
id=
"${subModuleNamePrefix}-
web"
dir=
"__subModuleNamePrefix__-web"
name=
"${subModuleNamePrefix}-web
"
>
<module
id=
"${subModuleNamePrefix}-
service"
dir=
"__subModuleNamePrefix__-service"
name=
"${subModuleNamePrefix}-service
"
>
<fileSets>
<fileSet
filtered=
"true"
encoding=
"UTF-8"
packaged=
"true"
>
<directory>
src/main/java
</directory>
...
...
@@ -171,5 +157,21 @@
</fileSet>
</fileSets>
</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>
</archetype-descriptor>
\ No newline at end of file
src/main/resources/archetype-resources/
.gitignore
→
src/main/resources/archetype-resources/
__gitignore__
View file @
fddb871a
File moved
src/main/resources/archetype-resources/__subModuleNamePrefix__-api-impl/.gitkeep
deleted
100644 → 0
View file @
03fb02c6
Remove me after you add files in this module
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-api-impl/pom.xml
View file @
fddb871a
<?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
"
<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>
...
...
src/main/resources/archetype-resources/__subModuleNamePrefix__-api/.gitkeep
deleted
100644 → 0
View file @
03fb02c6
Remove me after you add files in this module
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-api/pom.xml
View file @
fddb871a
<?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
"
<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>
...
...
src/main/resources/archetype-resources/__subModuleNamePrefix__-common/.gitkeep
deleted
100644 → 0
View file @
03fb02c6
Remove me after you add files in this module
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-common/pom.xml
View file @
fddb871a
<?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
"
<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>
...
...
src/main/resources/archetype-resources/__subModuleNamePrefix__-dal/.gitkeep
deleted
100644 → 0
View file @
03fb02c6
Remove me after you add files in this module
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-dal/pom.xml
View file @
fddb871a
<?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
"
<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>
...
...
src/main/resources/archetype-resources/__subModuleNamePrefix__-facade/.gitkeep
deleted
100644 → 0
View file @
03fb02c6
Remove me after you add files in this module
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-facade/pom.xml
View file @
fddb871a
<?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
"
<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>
...
...
@@ -22,6 +22,14 @@
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-service
</artifactId>
</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>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-service/.gitkeep
deleted
100644 → 0
View file @
03fb02c6
Remove me after you add files in this module
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-service/pom.xml
View file @
fddb871a
<?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
"
<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>
...
...
@@ -18,26 +18,10 @@
</properties>
<dependencies>
<dependency>
<groupId>
com.schbrain.common
</groupId>
<artifactId>
common-util
</artifactId>
</dependency>
<dependency>
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-dal
</artifactId>
</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>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-starter/.gitkeep
deleted
100644 → 0
View file @
03fb02c6
Remove me after you add files in this module
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-starter/pom.xml
View file @
fddb871a
<?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
"
<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>
...
...
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/.gitkeep
deleted
100644 → 0
View file @
03fb02c6
Remove me after you add files in this module
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/pom.xml
View file @
fddb871a
<?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
"
<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>
...
...
src/main/resources/archetype-resources/pom.xml
View file @
fddb871a
...
...
@@ -27,6 +27,7 @@
<module>
${subModuleNamePrefix}-dal
</module>
<module>
${subModuleNamePrefix}-facade
</module>
<module>
${subModuleNamePrefix}-service
</module>
<module>
${subModuleNamePrefix}-starter
</module>
<module>
${subModuleNamePrefix}-web
</module>
</modules>
...
...
@@ -54,25 +55,25 @@
</dependency>
<dependency>
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-
servic
e
</artifactId>
<artifactId>
${subModuleNamePrefix}-
facad
e
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-
facad
e
</artifactId>
<artifactId>
${subModuleNamePrefix}-
servic
e
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-
web
</artifactId>
<artifactId>
${subModuleNamePrefix}-
starter
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-
starter
</artifactId>
<artifactId>
${subModuleNamePrefix}-
web
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
\ No newline at end of file
</project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment