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-parent
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
framework
schbrain-parent
Commits
a065d494
Commit
a065d494
authored
May 13, 2023
by
liaozan
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update maven plugin settings
parent
5eac7d49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
68 deletions
+78
-68
pom.xml
pom.xml
+78
-68
No files found.
pom.xml
View file @
a065d494
...
...
@@ -77,7 +77,6 @@
<fastjson.version>
1.2.83
</fastjson.version>
<fastjson2.version>
2.0.31
</fastjson2.version>
<guava.version>
31.1-jre
</guava.version>
<guice.version>
5.1.0
</guice.version>
<hutool.version>
5.8.18
</hutool.version>
<jsr305.version>
3.0.2
</jsr305.version>
<logstash-logback-encoder.version>
7.3
</logstash-logback-encoder.version>
...
...
@@ -366,11 +365,6 @@
<artifactId>
guava
</artifactId>
<version>
${guava.version}
</version>
</dependency>
<dependency>
<groupId>
com.google.inject
</groupId>
<artifactId>
guice
</artifactId>
<version>
${guice.version}
</version>
</dependency>
<dependency>
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-all
</artifactId>
...
...
@@ -669,86 +663,102 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-resources-plugin
</artifactId>
<executions>
<execution>
<id>
copy-configuration-metadata
</id>
<phase>
compile
</phase>
<goals>
<goal>
copy-resources
</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>
${project.build.outputDirectory}/META-INF
</directory>
<includes>
<include>
spring-configuration-metadata.json
</include>
</includes>
<filtering>
true
</filtering>
</resource>
</resources>
<outputDirectory>
${project.basedir}/src/main/resources/META-INF
</outputDirectory>
<overwrite>
true
</overwrite>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<executions>
<execution>
<id>
source
</id>
<goals>
<goal>
jar-no-fork
</goal>
</goals>
<phase>
package
</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
flatten-maven-plugin
</artifactId>
<version>
${flatten-maven-plugin.version}
</version>
<executions>
<execution>
<id>
flatten
</id>
<goals>
<goal>
flatten
</goal>
</goals>
<phase>
process-resources
</phase>
<configuration>
<updatePomFile>
true
</updatePomFile>
<outputDirectory>
${project.build.directory}
</outputDirectory>
<flattenMode>
resolveCiFriendliesOnly
</flattenMode>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-enforcer-plugin
</artifactId>
<executions>
<execution>
<id>
enforce-java
</id>
<goals>
<goal>
enforce
</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>
${java.version}
</version>
<message>
需要 Java${java.version} 及以上的版本, 请检查 Java 版本设置
</message>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-resources-plugin
</artifactId>
<executions>
<execution>
<id>
copy-configuration-metadata
</id>
<phase>
compile
</phase>
<goals>
<goal>
copy-resources
</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>
${project.build.outputDirectory}/META-INF
</directory>
<includes>
<include>
spring-configuration-metadata.json
</include>
</includes>
<filtering>
true
</filtering>
</resource>
</resources>
<outputDirectory>
${project.basedir}/src/main/resources/META-INF
</outputDirectory>
<overwrite>
true
</overwrite>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<executions>
<execution>
<id>
source
</id>
<goals>
<goal>
jar-no-fork
</goal>
</goals>
<phase>
package
</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
flatten-maven-plugin
</artifactId>
<version>
${flatten-maven-plugin.version}
</version>
<executions>
<execution>
<id>
flatten
</id>
<goals>
<goal>
flatten
</goal>
</goals>
<phase>
process-resources
</phase>
<configuration>
<updatePomFile>
true
</updatePomFile>
<outputDirectory>
${project.build.directory}
</outputDirectory>
<flattenMode>
resolveCiFriendliesOnly
</flattenMode>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-enforcer-plugin
</artifactId>
<executions>
<execution>
<id>
enforce-java
</id>
<goals>
<goal>
enforce
</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>
${java.version}
</version>
<message>
需要 Java${java.version} 及以上的版本, 请检查 Java 版本设置
</message>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</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