You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/02/14 10:54:05 UTC
[maven] 15/18: RAW models are not queried by GAV anymore,
so no need to store them that way
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch MNG-7063
in repository https://gitbox.apache.org/repos/asf/maven.git
commit 76ec9aebdb9e1dc681b9fc5472b11e9d76056240
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Mon Nov 30 14:00:02 2020 +0100
RAW models are not queried by GAV anymore, so no need to store them that way
---
.../main/java/org/apache/maven/model/building/DefaultModelBuilder.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
index d8292f5..83fe686 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
@@ -773,7 +773,6 @@ public class DefaultModelBuilder
String version = getVersion( rawModel );
ModelData modelData = new ModelData( modelSource, rawModel, groupId, artifactId, version );
- intoCache( request.getModelCache(), groupId, artifactId, version, ModelCacheTag.RAW, modelData );
intoCache( request.getModelCache(), modelSource, ModelCacheTag.RAW, modelData );
return rawModel;