Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
commons
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DevOps
commons
Commits
5bb80439
Commit
5bb80439
authored
Mar 16, 2022
by
孙 楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add flatten plugin
parent
8b0fbdb6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
55 deletions
+90
-55
.gitignore
.gitignore
+1
-0
pom.xml
pom.xml
+89
-55
No files found.
.gitignore
View file @
5bb80439
...
@@ -61,6 +61,7 @@ pom.xml.next
...
@@ -61,6 +61,7 @@ pom.xml.next
release.properties
release.properties
dependency-reduced-pom.xml
dependency-reduced-pom.xml
buildNumber.properties
buildNumber.properties
.flattened-pom.xml
### Java ###
### Java ###
...
...
pom.xml
View file @
5bb80439
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.6.4
</version>
<version>
2.6.4
</version>
<relativePath/>
</parent>
</parent>
<groupId>
cn.quantgroup
</groupId>
<groupId>
cn.quantgroup
</groupId>
...
@@ -17,6 +18,8 @@
...
@@ -17,6 +18,8 @@
<properties>
<properties>
<encoding.file>
UTF-8
</encoding.file>
<java.version>
1.8
</java.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<maven.test.skip>
true
</maven.test.skip>
<maven.test.skip>
true
</maven.test.skip>
...
@@ -36,6 +39,10 @@
...
@@ -36,6 +39,10 @@
<mysql.version>
8.0.27
</mysql.version>
<mysql.version>
8.0.27
</mysql.version>
<spring-kafka.version>
2.8.3
</spring-kafka.version>
<spring-kafka.version>
2.8.3
</spring-kafka.version>
<commons-lang3.version>
3.12.0
</commons-lang3.version>
<commons-lang3.version>
3.12.0
</commons-lang3.version>
<maven-compiler-plugin.version>
3.8.1
</maven-compiler-plugin.version>
<maven-deploy-plugin.version>
2.8.2
</maven-deploy-plugin.version>
<flatten-maven-plugin.version>
1.2.7
</flatten-maven-plugin.version>
</properties>
</properties>
<modules>
<modules>
...
@@ -77,65 +84,23 @@
...
@@ -77,65 +84,23 @@
<dependency>
<dependency>
<groupId>
cn.quantgroup
</groupId>
<groupId>
cn.quantgroup
</groupId>
<artifactId>
commons-spring
</artifactId>
<artifactId>
commons-spring
</artifactId>
<version>
${project.version}
</version>
<version>
${revision}
</version>
</dependency>
<dependency>
<groupId>
cn.quantgroup
</groupId>
<artifactId>
commons-core
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
cn.quantgroup
</groupId>
<artifactId>
shutdown-spring-boot-starter
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.quantgroup
</groupId>
<groupId>
cn.quantgroup
</groupId>
<artifactId>
brave-spring-boot-starter
</artifactId>
<artifactId>
brave-spring-boot-starter
</artifactId>
<version>
${
project.ver
sion}
</version>
<version>
${
revi
sion}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.quantgroup
</groupId>
<groupId>
cn.quantgroup
</groupId>
<artifactId>
idgenerator-spring-boot-starter
</artifactId>
<artifactId>
idgenerator-spring-boot-starter
</artifactId>
<version>
${
project.ver
sion}
</version>
<version>
${
revi
sion}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.quantgroup
</groupId>
<groupId>
cn.quantgroup
</groupId>
<artifactId>
enoch-agent-spring-boot-starter
</artifactId>
<artifactId>
enoch-agent-spring-boot-starter
</artifactId>
<version>
${project.version}
</version>
<version>
${revision}
</version>
</dependency>
<!-- zipkin -->
<dependency>
<groupId>
io.zipkin.reporter2
</groupId>
<artifactId>
zipkin-sender-kafka11
</artifactId>
<version>
${zipkin-kafka.version}
</version>
</dependency>
<dependency>
<groupId>
io.zipkin.brave
</groupId>
<artifactId>
brave-bom
</artifactId>
<version>
${brave.version}
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
<dependency>
<groupId>
io.zipkin.brave
</groupId>
<artifactId>
brave-context-slf4j
</artifactId>
<version>
${brave.version}
</version>
</dependency>
<dependency>
<groupId>
com.squareup.okhttp3
</groupId>
<artifactId>
okhttp
</artifactId>
<version>
${okhttp.version}
</version>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
transmittable-thread-local
</artifactId>
<version>
${transmittable-thread-local.version}
</version>
</dependency>
</dependency>
<!-- common spring -->
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
...
@@ -193,32 +158,101 @@
...
@@ -193,32 +158,101 @@
<version>
${commons-lang3.version}
</version>
<version>
${commons-lang3.version}
</version>
</dependency>
</dependency>
<!-- zipkin -->
<dependency>
<groupId>
io.zipkin.reporter2
</groupId>
<artifactId>
zipkin-sender-kafka11
</artifactId>
<version>
${zipkin-kafka.version}
</version>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<groupId>
io.zipkin.brave
</groupId>
<artifactId>
spring-cloud-starter
</artifactId>
<artifactId>
brave-bom
</artifactId>
<version>
${brave.version}
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
<dependency>
<groupId>
io.zipkin.brave
</groupId>
<artifactId>
brave-context-slf4j
</artifactId>
<version>
${brave.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.squareup.okhttp3
</groupId>
<artifactId>
okhttp
</artifactId>
<version>
${okhttp.version}
</version>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
transmittable-thread-local
</artifactId>
<version>
${transmittable-thread-local.version}
</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.cloud</groupId>-->
<!-- <artifactId>spring-cloud-starter</artifactId>-->
<!-- </dependency>-->
</dependencies>
</dependencies>
</dependencyManagement>
</dependencyManagement>
<!-- 部署时往公司私服上发包, 可以在网址上找到 其他项目引入该包的需要的 XML -->
<distributionManagement>
<distributionManagement>
<repository>
<repository>
<id>
R
eleases
</id>
<id>
qg-r
eleases
</id>
<name>
Releases Repository
</name>
<name>
Nexus
Releases Repository
</name>
<url>
http://repo.quantgroup.cn/nexus/content/repositories/lkb-releases/
</url>
<url>
http://repo.quantgroup.cn/nexus/content/repositories/lkb-releases/
</url>
</repository>
</repository>
<snapshotRepository>
<snapshotRepository>
<id>
S
napshots
</id>
<id>
qg-s
napshots
</id>
<name>
Snapshots Repository
</name>
<name>
Nexus
Snapshots Repository
</name>
<url>
http://repo.quantgroup.cn/nexus/content/repositories/lkb-snapshots/
</url>
<url>
http://repo.quantgroup.cn/nexus/content/repositories/lkb-snapshots/
</url>
</snapshotRepository>
</snapshotRepository>
</distributionManagement>
</distributionManagement>
<build>
<build>
<plugins>
<plugins>
<plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
${maven-compiler-plugin.version}
</version>
<configuration>
<source>
${java.version}
</source>
<target>
${java.version}
</target>
<encoding>
${encoding.file}
</encoding>
<compilerArgs>
<arg>
-Xlint:unchecked
</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-deploy-plugin
</artifactId>
<version>
${maven-deploy-plugin.version}
</version>
<configuration>
<skip>
false
</skip>
</configuration>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
flatten-maven-plugin
</artifactId>
<version>
${flatten-maven-plugin.version}
</version>
<configuration>
<updatePomFile>
true
</updatePomFile>
<flattenMode>
resolveCiFriendliesOnly
</flattenMode>
</configuration>
<executions>
<execution>
<id>
flatten
</id>
<phase>
process-resources
</phase>
<goals>
<goal>
flatten
</goal>
</goals>
</execution>
<execution>
<id>
flatten.clean
</id>
<phase>
clean
</phase>
<goals>
<goal>
clean
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</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