Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for url (8.8 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        private String canonicalFileUrl(String url) throws IOException {
            if (!url.startsWith("file:")) {
                url = "file://" + url;
            } else if (url.startsWith("file:") && !url.startsWith("file://")) {
                url = "file://" + url.substring("file:".length());
            }
    
            // So now we have an url of the form file://<path>
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

        static class UrlNormalizingPostProcessor implements InterpolationPostProcessor {
    
            private static final Set<String> URL_EXPRESSIONS;
    
            static {
                Set<String> expressions = new HashSet<>();
                expressions.add("project.url");
                expressions.add("project.scm.url");
                expressions.add("project.scm.connection");
                expressions.add("project.scm.developerConnection");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

         * Decodes the specified (portion of a) URL. <strong>Note:</strong> This decoder assumes that ISO-8859-1 is used to
         * convert URL-encoded bytes to characters.
         *
         * @param url The URL to decode, may be <code>null</code>.
         * @return The decoded URL or <code>null</code> if the input was <code>null</code>.
         */
        private static String decode(String url) {
            String decoded = url;
            if (url != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                return null;
            }
    
            public String getUrl() {
                return repository.getUrl();
            }
    
            public void setUrl(String url) {}
    
            public String getBasedir() {
                return null;
            }
    
            public String getProtocol() {
                return repository.getProtocol();
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

            repo.name(settingsRepo.getName());
            repo.url(settingsRepo.getUrl());
    
            repo.location("id", toLocation(settingsRepo.getLocation("id")));
            repo.location("layout", toLocation(settingsRepo.getLocation("layout")));
            repo.location("name", toLocation(settingsRepo.getLocation("name")));
            repo.location("url", toLocation(settingsRepo.getLocation("url")));
    
            if (settingsRepo.getSnapshots() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @param  url location of the remote repository
         * @return remote repository that can be used to download or upload artifacts
         *
         * @see org.apache.maven.api.services.RepositoryFactory#createRemote(String, String)
         */
        @Nonnull
        RemoteRepository createRemoteRepository(@Nonnull String id, @Nonnull String url);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        }
    
        public ArtifactRepository createArtifactRepository(
                String id,
                String url,
                ArtifactRepositoryLayout repositoryLayout,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases) {
            return new MavenArtifactRepository(id, url, repositoryLayout, snapshots, releases);
        }
    
        public Artifact createArtifactWithClassifier(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                    && effective.getPluginRepositories().isEmpty()) {
                Repository central = Repository.newBuilder()
                        .id("central")
                        .name("Central Repository")
                        .url("https://repo.maven.apache.org/maven2")
                        .snapshots(RepositoryPolicy.newBuilder().enabled(false).build())
                        .build();
                Repository centralWithNoUpdate = central.withReleases(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            ArtifactRepository repository = repositories.get(0);
            assertEquals(TestMavenWorkspaceReader.REPO_ID, repository.getId());
            assertEquals(TestMavenWorkspaceReader.REPO_URL, repository.getUrl());
        }
    
        @Test
        void testTransitiveResolutionOrder() throws Exception {
            Artifact m = createLocalArtifact("m", "1.0");
    
            Artifact n = createLocalArtifact("n", "1.0");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

                    builder.url(src);
                    builder.location("url", source.getLocation("url"));
                } else if (target.getUrl() == null) {
                    builder.url(extrapolateChildUrl(src, source.isChildScmUrlInheritAppendPath(), context));
                    builder.location("url", source.getLocation("url"));
                }
            }
        }
    
        @Override
        protected void mergeScm_Connection(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top