Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for repo (0.04 sec)

  1. 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)
  2. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                    RemoteRepository repo = selector.getMirror(RepositoryUtils.toRepo(repository));
                    if (repo != null) {
                        Mirror mirror = new Mirror();
                        mirror.setId(repo.getId());
                        mirror.setUrl(repo.getUrl());
                        mirror.setLayout(repo.getContentType());
                        mirror.setBlocked(repo.isBlocked());
                        return mirror;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                Map<String, ArtifactRepository> repos = new LinkedHashMap<>();
    
                for (ArtifactRepository repo : requestRepositories) {
                    if (!repos.containsKey(repo.getId())) {
                        repos.put(repo.getId(), repo);
                    }
                }
    
                for (ArtifactRepository repo : pomRepositories) {
                    if (!repos.containsKey(repo.getId())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                            repositorySystem.injectProxy(request.getRepositorySession(), Arrays.asList(repo));
                            repositorySystem.injectAuthentication(request.getRepositorySession(), Arrays.asList(repo));
                            repos.add(repo);
                        } catch (InvalidRepositoryException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                    RemoteRepository repo = selector.getMirror(RepositoryUtils.toRepo(repository));
                    if (repo != null) {
                        Mirror mirror = new Mirror();
                        mirror.setId(repo.getId());
                        mirror.setUrl(repo.getUrl());
                        mirror.setLayout(repo.getContentType());
                        mirror.setBlocked(repo.isBlocked());
                        return mirror;
    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. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                builder.setSnapshotPolicy(toPolicy(repo.getSnapshots()));
                builder.setReleasePolicy(toPolicy(repo.getReleases()));
                builder.setAuthentication(toAuthentication(repo.getAuthentication()));
                builder.setProxy(toProxy(repo.getProxy()));
                builder.setMirroredRepositories(toRepos(repo.getMirroredRepositories()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

        /**
         * Maven central repository URL.
         * The property will have the value of the <code>MAVEN_REPO_CENTRAL</code>
         * environment variable if it is defined.
         *
         * @since 4.0.0
         */
        @Config(defaultValue = "https://repo.maven.apache.org/maven2")
        public static final String MAVEN_REPO_CENTRAL = "maven.repo.central";
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:24:08 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            assertSame(mirrorC, mirrorSelector.getMirror(repo, Arrays.asList(mirrorC)));
            assertNull(mirrorSelector.getMirror(repo, Arrays.asList(mirrorD)));
        }
    
        /**
         * Build an ArtifactRepository object.
         *
         * @param id
         * @param url
         * @return
         */
        private ArtifactRepository getRepo(String id, String url) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

                            Dependency.newBuilder().version("${something}").build()))
                    .build();
    
            /*
            // This is the desired behaviour, however there are too many crappy poms in the repo and an issue with the
            // timing of executing the interpolation
    
            try
            {
            new RegexBasedModelInterpolator().interpolate( model, context );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

     *
     */
    @Deprecated
    public class LegacyLocalRepositoryManager implements LocalRepositoryManager {
    
        private final ArtifactRepository delegate;
    
        private final LocalRepository repo;
    
        private final boolean realLocalRepo;
    
        public static RepositorySystemSession overlay(
                ArtifactRepository repository, RepositorySystemSession session, RepositorySystem system) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top