- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 137 for getResource (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java
* @return the hint about the source of the problem or an empty string if unknown, never {@code null} */ @Nonnull String getSource(); /** * Gets the one-based index of the line containing the problem. The line number should refer to some text file that * is given by {@link #getSource()}. * * @return the one-based index of the line containing the problem or a non-positive value if unknown */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 3.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
assertThrows( ConflictingRequirementsException.class, () -> buildTesterRequirements(Tester.class)); assertThat(e.getConflicts()).containsExactly(FOO); assertThat(e.getSource()).isEqualTo(Tester.class.getAnnotation(Require.class)); } public void testBuildTesterRequirements_classClassConflict_inherited() { @Require(FOO) abstract class BaseTester {} @Require(absent = FOO)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 11.6K bytes - Viewed (0) -
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()
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 13.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 4.6K bytes - Viewed (0) -
cmd/namespace-lock_test.go
// following test. Adding new code before this test or changing its // position will cause the line number to change and the test to FAIL // Tests getSource(). func TestGetSource(t *testing.T) { currentSource := func() string { return getSource(2) } gotSource := currentSource() // Hard coded line number, 34, in the "expectedSource" value expectedSource := "[namespace-lock_test.go:34:TestGetSource()]"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java
return read(in, isStrict(options), getSource(options)); } } @Override public Model read(InputStream input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (XmlStreamReader in = ReaderFactory.newXmlReader(input)) { return read(in, isStrict(options), getSource(options)); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 3.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
@OutputFile abstract RegularFileProperty getDestinationFile(); /** * {@inheritDoc} */ @Override @PathSensitive(PathSensitivity.NAME_ONLY) FileTree getSource() { return super.getSource(); } @TaskAction def extract() { Date start = new Date() //parsing all input files into metadata //and placing them in the repository objectRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 4.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java
buffer.append(problem.getMessage()); String location = ""; if (!problem.getSource().trim().isEmpty()) { location = problem.getSource(); } if (problem.getLineNumber() > 0) { if (!location.isEmpty()) { location += ", ";
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jul 26 19:15:57 UTC 2025 - 6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
build.setTestSourceDirectory(alignToBaseDirectory(build.getTestSourceDirectory(), basedir)); for (Resource resource : build.getResources()) { resource.setDirectory(alignToBaseDirectory(resource.getDirectory(), basedir)); } for (Resource resource : build.getTestResources()) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.2K bytes - Viewed (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());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 33.7K bytes - Viewed (0)