Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for InvalidRepositoryException (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/InvalidRepositoryException.java

     *
     */
    public class InvalidRepositoryException extends Exception {
        private final String repositoryId;
    
        public InvalidRepositoryException(String message, String repositoryId, MalformedURLException cause) {
            super(message, cause);
            this.repositoryId = repositoryId;
        }
    
        protected InvalidRepositoryException(String message, String repositoryId, ComponentLookupException cause) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java

    /**
     * Signals an error when adding a repository to the model resolver.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class InvalidRepositoryException extends Exception {
    
        /**
         * The repository that raised this error, can be {@code null}.
         */
        private Repository repository;
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

    import java.io.File;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    
    import org.apache.maven.artifact.InvalidRepositoryException;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.eventspy.internal.EventSpyDispatcher;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

                throws InvalidRepositoryException {
            return buildArtifactRepository(repo, artifactRepositoryFactory, c);
        }
    
        public static ArtifactRepository buildArtifactRepository(
                Repository repo, ArtifactRepositoryFactory artifactRepositoryFactory, PlexusContainer c)
                throws InvalidRepositoryException {
            RepositorySystem repositorySystem = rs(c);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                } catch (InvalidRepositoryException e) {
                    // do nothing for now
                }
            }
    
            for (Repository pluginRepository : settings.getPluginRepositories()) {
                try {
                    request.addPluginArtifactRepository(MavenRepositorySystem.buildArtifactRepository(pluginRepository));
                } catch (InvalidRepositoryException e) {
                    // do nothing for now
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 19 18:49:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                return null;
            }
    
            @Override
            public void addRepository(Repository repository) throws InvalidRepositoryException {}
    
            @Override
            public void addRepository(Repository repository, boolean replace) throws InvalidRepositoryException {}
    
            @Override
            public ModelResolver newCopy() {
                return this;
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

        }
    
        protected List<ArtifactRepository> getPluginArtifactRepositories() throws InvalidRepositoryException {
            return getRemoteRepositories();
        }
    
        protected ArtifactRepository getLocalRepository() throws InvalidRepositoryException {
            File repoDir = new File(getBasedir(), "target/local-repo").getAbsoluteFile();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException;
    
        ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException;
    
        ArtifactRepository createDefaultLocalRepository() throws InvalidRepositoryException;
    
        ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException;
    
        ArtifactRepository createArtifactRepository(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/pom.xml

                  <!--              <exclude>org.apache.maven.model.resolution.InvalidRepositoryException#getRepository():METHOD_RETURN_TYPE_CHANGED</exclude>-->
                  <!--              <exclude>org.apache.maven.model.resolution.InvalidRepositoryException#InvalidRepositoryException(java.lang.String,org.apache.maven.model.Repository,java.lang.Throwable):CONSTRUCTOR_REMOVED</exclude>-->
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingHelper.java

         * @return The effective artifact repositories, never {@code null}.
         * @throws InvalidRepositoryException
         */
        List<ArtifactRepository> createArtifactRepositories(
                List<Repository> pomRepositories,
                List<ArtifactRepository> externalRepositories,
                ProjectBuildingRequest request)
                throws InvalidRepositoryException;
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top