Polishing.

Switch from maven.deploy.skip to plugin-based configuration to avoid the Artifactory plugin skipping the deployment.

See #1927
This commit is contained in:
Mark Paluch
2023-02-20 09:32:03 +01:00
parent 00221a4f9c
commit 0837996141

View File

@@ -274,7 +274,6 @@
<maven.test.skip>true</maven.test.skip>
<aspectj.skip>true</aspectj.skip>
<maven.install.skip>true</maven.install.skip>
<maven.deploy.skip>true</maven.deploy.skip>
<skipTests>true</skipTests>
</properties>
@@ -302,6 +301,14 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!--
Unpacks the content of spring-data-build-resources into the shared resources folder.
-->
@@ -559,7 +566,6 @@
<maven.test.skip>true</maven.test.skip>
<aspectj.skip>true</aspectj.skip>
<maven.install.skip>true</maven.install.skip>
<maven.deploy.skip>true</maven.deploy.skip>
<skipTests>true</skipTests>
</properties>
@@ -587,6 +593,14 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!--
Unpacks the content of spring-data-build-resources into the shared resources folder.
-->
@@ -1055,7 +1069,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M2</version>
<version>3.1.0</version>
</plugin>
<plugin>