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
03fb02c6
Commit
03fb02c6
authored
Mar 20, 2023
by
liaozan
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update archetype struct
parent
cef7e11e
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
106 additions
and
41 deletions
+106
-41
src/main/resources/META-INF/maven/archetype-metadata.xml
src/main/resources/META-INF/maven/archetype-metadata.xml
+16
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-api-impl/.gitkeep
...etype-resources/__subModuleNamePrefix__-api-impl/.gitkeep
+1
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-api-impl/pom.xml
...hetype-resources/__subModuleNamePrefix__-api-impl/pom.xml
+3
-3
src/main/resources/archetype-resources/__subModuleNamePrefix__-api/.gitkeep
.../archetype-resources/__subModuleNamePrefix__-api/.gitkeep
+1
-0
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
+1
-0
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
+1
-0
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
+1
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-facade/pom.xml
...rchetype-resources/__subModuleNamePrefix__-facade/pom.xml
+2
-2
src/main/resources/archetype-resources/__subModuleNamePrefix__-service/.gitkeep
...hetype-resources/__subModuleNamePrefix__-service/.gitkeep
+1
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-service/pom.xml
...chetype-resources/__subModuleNamePrefix__-service/pom.xml
+2
-2
src/main/resources/archetype-resources/__subModuleNamePrefix__-starter/.gitkeep
...hetype-resources/__subModuleNamePrefix__-starter/.gitkeep
+1
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-starter/pom.xml
...chetype-resources/__subModuleNamePrefix__-starter/pom.xml
+57
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-starter/src/main/java/Application.java
...ModuleNamePrefix__-starter/src/main/java/Application.java
+0
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-starter/src/main/resources/application.yaml
...eNamePrefix__-starter/src/main/resources/application.yaml
+0
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-starter/src/test/java/ApplicationTest.java
...leNamePrefix__-starter/src/test/java/ApplicationTest.java
+0
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-starter/src/test/resources/application.yaml
...eNamePrefix__-starter/src/test/resources/application.yaml
+0
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/.gitkeep
.../archetype-resources/__subModuleNamePrefix__-web/.gitkeep
+1
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/pom.xml
...s/archetype-resources/__subModuleNamePrefix__-web/pom.xml
+2
-28
src/main/resources/archetype-resources/pom.xml
src/main/resources/archetype-resources/pom.xml
+10
-0
No files found.
src/main/resources/META-INF/maven/archetype-metadata.xml
View file @
03fb02c6
...
...
@@ -122,6 +122,22 @@
</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>
<module
id=
"${subModuleNamePrefix}-starter"
dir=
"__subModuleNamePrefix__-starter"
name=
"${subModuleNamePrefix}-starter"
>
<fileSets>
<fileSet
filtered=
"true"
encoding=
"UTF-8"
packaged=
"true"
>
<directory>
src/main/java
</directory>
...
...
src/main/resources/archetype-resources/__subModuleNamePrefix__-api-impl/.gitkeep
0 → 100644
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 @
03fb02c6
<?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
=
"http://maven.apache.org/POM/4.0.0
"
xmlns
:xsi=
"http://www.w3.org/2001/XMLSchema-instance
"
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>
...
...
@@ -24,7 +24,7 @@
</dependency>
<dependency>
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-
servic
e
</artifactId>
<artifactId>
${subModuleNamePrefix}-
facad
e
</artifactId>
</dependency>
</dependencies>
...
...
src/main/resources/archetype-resources/__subModuleNamePrefix__-api/.gitkeep
0 → 100644
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 @
03fb02c6
<?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
=
"http://maven.apache.org/POM/4.0.0
"
xmlns
:xsi=
"http://www.w3.org/2001/XMLSchema-instance
"
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
0 → 100644
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 @
03fb02c6
<?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
=
"http://maven.apache.org/POM/4.0.0
"
xmlns
:xsi=
"http://www.w3.org/2001/XMLSchema-instance
"
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
0 → 100644
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 @
03fb02c6
<?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
=
"http://maven.apache.org/POM/4.0.0
"
xmlns
:xsi=
"http://www.w3.org/2001/XMLSchema-instance
"
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
0 → 100644
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 @
03fb02c6
<?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
=
"http://maven.apache.org/POM/4.0.0
"
xmlns
:xsi=
"http://www.w3.org/2001/XMLSchema-instance
"
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__-service/.gitkeep
0 → 100644
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 @
03fb02c6
<?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
=
"http://maven.apache.org/POM/4.0.0
"
xmlns
:xsi=
"http://www.w3.org/2001/XMLSchema-instance
"
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__-starter/.gitkeep
0 → 100644
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
0 → 100644
View file @
03fb02c6
<?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"
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>
<groupId>
${groupId}
</groupId>
<artifactId>
${rootArtifactId}
</artifactId>
<version>
${revision}
</version>
</parent>
<artifactId>
${subModuleNamePrefix}-starter
</artifactId>
<properties>
<maven.deploy.skip>
true
</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-api-impl
</artifactId>
</dependency>
<dependency>
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-web
</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>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
com.schbrain.maven.plugin
</groupId>
<artifactId>
integration-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
io.github.git-commit-id
</groupId>
<artifactId>
git-commit-id-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-
web
/src/main/java/Application.java
→
src/main/resources/archetype-resources/__subModuleNamePrefix__-
starter
/src/main/java/Application.java
View file @
03fb02c6
File moved
src/main/resources/archetype-resources/__subModuleNamePrefix__-
web
/src/main/resources/application.yaml
→
src/main/resources/archetype-resources/__subModuleNamePrefix__-
starter
/src/main/resources/application.yaml
View file @
03fb02c6
File moved
src/main/resources/archetype-resources/__subModuleNamePrefix__-
web
/src/test/java/ApplicationTest.java
→
src/main/resources/archetype-resources/__subModuleNamePrefix__-
starter
/src/test/java/ApplicationTest.java
View file @
03fb02c6
File moved
src/main/resources/archetype-resources/__subModuleNamePrefix__-
web
/src/test/resources/application.yaml
→
src/main/resources/archetype-resources/__subModuleNamePrefix__-
starter
/src/test/resources/application.yaml
View file @
03fb02c6
File moved
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/.gitkeep
0 → 100644
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 @
03fb02c6
<?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
=
"http://maven.apache.org/POM/4.0.0
"
xmlns
:xsi=
"http://www.w3.org/2001/XMLSchema-instance
"
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>
...
...
@@ -26,32 +26,6 @@
<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>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
com.schbrain.maven.plugin
</groupId>
<artifactId>
integration-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
io.github.git-commit-id
</groupId>
<artifactId>
git-commit-id-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/pom.xml
View file @
03fb02c6
...
...
@@ -62,6 +62,16 @@
<artifactId>
${subModuleNamePrefix}-facade
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-web
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
${groupId}
</groupId>
<artifactId>
${subModuleNamePrefix}-starter
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependencies>
</dependencyManagement>
...
...
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