- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 62 for getLocation (0.23 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java
* value is undefined. * * @return the location of the problem, never {@code null} */ @Nonnull String getLocation(); /** * Gets the exception that caused this problem (if any). * * @return the exception that caused this problem or {@code null} if not applicable */ @NullableCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 3.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
* <li>Description: {@code <memory>} or {@code <database>}</li> * </ul> * * @return a non-null string describing the source location */ @Nonnull String getLocation(); /** * Resolves a new source relative to this one. * <p> * The resolution strategy depends on the source type: * <ul> * <li>File sources resolve against their parent directory</li>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 29 09:46:53 GMT 2025 - 4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
@Nonnull public InputStream openStream() throws IOException { return Files.newInputStream(path); } @Override @Nonnull public String getLocation() { return location; } @Override @Nullable public Source resolve(@Nonnull String relative) { return new PathSource(path.resolve(relative));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
@Override public InputStream openStream() throws IOException { return Files.newInputStream(actual); } @Override public String getLocation() { return actual.toString(); } @Override public Source resolve(String relative) { return Sources.buildSource(actual.resolve(relative));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 8.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
params.setIsRuntimeJavaHomeSet(Jvm.current().getJavaHome().equals(runtimeJavaHome) == false); JvmInstallationMetadata runtimeJdkMetaData = metadataDetector.getMetadata(getJavaInstallation(runtimeJavaHome).getLocation()); params.setRuntimeJavaDetails(formatJavaVendorDetails(runtimeJdkMetaData)); params.setJavaVersions(getAvailableJavaVersions()); params.setMinimumCompilerVersion(minimumCompilerVersion);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
</field> </fields> <codeSegments> <codeSegment> <version>1.2.0+</version> <code> @Override public String toString() { return getLocation(); } </code> </codeSegment> </codeSegments> </class> </classes>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 9.5K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
Source src = mock(Source.class); IOException ioException = new IOException("MESSAGE"); doThrow(ioException).when(src).getInputStream(); doReturn("LOCATION").when(src).getLocation(); ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest(); request.setGlobalToolchainsSource(src); try { toolchainBuilder.build(request);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
source.setModelId(ModelProblemUtils.toId(model)); source.setLocation(modelSource.getLocation()); } } catch (ModelParseException e) { problems.add(new ModelProblemCollectorRequest(Severity.FATAL, Version.BASE) .setMessage("Non-parseable POM " + modelSource.getLocation() + ": " + e.getMessage()) .setException(e));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
problems.add(new ModelProblemCollectorRequest(severity, version) .setMessage(buffer.toString()) .setLocation(getLocation(fieldName, tracker))); // CHECKSTYLE_ON: LineLength } private static InputLocation getLocation(String fieldName, InputLocationTracker tracker) { InputLocation location = null; if (tracker != null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
slf4jLogger.warn("{} @ {}", problem.getMessage(), problem.getLocation()); } slf4jLogger.warn(""); } } private Object getLocation(Source source, File defaultLocation) { if (source != null) { return source.getLocation(); } return defaultLocation; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0)