- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for artifactMapByVersionlessId (0.35 sec)
-
maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java
list.add(newArtifact("a")); list.add(newArtifact("c")); list.add(newArtifact("e")); list.add(newArtifact("d")); Map<String, Artifact> map = ArtifactUtils.artifactMapByVersionlessId(list); assertNotNull(map); assertEquals(list, new ArrayList<>(map.values())); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.9K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
return; } } } throw new IllegalArgumentException(message); } public static Map<String, Artifact> artifactMapByVersionlessId(Collection<Artifact> artifacts) { Map<String, Artifact> artifactMap = new LinkedHashMap<>(); if (artifacts != null) { for (Artifact artifact : artifacts) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 06 08:51:18 UTC 2023 - 6.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
} } return artifacts; } public Map<String, Artifact> getArtifactMap() { if (artifactMap == null) { artifactMap = ArtifactUtils.artifactMapByVersionlessId(getArtifacts()); } return artifactMap; } public void setPluginArtifacts(Set<Artifact> pluginArtifacts) { this.pluginArtifacts = pluginArtifacts;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Mar 01 17:18:13 UTC 2024 - 56.6K bytes - Viewed (0) -
maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Apr 14 17:14:22 UTC 2024 - 16.2K bytes - Viewed (0)