Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ArtifactNotFoundException (0.18 sec)

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

                throws ArtifactResolutionException, ArtifactNotFoundException {
            resolve(artifact, remoteRepositories, getSession(localRepository));
        }
    
        public void resolveAlways(
                Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
                throws ArtifactResolutionException, ArtifactNotFoundException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Map;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    import org.apache.maven.execution.MavenSession;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.InvalidRepositoryException;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Repository;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.repository.RepositoryPolicy;
    import org.eclipse.aether.repository.WorkspaceReader;
    import org.eclipse.aether.transfer.ArtifactNotFoundException;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     */
    @Named("maven")
    @Singleton
    @Deprecated
    public class MavenMetadataSource implements ArtifactMetadataSource {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

    import org.eclipse.aether.resolution.VersionRequest;
    import org.eclipse.aether.resolution.VersionResolutionException;
    import org.eclipse.aether.resolution.VersionResult;
    import org.eclipse.aether.transfer.ArtifactNotFoundException;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Default artifact descriptor reader.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Named
    @Singleton
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

        }
    
        @Test
        void testResolutionFailureWhenArtifactNotPresentInRemoteRepository() throws Exception {
            Artifact k = createArtifact("k", "1.0");
    
            assertThrows(
                    ArtifactNotFoundException.class,
                    () -> artifactResolver.resolve(k, remoteRepositories(), localRepository()),
                    "Resolution succeeded when it should have failed");
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top