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
cef7e11e
Commit
cef7e11e
authored
Mar 13, 2023
by
liaozan
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add spring-boot-starter-test
parent
79fe774b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
0 deletions
+48
-0
src/main/resources/META-INF/maven/archetype-metadata.xml
src/main/resources/META-INF/maven/archetype-metadata.xml
+12
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/pom.xml
...s/archetype-resources/__subModuleNamePrefix__-web/pom.xml
+5
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/src/test/java/ApplicationTest.java
...ModuleNamePrefix__-web/src/test/java/ApplicationTest.java
+23
-0
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/src/test/resources/application.yaml
...oduleNamePrefix__-web/src/test/resources/application.yaml
+8
-0
No files found.
src/main/resources/META-INF/maven/archetype-metadata.xml
View file @
cef7e11e
...
@@ -135,6 +135,18 @@
...
@@ -135,6 +135,18 @@
<include>
**/*.*
</include>
<include>
**/*.*
</include>
</includes>
</includes>
</fileSet>
</fileSet>
<fileSet
filtered=
"true"
encoding=
"UTF-8"
packaged=
"true"
>
<directory>
src/test/java
</directory>
<includes>
<include>
**/*.java
</include>
</includes>
</fileSet>
<fileSet
filtered=
"true"
encoding=
"UTF-8"
packaged=
"false"
>
<directory>
src/test/resources
</directory>
<includes>
<include>
**/*.*
</include>
</includes>
</fileSet>
<fileSet
filtered=
"true"
encoding=
"UTF-8"
>
<fileSet
filtered=
"true"
encoding=
"UTF-8"
>
<directory/>
<directory/>
<includes>
<includes>
...
...
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/pom.xml
View file @
cef7e11e
...
@@ -30,6 +30,11 @@
...
@@ -30,6 +30,11 @@
<groupId>
com.schbrain.framework
</groupId>
<groupId>
com.schbrain.framework
</groupId>
<artifactId>
logger-spring-boot-starter
</artifactId>
<artifactId>
logger-spring-boot-starter
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
...
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/src/test/java/ApplicationTest.java
0 → 100644
View file @
cef7e11e
package
${
package
};
import
lombok.extern.slf4j.Slf4j
;
import
org.junit.jupiter.api.BeforeEach
;
import
org.junit.jupiter.api.Test
;
import
org.springframework.boot.test.context.SpringBootTest
;
@Slf4j
@SpringBootTest
public
class
ApplicationTest
{
@BeforeEach
void
init
()
{
}
@Test
void
applicationTest
()
{
// write your testcase here
log
.
info
(
"application started"
);
}
}
\ No newline at end of file
src/main/resources/archetype-resources/__subModuleNamePrefix__-web/src/test/resources/application.yaml
0 → 100644
View file @
cef7e11e
spring
:
application
:
name
:
${rootArtifactId}
profiles
:
active
:
dev
apollo
:
bootstrap
:
namespaces
:
application,jdbc-common,redis-common
\ No newline at end of file
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