Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ArtifactResolutionRequest (0.25 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

        private boolean forceUpdate;
    
        private List<Server> servers;
    
        private List<Mirror> mirrors;
    
        private List<Proxy> proxies;
    
        public ArtifactResolutionRequest() {
            // nothing here
        }
    
        public ArtifactResolutionRequest(RepositoryRequest request) {
            setLocalRepository(request.getLocalRepository());
            setRemoteRepositories(request.getRemoteRepositories());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            d.setArtifactId("b");
            d.setVersion("0.1");
            d.setScope(Artifact.SCOPE_COMPILE);
            Artifact artifact = repositorySystem.createDependencyArtifact(d);
    
            ArtifactResolutionRequest request = new ArtifactResolutionRequest()
                    .setArtifact(artifact)
                    .setResolveRoot(true)
                    .setResolveTransitively(true)
                    .setRemoteRepositories(getRemoteRepositories())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            collectionScopeFilter = new CumulativeScopeArtifactFilter(collectionScopeFilter, resolutionScopeFilter);
    
            ArtifactResolutionRequest request = new ArtifactResolutionRequest()
                    .setResolveRoot(false)
                    .setResolveTransitively(true)
                    .setCollectionFilter(collectionScopeFilter)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/DefaultMetadataResolutionRequest.java

    import org.apache.maven.artifact.repository.DefaultRepositoryRequest;
    import org.apache.maven.artifact.repository.RepositoryRequest;
    import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
    
    /**
     * Forms a request to retrieve artifact metadata.
     *
     */
    @Deprecated
    public class DefaultMetadataResolutionRequest implements MetadataResolutionRequest {
    
        private Artifact artifact;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/LegacyArtifactCollector.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.artifact.resolver.ResolutionListener;
    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionErrorHandler.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    /**
     */
    @Deprecated
    public interface ResolutionErrorHandler {
    
        void throwErrors(ArtifactResolutionRequest request, ArtifactResolutionResult result)
                throws ArtifactResolutionException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

    import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    import org.apache.maven.artifact.resolver.ArtifactResolutionRequest;
    import org.apache.maven.artifact.resolver.ArtifactResolutionResult;
    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.Plugin;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

    import java.util.Collection;
    import java.util.List;
    
    /**
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultResolutionErrorHandler implements ResolutionErrorHandler {
    
        public void throwErrors(ArtifactResolutionRequest request, ArtifactResolutionResult result)
                throws ArtifactResolutionException {
            // Metadata cannot be found
    
            if (result.hasMetadataResolutionExceptions()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java

    /**
     */
    // Just hide the one method we want behind the RepositorySystem interface.
    @Deprecated
    public interface ArtifactResolver {
    
        ArtifactResolutionResult resolve(ArtifactResolutionRequest request);
    
        // The rest is deprecated
        // USED BY MAVEN ASSEMBLY PLUGIN 2.2-beta-2
        @Deprecated
        String ROLE = ArtifactResolver.class.getName();
    
        // USED BY SUREFIRE, DEPENDENCY PLUGIN
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top