Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for buildArtifactRepository (0.17 sec)

  1. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. 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));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                    for (Repository remoteRepository : remoteRepositories) {
                        try {
                            request.addRemoteRepository(MavenRepositorySystem.buildArtifactRepository(remoteRepository));
                        } catch (InvalidRepositoryException e) {
                            // do nothing for now
                        }
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            }
    
            for (Repository remoteRepository : settings.getRepositories()) {
                try {
                    request.addRemoteRepository(MavenRepositorySystem.buildArtifactRepository(
                            new org.apache.maven.settings.Repository(remoteRepository)));
                } catch (InvalidRepositoryException e) {
                    // do nothing for now
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(repositorySystem.buildArtifactRepository(repository));
        }
    
        protected ArtifactRepository getLocalRepository() throws Exception {
            File repoDir = new File(getBasedir(), "target/local-repo").getAbsoluteFile();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            return modelRepositoryPolicy;
        }
    
        public static ArtifactRepository buildArtifactRepository(org.apache.maven.settings.Repository repo)
                throws InvalidRepositoryException {
            return buildArtifactRepository(fromSettingsRepository(repo));
        }
    
        public static ArtifactRepository buildArtifactRepository(org.apache.maven.model.Repository repo)
                throws InvalidRepositoryException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        Artifact createPluginArtifact(Plugin plugin);
    
        Artifact createDependencyArtifact(Dependency dependency);
    
        ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException;
    
        ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(mavenRepositorySystem.buildArtifactRepository(repository));
        }
    
        protected List<ArtifactRepository> getPluginArtifactRepositories() throws InvalidRepositoryException {
            return getRemoteRepositories();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            this.modelReader = modelReader;
            this.artifactFactory = artifactFactory;
        }
    
        @Override
        public ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException {
            return new MavenArtifactRepository(
                    repository.getId(),
                    repository.getUrl(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                for (Object repository : repositories) {
                    if (repository instanceof Repository) {
                        try {
                            ArtifactRepository repo = repositorySystem.buildArtifactRepository((Repository) repository);
                            repositorySystem.injectMirror(request.getRepositorySession(), Arrays.asList(repo));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top