- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 77 for getSource (0.29 seconds)
-
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 */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 3.6K bytes - Click Count (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()
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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy
import javax.inject.Inject @CacheableTask abstract class Docbook2Xhtml extends SourceTask { @Override @PathSensitive(PathSensitivity.RELATIVE) FileTree getSource() { return super.getSource() } @PathSensitive(PathSensitivity.RELATIVE) @InputDirectory abstract DirectoryProperty getStylesheetDirectory(); @PathSensitive(PathSensitivity.RELATIVE) @InputFilesCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 04 07:24:54 GMT 2024 - 4.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.6K bytes - Click Count (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)); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.4K 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) -
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 objectCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 4.4K bytes - Click Count (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 += ", ";
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jul 26 19:15:57 GMT 2025 - 6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java
* * @return The hint about the source of the problem or an empty string if unknown, never {@code null}. */ 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. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals("", problem.getSource()); problem = new DefaultProblem(null, null, "", -1, -1, null); assertEquals("", problem.getSource()); problem = new DefaultProblem(null, null, "SOURCE", -1, -1, null); assertEquals("SOURCE", problem.getSource()); } @Test void testGetLocation() {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.9K bytes - Click Count (0)