Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for local (0.2 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadata.java

    import org.apache.maven.api.metadata.Snapshot;
    import org.apache.maven.api.metadata.SnapshotVersion;
    import org.apache.maven.api.metadata.Versioning;
    import org.eclipse.aether.artifact.Artifact;
    
    /**
     * Maven local GAV level metadata.
     */
    final class LocalSnapshotMetadata extends MavenMetadata {
    
        private final Collection<Artifact> artifacts = new ArrayList<>();
    
        LocalSnapshotMetadata(Artifact artifact, Date timestamp) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                                /*
                                NOTE: Users occasionally misuse the id "local" for remote repos which screws up the metadata
                                of the local repository. This is especially troublesome during snapshot resolution so we try
                                to handle that gracefully.
                                 */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                                            + ") from repository " + repository.getId() + " (" + repository.getUrl()
                                            + ") in favor of local copy");
                        }
                    } else {
                        update = updateCheckManager.isUpdateRequired(metadata, repository, file);
                    }
    
                    if (update) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  4. api/maven-api-metadata/src/main/mdo/metadata.mdo

                }
    
                if ( versioning.getLastUpdated() == null || versioning.getLastUpdated().length() == 0 )
                {
                    // this should only be for historical reasons - we assume local is newer
                    versioning.setLastUpdated( v.getLastUpdated() );
                }
    
                if ( v.getLastUpdated() == null || v.getLastUpdated().length() == 0
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 11 14:06:34 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

            String actualOsName = context.getSystemProperties().get("os.name").toLowerCase(Locale.ENGLISH);
            String actualOsArch = context.getSystemProperties().get("os.arch").toLowerCase(Locale.ENGLISH);
            String actualOsVersion = context.getSystemProperties().get("os.version").toLowerCase(Locale.ENGLISH);
    
            if (active && os.getFamily() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

     * under the License.
     */
    package org.apache.maven.internal.impl.model.profile;
    
    import java.util.Locale;
    import java.util.stream.Stream;
    
    /**
     * OS support
     */
    public class Os {
    
        /**
         * The OS Name.
         */
        public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OA architecture.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            assertTrue(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://192.168.101.1")));
            assertTrue(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://")));
            // these are local
            assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://localhost:8080")));
            assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://127.0.0.1:9090")));
    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)
  8. maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

            return new File(getLocalRepositoryPath(), "/" + groupId + "/poms/" + artifactId + "-1.0.pom");
        }
    
        // ----------------------------------------------------------------------
        // The local repository for this category of tests
        // ----------------------------------------------------------------------
    
        protected File getLocalRepositoryPath() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                if ("local".equals(repository.getId())) {
                    addViolation(
                            problems,
                            errOn31,
                            Version.V20,
                            prefix + "id",
                            null,
                            "must not be 'local'" + ", this identifier is reserved for the local repository"
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

        @Test
        @DisabledOnOs(OS.WINDOWS) // need to investigate why it fails on windows
        void testProjectInheritance() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            System.out.println("Local repository is at: " + localRepo.getAbsolutePath());
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom1 = new File(pom0.getParentFile(), "p1/pom.xml");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top