- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 65 for getScopes (0.11 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
String s1 = ArtifactScopeEnum.checkScope(md.artifactScope) .getScope(); String s2 = ArtifactScopeEnum.checkScope(vmd.artifactScope) .getScope(); return s1.compareTo(s2); } else { return 0;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
if (dependency == null) { return null; } org.apache.maven.artifact.Artifact result = toArtifact(dependency.getArtifact()); result.setScope(dependency.getScope()); result.setOptional(dependency.isOptional()); return result; } public static org.apache.maven.artifact.Artifact toArtifact(Artifact artifact) { if (artifact == null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java
import static java.util.Objects.requireNonNull; /** * * @since 4.0.0 */ @Experimental @Immutable public interface DependencyCoordinatesFactoryRequest extends ArtifactCoordinatesFactoryRequest { String getScope(); boolean isOptional(); @Nonnull Collection<Exclusion> getExclusions(); @Nonnull static DependencyCoordinatesFactoryRequest build( @Nonnull Session session,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
dependency.getArtifactId(), dependency.getVersion(), dependency.getScope(), dependency.getType(), dependency.getClassifier(), new TestArtifactHandler(dependency.getType())); if (Artifact.SCOPE_SYSTEM.equals(dependency.getScope())) { artifact.setFile(new File(dependency.getSystemPath())); artifact.setResolved(true);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 12K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java
* For a given dependency, the scope is directly derived from the * {@link org.apache.maven.api.model.Dependency#getScope()} and will be used when using {@link PathScope} * and the {@link org.apache.maven.api.services.DependencyResolver}. * * @since 4.0.0 * @see org.apache.maven.api.model.Dependency#getScope() * @see org.apache.maven.api.services.DependencyResolver */ @Experimental @Immutable public enum DependencyScope {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 19 14:33:26 GMT 2025 - 4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 7.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
} public String getUri() { return uri; } public void setUri(String uri) { this.uri = uri; } public String getScope() { return getArtifactScope().getScope(); } public ArtifactScopeEnum getScopeAsEnum() { return artifactScope == null ? ArtifactScopeEnum.DEFAULT_SCOPE : artifactScope; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertNotNull(entry1); assertNotNull(entry2); assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry1.getScope()); assertEquals(DirectoryCacheScope.RECURSIVE_TREE, entry2.getScope()); // Update first directory cache List<SmbFile> files1 = Arrays.asList(mockFile1); directoryLeaseManager.updateDirectoryCache(dir1, files1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/jcifs/NetbiosName.java
* Returns the NetBIOS name. * * @return the name */ String getName(); /** * Returns the NetBIOS scope identifier. * * @return the scope id */ String getScope(); /** * Returns the NetBIOS name type. * * @return the name type */ int getNameType();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
} /** * check ut.simple:artifact:1.0 dependencies */ private void checkUtSimpleArtifactDependencies(Dependency dep1, Dependency dep2) { assertEquals("compile", dep1.getScope()); assertFalse(dep1.isOptional(), "Expected " + dep1 + ".isOptional() to return false"); assertEquals(0, dep1.getExclusions().size()); Artifact depArtifact = dep1.getArtifact();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.5K bytes - Click Count (0)