Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for throwErrors (0.09 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                    null);
            InternalSession.associate(session, iSession);
    
            ArtifactResolutionResult result = repositorySystem.resolve(request);
            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(2, result.getArtifacts().size());
    
            //
            // System scoped version which should
            //
            d.setScope(Artifact.SCOPE_SYSTEM);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. 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)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionErrorHandler.java

     * specific language governing permissions and limitations
     * 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)
  4. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

                ArtifactResolutionResult result = repositorySystem.resolve(request);
    
                try {
                    resolutionErrorHandler.throwErrors(request, result);
                } catch (MultipleArtifactsNotFoundException e) {
    
                    Collection<Artifact> missing = new HashSet<>(e.getMissingArtifacts());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top