- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for locateExistingPom (0.25 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java
} @Deprecated @Override public File locateExistingPom(File project) { Path path = locateExistingPom(project != null ? project.toPath() : null); return path != null ? path.toFile() : null; } @Override public Path locateExistingPom(Path project) { if (project == null || Files.isDirectory(project)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java
* Returns the file containing the pom or null if a pom can not be found at the given file or in the given directory. * * @deprecated Use {@link #locateExistingPom(Path)} instead. */ @Deprecated default File locateExistingPom(File project) { Path path = locateExistingPom(project != null ? project.toPath() : null); return path != null ? path.toFile() : null; } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
} return pom; } @Deprecated @Override public File locateExistingPom(File projectDirectory) { Path path = locateExistingPom(projectDirectory.toPath()); return path != null ? path.toFile() : null; } @Override public Path locateExistingPom(Path projectDirectory) { // Note that the ModelProcessor#locatePom never returns null
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java
String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar); Path path = getPath().getParent().resolve(norm); Path relatedPom = locator.locateExistingPom(path); if (relatedPom != null) { return new PathSource(relatedPom); } return null; } @Override public boolean equals(Object o) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Sep 18 11:42:07 UTC 2024 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
* Returns the file containing the pom or null if a pom can not be * found at the given file or in the given directory. * * @since 4.0.0 */ @Nullable Path locateExistingPom(@Nonnull Path project); } @Nullable ModelSource resolve(@Nonnull ModelLocator modelLocator, @Nonnull String relative); @Nonnull static ModelSource fromPath(@Nonnull Path path) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 29 18:21:40 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java
relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar); Path path = getPath().getParent().resolve(relPath); Path relatedPom = locator.locateExistingPom(path); if (relatedPom != null) { return new FileModelSource(relatedPom.normalize()); } return null; } @Override public URI getLocationURI() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContext.java
return Holder.deref(modelByGA.get(new GAKey(groupId, artifactId))); } @Override public Path locate(Path path) { File file = modelLocator.locateExistingPom(path.toFile()); return file != null ? file.toPath() : null; } static class GAKey { private final String groupId; private final String artifactId;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0)