Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for Repo (0.04 sec)

  1. 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)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            ArtifactRepository repo = createStringRepo();
    
            StringWagon wagon = (StringWagon) wagonManager.getWagon("string");
            wagon.addExpectedContent(repo.getLayout().pathOf(artifact), "expected");
            wagon.addExpectedContent(repo.getLayout().pathOf(artifact) + ".md5", "cd26d9e10ce691cc69aa2b90dcebbdac");
    
            wagonManager.getArtifact(artifact, repo, null, false);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                for (ArtifactRepository repo : requestRepositories) {
                    if (!repos.containsKey(repo.getId())) {
                        repos.put(repo.getId(), repo);
                    }
                }
    
                for (ArtifactRepository repo : pomRepositories) {
                    if (!repos.containsKey(repo.getId())) {
                        repos.put(repo.getId(), repo);
                    }
                }
    
    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. 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)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                        try {
                            ArtifactRepository repo = repositorySystem.buildArtifactRepository((Repository) repository);
                            repositorySystem.injectMirror(request.getRepositorySession(), Arrays.asList(repo));
                            repositorySystem.injectProxy(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)
  6. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        public static RemoteRepository toRepo(ArtifactRepository repo) {
            RemoteRepository result = null;
            if (repo != null) {
                RemoteRepository.Builder builder =
                        new RemoteRepository.Builder(repo.getId(), getLayout(repo), repo.getUrl());
                builder.setSnapshotPolicy(toPolicy(repo.getSnapshots()));
                builder.setReleasePolicy(toPolicy(repo.getReleases()));
    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