Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for createArtifactRepository (0.23 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryFactory.java

        ArtifactRepository createArtifactRepository(
                String id,
                String url,
                String layoutId,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases)
                throws UnknownRepositoryLayoutException;
    
        ArtifactRepository createArtifactRepository(
                String id,
                String url,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

        }
    
        public ArtifactRepository createArtifactRepository(
                String id,
                String url,
                String layoutId,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases)
                throws UnknownRepositoryLayoutException {
            return injectSession(factory.createArtifactRepository(id, url, layoutId, snapshots, releases), true);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/DefaultArtifactRepositoryFactory.java

                String id, String url, ArtifactRepositoryLayout repositoryLayout, boolean uniqueVersion) {
            return createArtifactRepository(id, url, repositoryLayout, null, null);
        }
    
        public ArtifactRepository createArtifactRepository(
                String id,
                String url,
                String layoutId,
                ArtifactRepositoryPolicy snapshots,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            List<ArtifactRepository> repos = new ArrayList<>();
            repos.add(artifactRepositoryFactory.createArtifactRepository(
                    "repo1", "string://url1", new ArtifactRepositoryLayoutStub(), null, null));
            repos.add(artifactRepositoryFactory.createArtifactRepository(
                    "repo2", "string://url2", new ArtifactRepositoryLayoutStub(), null, null));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            ArtifactRepositoryPolicy releasesPolicy =
                    new ArtifactRepositoryPolicy(releases, releaseUpdates, checksumPolicy);
    
            return createArtifactRepository(repositoryId, url, null, snapshotsPolicy, releasesPolicy);
        }
    
        public ArtifactRepository createArtifactRepository(
                String repositoryId,
                String url,
                ArtifactRepositoryLayout repositoryLayout,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/ArtifactRepositoryFactory.java

        ArtifactRepository createArtifactRepository(
                String id,
                String url,
                String layoutId,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases)
                throws UnknownRepositoryLayoutException;
    
        ArtifactRepository createArtifactRepository(
                String id,
                String url,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                }
            }
        }
    
        private void injectMirror(ArtifactRepository repository, Mirror mirror) {
            if (mirror != null) {
                ArtifactRepository original = createArtifactRepository(
                        repository.getId(),
                        repository.getUrl(),
                        repository.getLayout(),
                        repository.getSnapshots(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            File f = new File(getBasedir(), path);
    
            f.createNewFile();
    
            return artifactRepositoryFactory.createArtifactRepository(
                    "test", "file://" + f.getPath(), repoLayout, null, null);
        }
    
        protected String getRepositoryLayout() {
            return "default";
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

            server.setId("repository");
            server.setUsername("jason");
            server.setPassword("abc123");
    
            ArtifactRepository repository =
                    repositorySystem.createArtifactRepository("repository", "http://foo", null, null, null);
            repositorySystem.injectAuthentication(Arrays.asList(repository), Arrays.asList(server));
            Authentication authentication = repository.getAuthentication();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        protected ArtifactRepository getLocalRepository() throws Exception {
            ArtifactRepositoryLayout repoLayout = getContainer().lookup(ArtifactRepositoryLayout.class);
    
            ArtifactRepository r = repositorySystem.createArtifactRepository(
                    "local", "file://" + getLocalRepositoryPath().getAbsolutePath(), repoLayout, null, null);
    
            return r;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top