Skip to content

Commit

Permalink
⚡ Commit content:
Browse files Browse the repository at this point in the history
- 解决一些不友好的配置
  • Loading branch information
tonycody committed Oct 25, 2023
1 parent a538250 commit 74bb068
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@
</developer>
</developers>

<prerequisites>
<maven>3.8.1</maven>
</prerequisites>

<modules>
<module>x-file-storage-spring</module>
<module>x-file-storage-core</module>
Expand All @@ -64,6 +60,7 @@
<properties>
<revision>2.1.0-SNAPSHOT</revision>
<!--region Maven Base-->
<maven.version>3.8.1</maven.version>
<java.version>8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
Expand Down Expand Up @@ -106,6 +103,7 @@
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
<maven-enforcer-plugin.version>3.3.0</maven-enforcer-plugin.version>
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<!--endregion-->
</properties>

Expand Down Expand Up @@ -278,6 +276,9 @@
<requireJavaVersion>
<version>${java.version}</version>
</requireJavaVersion>
<requireMavenVersion>
<version>${maven.version}</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
Expand All @@ -290,9 +291,6 @@
<configuration>
<flattenMode>oss</flattenMode>
<updatePomFile>true</updatePomFile>
<!-- <pomElements>-->
<!-- <repositories>remove</repositories>-->
<!-- </pomElements>-->
<outputDirectory>${project.build.directory}/.flattened</outputDirectory>
</configuration>
<executions>
Expand All @@ -312,6 +310,10 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
Expand Down Expand Up @@ -354,7 +356,6 @@
</distributionManagement>
<build>
<plugins>

<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -370,7 +371,6 @@
</execution>
</executions>
</plugin>

<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
6 changes: 6 additions & 0 deletions x-file-storage-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@
<artifactId>bce-java-sdk</artifactId>
<scope>provided</scope>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- WebDAV -->
<dependency>
Expand Down
1 change: 1 addition & 0 deletions x-file-storage-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 74bb068

Please sign in to comment.