- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for getSource (0.05 seconds)
-
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
this.lineNumber = location.getLineNumber(); this.columnNumber = location.getColumnNumber(); this.source = location.getSource() != null ? new InputSource(location.getSource()) : null; this.locations = location.getLocations().isEmpty() ? null : location.getLocations().entrySet().stream()
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 13.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
assertNotNull( location.getSource(), "Profile location source should not be null for profile: " + profile.getId()); assertTrue( location.getSource().getLocation().contains("pom-with-profiles/pom.xml"), "Profile location should contain 'pom-with-profiles/pom.xml', but was: " + location.getSource().getLocation() + " for profile: " + profile.getId());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 33.7K bytes - Click Count (0) -
cmd/namespace-lock.go
opsID string } // Lock - block until write lock is taken or timeout has occurred. func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) { lockSource := getSource(2) start := UTCNow() newCtx, cancel := context.WithCancel(ctx) if !di.rwMutex.GetLock(newCtx, cancel, di.opsID, lockSource, dsync.Options{ Timeout: timeout.Timeout(),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
/** * The repositories specified in the request have precedence over the repositories declared in the POM. */ REQUEST_DOMINANT, } @Nonnull ModelSource getSource(); @Nonnull RequestType getRequestType(); boolean isLocationTracking(); boolean isRecursive(); /** * Defines external profiles that may be activated for the given model.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 16.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
* a model source such as a string or input stream. * * @return an optional containing the source of the project, or empty if not specified */ @Nonnull Optional<Source> getSource(); /** * Determines whether a stub model should be allowed when the POM is missing or unreadable. * A stub model contains only minimal information derived from the project's coordinates. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 11.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
String projectId = extractProjectId(r); File sourcePomFile = r.getSource() != null && r.getSource().getPath() != null ? r.getSource().getPath().toFile() : null; results.add(new DefaultProjectBuildingResult(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 51.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java
} return List.copyOf(selectedExtensions.values()); } protected String formatLocation(InputLocation location) { return location.getSource().getLocation() + ":" + location.getLineNumber(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 15:32:43 GMT 2025 - 4.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java
/** * Gets the source from which the model was read. * * @return The source from which the model was read, never {@code null}. */ @Nonnull ModelSource getSource(); /** * Gets the file model. * * @return the file model, never {@code null}. */ @Nonnull Model getFileModel(); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 4.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
cache[key] ?: return null } catch (_: IOException) { return null // Give up because the cache cannot be read. } val entry: Entry = try { Entry(snapshot.getSource(ENTRY_METADATA)) } catch (_: IOException) { snapshot.closeQuietly() return null } val response = entry.response(snapshot) if (!entry.matches(request, response)) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 17:41:45 GMT 2025 - 26.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java
public ModelBuilderRequest getRequest() { return null; } // Other required methods with minimal implementations @Override public ModelSource getSource() { return new ModelSource() { @Override public Path getPath() { return Paths.get("test-pom.xml"); } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 7.5K bytes - Click Count (0)