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
cd5ec0cf
Commit
cd5ec0cf
authored
Mar 19, 2022
by
liaozan
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update archetype
parent
1a711839
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
52 additions
and
48 deletions
+52
-48
pom.xml
pom.xml
+12
-17
src/main/resources/archetype-resources/__appName__-api-impl/pom.xml
...esources/archetype-resources/__appName__-api-impl/pom.xml
+5
-2
src/main/resources/archetype-resources/__appName__-api/pom.xml
...ain/resources/archetype-resources/__appName__-api/pom.xml
+13
-2
src/main/resources/archetype-resources/__appName__-common/pom.xml
.../resources/archetype-resources/__appName__-common/pom.xml
+5
-2
src/main/resources/archetype-resources/__appName__-dao/pom.xml
...ain/resources/archetype-resources/__appName__-dao/pom.xml
+5
-6
src/main/resources/archetype-resources/__appName__-dao/src/main/resources/mapper/.gitkeep
...ources/__appName__-dao/src/main/resources/mapper/.gitkeep
+0
-0
src/main/resources/archetype-resources/__appName__-service/pom.xml
...resources/archetype-resources/__appName__-service/pom.xml
+7
-2
src/main/resources/archetype-resources/__appName__-web/pom.xml
...ain/resources/archetype-resources/__appName__-web/pom.xml
+2
-2
src/main/resources/archetype-resources/__appName__-web/src/main/java/Application.java
...-resources/__appName__-web/src/main/java/Application.java
+2
-2
src/main/resources/archetype-resources/__appName__-web/src/main/resources/application.yaml
...urces/__appName__-web/src/main/resources/application.yaml
+1
-13
No files found.
pom.xml
View file @
cd5ec0cf
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.schbrain.kp
</groupId>
<artifactId>
schbrain-archetype
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<name>
schbrain-archetype
</name>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<maven.compiler.source>
11
</maven.compiler.source>
<maven.compiler.target>
11
</maven.compiler.target>
</properties>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.schbrain.kp
</groupId>
<artifactId>
schbrain-archetype
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<name>
schbrain-archetype
</name>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<maven.compiler.source>
11
</maven.compiler.source>
<maven.compiler.target>
11
</maven.compiler.target>
</properties>
</project>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/__appName__-api-impl/pom.xml
View file @
cd5ec0cf
<?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"
>
<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>
<parent>
...
...
@@ -21,4 +24,4 @@
</dependency>
</dependencies>
</project>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/__appName__-api/pom.xml
View file @
cd5ec0cf
<?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"
>
<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>
<parent>
...
...
@@ -11,10 +14,18 @@
<artifactId>
${appName}-api
</artifactId>
<dependencies>
<dependency>
<groupId>
com.schbrain.kp
</groupId>
<artifactId>
${appName}-common
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-openfeign
</artifactId>
<scope>
provided
</scope>
</dependency>
</dependencies>
</project>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/__appName__-common/pom.xml
View file @
cd5ec0cf
<?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"
>
<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>
<parent>
...
...
@@ -17,4 +20,4 @@
</dependency>
</dependencies>
</project>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/__appName__-dao/pom.xml
View file @
cd5ec0cf
<?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"
>
<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>
<parent>
...
...
@@ -25,10 +28,6 @@
<artifactId>
mybatis-spring-boot-starter
</artifactId>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid-spring-boot-starter
</artifactId>
</dependency>
</dependencies>
</project>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/__appName__-dao/src/main/resources/mapper/.gitkeep
0 → 100644
View file @
cd5ec0cf
src/main/resources/archetype-resources/__appName__-service/pom.xml
View file @
cd5ec0cf
<?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"
>
<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>
<parent>
...
...
@@ -36,6 +36,11 @@
<artifactId>
spring-cloud-starter-netflix-eureka-client
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-openfeign
</artifactId>
</dependency>
</dependencies>
</project>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/__appName__-web/pom.xml
View file @
cd5ec0cf
<?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"
>
<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>
<parent>
...
...
@@ -50,4 +50,4 @@
</plugins>
</build>
</project>
</project>
\ No newline at end of file
src/main/resources/archetype-resources/__appName__-web/src/main/java/Application.java
View file @
cd5ec0cf
package
$
{
package
};
package
$
import
org
.
springframework
.
boot
.
SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
...
...
@@ -10,4 +10,4 @@ public class Application {
SpringApplication
.
run
(
Application
.
class
,
args
);
}
}
}
\ No newline at end of file
src/main/resources/archetype-resources/__appName__-web/src/main/resources/application.yaml
View file @
cd5ec0cf
...
...
@@ -5,16 +5,4 @@ spring:
active
:
dev
apollo
:
bootstrap
:
namespaces
:
kp.common.spring.jdbc
eureka
:
client
:
service-url
:
defaultZone
:
http://kp-register-center:18080/eureka/
instance
:
prefer-ip-address
:
true
lease-renewal-interval-in-seconds
:
5
lease-expiration-duration-in-seconds
:
15
schbrain
:
logging
:
file
:
enable-json-log-write-to-logstash
:
true
\ No newline at end of file
namespaces
:
application,kp.common.spring.jdbc,kp.common.eureka
\ 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