Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
B
binfast-archetype
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘斌
binfast-archetype
Commits
5a842329
Commit
5a842329
authored
Oct 30, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 核心包升级到1.2.2
parent
0930a532
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
75 additions
and
5 deletions
+75
-5
archetype-metadata.xml
.../src/main/resources/META-INF/maven/archetype-metadata.xml
+7
-0
HELP.md
...type-light/src/main/resources/archetype-resources/HELP.md
+3
-3
Application.java
.../archetype-resources/admin/src/main/java/Application.java
+1
-1
application.yml
...hetype-resources/admin/src/main/resources/application.yml
+2
-0
pom.xml
...type-light/src/main/resources/archetype-resources/pom.xml
+62
-1
No files found.
binfast-archetype-light/src/main/resources/META-INF/maven/archetype-metadata.xml
View file @
5a842329
...
...
@@ -18,10 +18,17 @@
<include>
**/*.java
</include>
</includes>
</fileSet>
<fileSet
filtered=
"true"
encoding=
"UTF-8"
>
<directory>
src/main/resources
</directory>
<includes>
<include>
**/*.yml
</include>
</includes>
</fileSet>
<fileSet
encoding=
"UTF-8"
>
<directory>
src/main/resources
</directory>
<includes>
<include>
**/*.yml
</include>
<include>
**/*.yaml
</include>
<include>
**/*.vm
</include>
<include>
**/*.xml
</include>
<include>
**/*.properties
</include>
...
...
binfast-archetype-light/src/main/resources/archetype-resources/HELP.md
View file @
5a842329
...
...
@@ -12,9 +12,9 @@ http://localhost:${项目端口}/api/swagger-ui/index.html
```
mvn archetype:generate
\
-DgroupId=
com.example
\
-DartifactId=
new-project
\
-Dversion=
1.0.0-SNAPSHOT
\
-DgroupId=
${groupId}
\
-DartifactId=
${artifactId}
\
-Dversion=
${version}
\
-DinteractiveMode=false
\
-DarchetypeGroupId=com.anplus
\
-DarchetypeArtifactId=binfast-archetype-light
\
...
...
binfast-archetype-light/src/main/resources/archetype-resources/admin/src/main/java/Application.java
View file @
5a842329
...
...
@@ -10,7 +10,7 @@ import org.springframework.cache.annotation.EnableCaching;
@Slf4j
@EnableCaching
@SpringBootApplication
(
scanBasePackages
=
{
"top.binfast.
app
"
,
"${package}"
})
@SpringBootApplication
(
scanBasePackages
=
{
"top.binfast.
daemon.codegen"
,
"top.binfast.app.biz
"
,
"${package}"
})
public
class
Application
{
public
static
void
main
(
String
[]
args
)
{
...
...
binfast-archetype-light/src/main/resources/archetype-resources/admin/src/main/resources/application.yml
View file @
5a842329
...
...
@@ -69,6 +69,8 @@ management:
# mybaits-plus配置
mybatis-plus
:
# 多包名使用 例如
mapper-package
:
${groupId}.**.mapper,top.binfast.**.dao,top.binfast.**.mapper
# MyBatis Mapper所对应的XML文件位置
mapper-locations
:
classpath*:/mapper/**/*Mapper.xml
global-config
:
...
...
binfast-archetype-light/src/main/resources/archetype-resources/pom.xml
View file @
5a842329
...
...
@@ -15,7 +15,11 @@
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<maven-jar-plugin.version>
3.4.2
</maven-jar-plugin.version>
<maven-compiler-plugin.version>
3.14.0
</maven-compiler-plugin.version>
<binfast.version>
1.2.0
</binfast.version>
<mapstruct-plus.version>
1.4.8
</mapstruct-plus.version>
<lombok-mapstruct-binding.version>
0.2.0
</lombok-mapstruct-binding.version>
<therapi-javadoc.version>
0.15.0
</therapi-javadoc.version>
<binfast.version>
1.2.2
</binfast.version>
<lombok.version>
1.18.38
</lombok.version>
</properties>
<modules>
...
...
@@ -53,6 +57,22 @@
<resources>
<resource>
<directory>
src/main/resources
</directory>
<!-- 关闭过滤 -->
<filtering>
false
</filtering>
<!-- <excludes>-->
<!-- <exclude>**/*.xlsx</exclude>-->
<!-- <exclude>**/*.xls</exclude>-->
<!-- </excludes>-->
</resource>
<resource>
<directory>
src/main/resources
</directory>
<!-- 引入所有 匹配文件进行过滤 -->
<includes>
<include>
application*
</include>
<include>
bootstrap*
</include>
<include>
banner*
</include>
</includes>
<!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
<filtering>
true
</filtering>
</resource>
</resources>
...
...
@@ -70,6 +90,47 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.11.0
</version>
<configuration>
<target>
${java.version}
</target>
<source>
${java.version}
</source>
<encoding>
UTF-8
</encoding>
<compilerArgs>
<arg>
-parameters
</arg>
</compilerArgs>
<annotationProcessorPaths>
<!-- <path>-->
<!-- <groupId>org.mapstruct</groupId>-->
<!-- <artifactId>mapstruct-processor</artifactId>-->
<!-- <version>${org.mapstruct.version}</version>-->
<!-- </path>-->
<path>
<groupId>
io.github.linpeilie
</groupId>
<artifactId>
mapstruct-plus-processor
</artifactId>
<version>
${mapstruct-plus.version}
</version>
</path>
<path>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<version>
${lombok.version}
</version>
</path>
<path>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok-mapstruct-binding
</artifactId>
<version>
${lombok-mapstruct-binding.version}
</version>
</path>
<path>
<groupId>
com.github.therapi
</groupId>
<artifactId>
therapi-runtime-javadoc-scribe
</artifactId>
<version>
${therapi-javadoc.version}
</version>
</path>
</annotationProcessorPaths>
<skip>
true
</skip>
</configuration>
</plugin>
</plugins>
</build>
...
...
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