Upgrade to artifactory-maven-plugin 3.5.1.

Also, 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-17 14:16:46 +01:00
parent 468a0c258e
commit 15c0398317
2 changed files with 19 additions and 5 deletions

View File

@@ -338,7 +338,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>
@@ -373,6 +372,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.
-->
@@ -677,7 +684,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>
@@ -705,6 +711,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.
-->
@@ -1068,7 +1082,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>
@@ -1128,7 +1142,7 @@
<plugin>
<groupId>org.jfrog.buildinfo</groupId>
<artifactId>artifactory-maven-plugin</artifactId>
<version>3.4.0</version>
<version>3.5.1</version>
</plugin>
</plugins>

View File

@@ -132,7 +132,7 @@
<plugin>
<groupId>org.jfrog.buildinfo</groupId>
<artifactId>artifactory-maven-plugin</artifactId>
<version>3.4.0</version>
<version>3.5.1</version>
<executions>
<execution>
<id>build-info</id>