You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2023/02/13 10:30:19 UTC
[maven-build-cache-extension] branch master updated: [MBUILDCACHE-40] Upgrade to released maven 3.9.0
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-build-cache-extension.git
The following commit(s) were added to refs/heads/master by this push:
new 8922b8c [MBUILDCACHE-40] Upgrade to released maven 3.9.0
8922b8c is described below
commit 8922b8c81523e57f07563bc32a2e0aefffae89e7
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Mon Feb 13 11:11:47 2023 +0100
[MBUILDCACHE-40] Upgrade to released maven 3.9.0
---
pom.xml | 2 +-
src/main/java/org/apache/maven/buildcache/xml/CacheConfigImpl.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index c7e0d79..94d0c5a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -486,7 +486,7 @@ under the License.
<profile>
<id>maven3</id>
<properties>
- <mavenVersion>3.9.0-SNAPSHOT</mavenVersion>
+ <mavenVersion>3.9.0</mavenVersion>
<maven.dir>maven3</maven.dir>
<maven.basedir>${project.build.directory}/${maven.dir}</maven.basedir>
</properties>
diff --git a/src/main/java/org/apache/maven/buildcache/xml/CacheConfigImpl.java b/src/main/java/org/apache/maven/buildcache/xml/CacheConfigImpl.java
index f3d786f..f1b06be 100644
--- a/src/main/java/org/apache/maven/buildcache/xml/CacheConfigImpl.java
+++ b/src/main/java/org/apache/maven/buildcache/xml/CacheConfigImpl.java
@@ -130,7 +130,7 @@ public class CacheConfigImpl implements org.apache.maven.buildcache.xml.CacheCon
{
final String enabled = getProperty( CACHE_ENABLED_PROPERTY_NAME, "true" );
- if ( !rtInfo.isMavenVersion( "[3.9.0-SNAPSHOT,)" ) )
+ if ( !rtInfo.isMavenVersion( "[3.9.0,)" ) )
{
LOGGER.warn( "Cache requires Maven >= 3.9, but version is " + rtInfo.getMavenVersion()
+ ". Disabling cache." );