- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for exists (0.18 sec)
-
maven-core/src/main/java/org/apache/maven/ReactorReader.java
// No project, but most certainly a dependency which has been built previously File packagedArtifactFile = findInProjectLocalRepository(artifact); if (packagedArtifactFile != null && packagedArtifactFile.exists()) { return packagedArtifactFile; } return null; } public List<String> findVersions(Artifact artifact) { List<String> versions = getProjects()
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 21.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
protected ActivationFile.Builder transformActivationFile_Exists( Supplier<? extends ActivationFile.Builder> creator, ActivationFile.Builder builder, ActivationFile target) { final String path = target.getExists(); final String xformed = transformPath(path, target, "exists");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java
Map.Entry<Artifact, Path> res = session.resolveArtifact(coord); assertNotNull(res); assertNotNull(res.getValue()); assertTrue(Files.exists(res.getValue())); Node node = session.collectDependencies(session.createDependencyCoordinate(coord)); assertNotNull(node); assertEquals(8, node.getChildren().size()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
*/ @Nonnull Optional<Path> getArtifactPath(@Nonnull Artifact artifact); /** * Gets the relative path for a locally installed artifact. Note that the artifact need not actually exist yet at * the returned location, the path merely indicates where the artifact would eventually be stored. * <p> * Shortcut for {@code getService(LocalArtifactManager.class).getPathForLocalArtitact(...)}. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 30.2K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
// System scoped version which should // d.setScope(Artifact.SCOPE_SYSTEM); File file = new File(getBasedir(), "src/test/repository-system/maven-core-2.1.0.jar"); assertTrue(file.exists()); d.setSystemPath(file.getCanonicalPath()); artifact = repositorySystem.createDependencyArtifact(d); //
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 8.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java
public boolean isMerged() { return merged; } protected abstract void merge(Metadata recessive); static Metadata read(Path metadataPath) throws RepositoryException { if (!Files.exists(metadataPath)) { return Metadata.newInstance(); } try (InputStream input = Files.newInputStream(metadataPath)) { return new MetadataStaxReader().read(input, false);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 4.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
ModelProblem problem = new org.apache.maven.internal.impl.model.DefaultModelProblem( "Child module " + moduleFile + " of " + pomFile + " does not exist", ModelProblem.Severity.ERROR, ModelProblem.Version.BASE, model, -1,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 56.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
@Override protected ActivationFile.Builder transformActivationFile_Exists( Supplier<? extends ActivationFile.Builder> creator, ActivationFile.Builder builder, ActivationFile target) { stk.push(nextFrame("exists")); try { return super.transformActivationFile_Exists(creator, builder, target); } finally { stk.pop();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 13:13:07 GMT 2024 - 73.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
requireNonNull(source, "source is null"); requireNonNull(relativeTarget, "relativeTarget is null"); if (Files.isRegularFile(source)) { throw new IllegalArgumentException("source file does not exist or is not a file"); } if (relativeTarget.isAbsolute()) { throw new IllegalArgumentException("Supplied URI is not relative"); } URI target = baseURI.resolve(relativeTarget);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 5.3K bytes - Viewed (0)