Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for now (4.01 sec)

  1. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

                // 2.0.X == 2-X == 2.0.0.X for any string x
                checkVersionsEqual("2-" + x, "2.0." + x); // previously ordered, now equals
                checkVersionsEqual("2-" + x, "2.0.0." + x); // previously ordered, now equals
                checkVersionsEqual("2.0." + x, "2.0.0." + x); // previously ordered, now equals
            }
        }
    
        @Test
        public void testMng7714() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            assertEquals(createSet(new Object[] {a.artifact, modifiedC}), res.getArtifacts(), "Check artifact list");
            Artifact artifact = getArtifact("c", res.getArtifacts());
            // local wins now, and irrelevant if not local as test/provided aren't transitive
            // assertEquals( Artifact.SCOPE_COMPILE, artifact.getArtifactScope(), "Check artifactScope" );
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                            request.addRemoteRepository(MavenRepositorySystem.buildArtifactRepository(remoteRepository));
                        } catch (InvalidRepositoryException e) {
                            // do nothing for now
                        }
                    }
    
                    List<Repository> pluginRepositories = rawProfile.getPluginRepositories();
                    for (Repository pluginRepo : pluginRepositories) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 8.1K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

        private static final Pattern FILTER_1 = Pattern.compile("[^\\d._-]");
        private static final Pattern FILTER_2 = Pattern.compile("[._-]");
        private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now
    
        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java

        @Deprecated
        String ROLE = LifecycleExecutor.class.getName();
    
        // For a given project packaging find all the plugins that are bound to any registered
        // lifecycles. The project builder needs to now what default plugin information needs to be
        // merged into POM being built. Once the POM builder has this plugin information, versions can be assigned
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        /**
         * Add or replace an artifact. This method is now deprecated. Use the @{MavenProjectHelper} to attach artifacts to a
         * project. In spite of the 'throws' declaration on this API, this method has never thrown an exception since Maven
         * 3.0.x. Historically, it logged and ignored a second addition of the same g/a/v/c/t. Now it replaces the file for
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenBuildTimestamp.java

        public static final TimeZone DEFAULT_BUILD_TIME_ZONE = TimeZone.getTimeZone("Etc/UTC");
    
        private String formattedTimestamp;
    
        public MavenBuildTimestamp() {
            this(Instant.now());
        }
    
        public MavenBuildTimestamp(Instant time) {
            this(time, DEFAULT_BUILD_TIMESTAMP_FORMAT);
        }
    
        public MavenBuildTimestamp(Instant time, Map<String, String> properties) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                    artifact.setDependencyTrail(node.getDependencyTrail());
    
                                    set.add(node);
    
                                    // This is required right now.
                                    result.addArtifact(artifact);
                                }
                            }
                        } catch (OverConstrainedVersionException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                        retValue = retValue.charAt(0) + ":" + retValue.substring(2);
                    } else {
                        // Now we expect the host
                        int index = retValue.indexOf('/');
                        if (index >= 0) {
                            retValue = retValue.substring(index + 1);
                        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                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>
    
            // We want to eliminate any relative path nonsense and lock down the path so we
            // need to fully resolve it before any submodules use the path. This can happen
    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)
Back to top