Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for url (0.16 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/UrlNormalizer.java

    package org.apache.maven.api.services.model;
    
    public interface UrlNormalizer {
    
        /**
         * Normalizes the specified URL.
         *
         * @param url The URL to normalize, may be {@code null}.
         * @return The normalized URL or {@code null} if the input was {@code null}.
         */
        String normalize(String url);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

                    "id", "string://url", new ArtifactRepositoryLayoutStub(), null, null);
        }
    
        /**
         * Build an ArtifactRepository object.
         *
         * @param id
         * @param url
         * @return
         */
        private ArtifactRepository getRepo(String id, String url) {
            return artifactRepositoryFactory.createArtifactRepository(id, url, new DefaultRepositoryLayout(), null, null);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/settings/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 Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultRepositoryFactory.java

        }
    
        @Override
        public RemoteRepository createRemote(String id, String url) {
            return new DefaultRemoteRepository(
                    new org.eclipse.aether.repository.RemoteRepository.Builder(id, "default", url).build());
        }
    
        @Override
        public RemoteRepository createRemote(Repository repository) throws IllegalArgumentException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

     * under the License.
     */
    package org.apache.maven.project;
    
    import javax.inject.Inject;
    
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.net.URISyntaxException;
    import java.net.URL;
    import java.util.Arrays;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                                        + ", using it for other repositories will corrupt your repository metadata.");
                    }
    
                    validateStringNotEmpty(problems, "mirrors.mirror.url", mirror.getUrl(), mirror.getId());
    
                    validateStringNotEmpty(problems, "mirrors.mirror.mirrorOf", mirror.getMirrorOf(), mirror.getId());
                }
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            try {
                URL url = new URL(originalRepository.getUrl());
                return ("http".equalsIgnoreCase(url.getProtocol())
                                || "dav".equalsIgnoreCase(url.getProtocol())
                                || "dav:http".equalsIgnoreCase(url.getProtocol())
                                || "dav+http".equalsIgnoreCase(url.getProtocol()))
                        && !isLocal(url.getHost());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            return newMirror(id, mirrorOf, null, url);
        }
    
        private Mirror newMirror(String id, String mirrorOf, String layouts, String url) {
            Mirror mirror = new Mirror();
    
            mirror.setId(id);
            mirror.setMirrorOf(mirrorOf);
            mirror.setMirrorOfLayouts(layouts);
            mirror.setUrl(url);
    
            return mirror;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  9. maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

            this.url = Objects.requireNonNull(url, "url cannot be null");
            this.hashCode = Objects.hashCode(url);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return url.openStream();
        }
    
        @Override
        public String getLocation() {
            return url.toString();
        }
    
        /**
         * Gets the URL of this source.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

                url.append(parentUrl);
                concatPath(url, pathAdjustment);
                concatPath(url, childPath);
    
                return url.toString();
            }
    
            private void concatPath(StringBuilder url, String path) {
                if (!path.isEmpty()) {
                    boolean initialUrlEndsWithSlash = url.charAt(url.length() - 1) == '/';
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
Back to top