Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for InvalidRepositoryException (0.21 seconds)

  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) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (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;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. 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);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 19 18:49:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. 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>-->
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.3K bytes
    - Click Count (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;
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                throws InvalidRepositoryException {
            return buildArtifactRepository(fromSettingsRepository(repo));
        }
    
        public static ArtifactRepository buildArtifactRepository(org.apache.maven.model.Repository repo)
                throws InvalidRepositoryException {
            if (repo != null) {
                String id = repo.getId();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

         *
         * @param repository The repository to add to the internal search chain, must not be {@code null}.
         * @throws InvalidRepositoryException If the repository could not be added (e.g. due to invalid URL or layout).
         */
        void addRepository(Repository repository) throws InvalidRepositoryException;
    
        /**
         * Adds a repository to use for subsequent resolution requests. The order in which repositories are added matters,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. 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(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        @Override
        public ArtifactRepository createDefaultLocalRepository() throws InvalidRepositoryException {
            return createLocalRepository(
                    new File(System.getProperty("basedir", "."), "target/local-repo").getAbsoluteFile());
        }
    
        @Override
        public ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException {
            return new MavenArtifactRepository(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top