Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 681 for resolve (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

         */
        Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
         * Resolves the transitive dependencies of the specified project.
         *
         * @param project         The project whose dependencies should be resolved, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException;
    import org.apache.maven.artifact.resolver.ResolutionErrorHandler;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java

        /**
         * Resolves the specified path against the given base directory. The resolved path will be absolute and uses the
         * platform-specific file separator if a base directory is given. Otherwise, the input path will be returned
         * unaltered.
         *
         * @param path The path to resolve, may be {@code null}.
         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

            }
            return resolve(request);
        }
    
        @Nonnull
        default DependencyResolverResult resolve(@Nonnull Session session, @Nonnull Project project) {
            return resolve(
                    DependencyResolverRequest.build(session, DependencyResolverRequest.RequestType.RESOLVE, project));
        }
    
        @Nonnull
        default DependencyResolverResult resolve(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * Shortcut for {@code getService(VersionResolver.class).resolve(...)}
         *
         * @param artifact the artifact for which to resolve the version
         * @return resolved version of the given artifact
         * @throws org.apache.maven.api.services.VersionResolverException if the resolution failed
         *
         * @see org.apache.maven.api.services.VersionResolver#resolve(Session, ArtifactCoordinates) (String)
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // The root artifact may, or may not be resolved so we need to check before we attempt to resolve.
            // This is often an artifact like a POM that is taken from disk and we already have hold of the
            // file reference. But this may be a Maven Plugin that we need to resolve from a remote repository
            // as well as its dependencies.
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

                                                         exclusion );
    
            Set<Artifact> artifactDependencies =
                resolver.resolve( project, Collections.singleton( Artifact.SCOPE_COMPILE ), session );
            assertEquals( 0, artifactDependencies.size() );
    
            artifactDependencies = resolver.resolve( project, Collections.singleton( Artifact.SCOPE_RUNTIME ), session );
            assertEquals( 1, artifactDependencies.size() );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

         *             parameter {@code coordinates} is {@code null} or invalid
         */
        default ArtifactResolverResult resolve(Session session, Collection<? extends ArtifactCoordinates> coordinates) {
            return resolve(ArtifactResolverRequest.build(session, coordinates));
        }
    
        /**
         * Resolves several artifacts from their coordinates.
         *
         * @param session {@link Session}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

            Path mavenConf = mavenHome.resolve("conf");
            Files.createDirectories(mavenConf);
            Path mavenUserProps = mavenConf.resolve("maven.properties");
            Files.writeString(mavenUserProps, "${includes} = ?\"${user.home}/maven.properties\"\n");
            Path userDirectory = fs.getPath("/user");
            Files.createDirectories(userDirectory);
            Path propsPath = userDirectory.resolve("maven.properties");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

        default VersionRangeResolverResult resolve(
                @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates)
                throws VersionResolverException {
            return resolve(VersionRangeResolverRequest.build(session, artifactCoordinates));
        }
    
        /**
         * Expands a version range to a list of matching versions, in ascending order.
         * For example, resolves "[3.8,4.0)" to "3.8", "3.8.1", "3.8.2".
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top