- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 50 for setScope (0.12 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
Exclusion exclusion) { Dependency d = new Dependency(); d.setGroupId(groupId); d.setArtifactId(artifactId); d.setVersion(version); d.setScope(scope); if (systemPath != null && scope.equals(Artifact.SCOPE_SYSTEM)) { d.setSystemPath(systemPath); } if (exclusion != null) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
// scoped graph is versioned by definition if (scopedVertices) { versionedVertices = true; } } public ArtifactScopeEnum getScope() { return scope; } public void setScope(ArtifactScopeEnum scope) { this.scope = scope; } // ------------------------------------------------------------------------ public boolean isEmpty() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 13K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} @Override public void setDependencyTrail(List<String> dependencyTrail) { this.dependencyTrail = dependencyTrail; } @Override public void setScope(String scope) { this.scope = scope; } @Override public VersionRange getVersionRange() { return versionRange; } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 14.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
} if ((artifact.getScope() != null) && (!node.isChildOfRootNode() || node.getArtifact().getScope() == null)) { fireEvent(ResolutionListener.MANAGE_ARTIFACT_SCOPE, listeners, node, artifact); node.getArtifact().setScope(artifact.getScope()); } if (Artifact.SCOPE_SYSTEM.equals(node.getArtifact().getScope())
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
* Gets the cache scope (ALL or IMMEDIATE_CHILDREN) * @return the cache scope */ public DirectoryCacheScope getScope() { return scope; } /** * Sets the cache scope for this directory cache * @param scope the cache scope to set */ public void setScope(DirectoryCacheScope scope) { this.scope = scope; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
} @Test @DisplayName("Should handle getScope() method") void testGetScope() { // Given String testScope = "WORKGROUP"; when(mockNetbiosName.getScope()).thenReturn(testScope); // When String scope = mockNetbiosName.getScope(); // Then assertEquals(testScope, scope); verify(mockNetbiosName).getScope(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
System.out.println("b = " + artifact.getScope()); assertEquals("test", artifact.getScope(), "Check scope"); artifact = getArtifact(project, "maven-test-test", "scope-default"); assertEquals("test", artifact.getScope(), "Check scope"); artifact = getArtifact(project, "maven-test-test", "scope-runtime"); assertEquals("test", artifact.getScope(), "Check scope");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java
public void manageArtifactScope(Artifact artifact, Artifact replacement) { // only show msg if a change is actually taking place if (!replacement.getScope().equals(artifact.getScope())) { String msg = indent + artifact + " (applying artifactScope: " + replacement.getScope() + ")"; logger.debug(msg); } } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java
assertEquals("system", artifact.getScope()); assertEquals("system", artifact2.getScope()); assertEquals("system", artifact3.getScope()); assertEquals("system", artifact4.getScope()); assertEquals("system", artifact5.getScope()); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
when(mockCalledName.getNameType()).thenReturn(0x20); when(mockCalledName.getScope()).thenReturn(null); when(mockCallingName.getName()).thenReturn("CLIENT"); when(mockCallingName.getNameType()).thenReturn(0x00); when(mockCallingName.getScope()).thenReturn(null); SessionRequestPacket packet = new SessionRequestPacket(mockConfig, mockCalledName, mockCallingName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)