- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for resolveConflicts (0.17 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java
} if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathCompile)) { return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.compile); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathRuntime)) { return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.runtime); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathTest)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java
// ------------------------------------------------------------------------------------------ @Test void testCompileResolution() throws Exception { MetadataGraph res; res = resolver.resolveConflicts(graph, ArtifactScopeEnum.compile); assertNotNull(res, "null graph after resolver"); assertNotNull(res.getVertices(), "no vertices in the resulting graph after resolver");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java
try { if (dirtyGraph == null || dirtyGraph.isEmpty()) { return null; } MetadataGraph cleanGraph = conflictResolver.resolveConflicts(dirtyGraph, scope); if (cleanGraph == null || cleanGraph.isEmpty()) { return null; } ClasspathContainer cpc = new ClasspathContainer(scope);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
// ------------------------------------------------------------------------------------- // ------------------------------------------------------------------------------------- public MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope) throws GraphConflictResolutionException { if (policy == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolver.java
/* * @see org.apache.maven.artifact.resolver.conflict.ConflictResolver#resolveConflict(org.apache.maven.artifact.resolver.ResolutionNode, * org.apache.maven.artifact.resolver.ResolutionNode) */ public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) { return node1.getDepth() <= node2.getDepth() ? node1 : node2; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolver.java
/* * @see org.apache.maven.artifact.resolver.conflict.ConflictResolver#resolveConflict(org.apache.maven.artifact.resolver.ResolutionNode, * org.apache.maven.artifact.resolver.ResolutionNode) */ public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) { return node1.getDepth() >= node2.getDepth() ? node1 : node2; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java
/* * @see org.apache.maven.artifact.resolver.conflict.ConflictResolver#resolveConflict(org.apache.maven.artifact.resolver.ResolutionNode, * org.apache.maven.artifact.resolver.ResolutionNode) */ public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) { try { ArtifactVersion version1 = node1.getArtifact().getSelectedVersion();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java
/* * @see org.apache.maven.artifact.resolver.conflict.ConflictResolver#resolveConflict(org.apache.maven.artifact.resolver.ResolutionNode, * org.apache.maven.artifact.resolver.ResolutionNode) */ public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) { try { ArtifactVersion version1 = node1.getArtifact().getSelectedVersion();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
} protected void assertResolveConflict( ResolutionNode expectedNode, ResolutionNode actualNode1, ResolutionNode actualNode2) { ResolutionNode resolvedNode = getConflictResolver().resolveConflict(actualNode1, actualNode2); assertNotNull(resolvedNode, "Expected resolvable"); assertEquals(expectedNode, resolvedNode, "Resolution node"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0)