Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for didn (0.21 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         * @return {@code true} if the key mapping was successfully updated from the old value to the new value,
         *         {@code false} if the current key mapping didn't match the expected value and was not updated.
         */
        <T> boolean replace(@Nonnull Key<T> key, @Nullable T oldValue, @Nullable T newValue);
    
        /**
         * Gets the session data associated with the specified key.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                    if (pomFile.canRead()) {
                        return length != pomFile.length() || timestamp != pomFile.lastModified();
                    } else {
                        // if the POM didn't exist, retry if any repo is configured to always update
                        boolean snapshot = pomArtifact.isSnapshot();
                        for (ArtifactRepository repository : remoteRepositories) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java

                        lifecycleMap.put(lifecycle.getId(), lifecycle);
                    }
                } else {
                    /*
                     * NOTE: This is to provide a migration path for implementors of the legacy API which did not know about
                     * getLifecycles().
                     */
    
                    String[] lifecycleIds = {"default", "clean", "site"};
    
                    for (String lifecycleId : lifecycleIds) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:46:36 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

                            Build.newBuilder(build).plugins(normalized.values()).build());
                }
            }
    
            /*
             * NOTE: This is primarily to keep backward-compat with Maven 2.x which did not validate that dependencies are
             * unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    "Non-unique repository ids did not cause validation error");
        }
    
        /* MNG-4193 */
        @Test
        void testValidationErrorUponNonUniquePluginRepositoryId() throws Exception {
            assertThrows(
                    ProjectBuildingException.class,
                    () -> buildPom("unique-repo-id/plugin-repo"),
                    "Non-unique repository ids did not cause validation error");
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  6. apache-maven/src/main/appended-resources/META-INF/NOTICE.vm

    at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
    For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
    
    <p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
    being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Sep 10 19:27:25 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            assertThrows(
                    ChecksumFailedException.class,
                    () -> wagonManager.getArtifact(artifact, repo, null, false),
                    "Checksum verification did not fail");
    
            wagon.clearExpectedContent();
            wagon.addExpectedContent("path", "lower-case-checksum");
            wagon.addExpectedContent("path.md5", "50b2cf50a103a965efac62b983035cac");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

                // I'm not sure if this last regexp was really intended to disallow the usage of
                // network paths as user.home directory. Unfortunately it did. I removed it and
                // have not detected any problems yet.
                // ---------------------------------------------------------------------------------
                // path = path.replaceAll( "//", "/" );
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     *
     * As a non-default component this now gets a negative priority relative to other implementations
     * of the same interface. Since we want to allow overriding this doesn't matter in this case.
     * (if it did we could add @Priority of 0 to match the priority given to default components.)
     */
    @Named
    @Singleton
    public class DefaultModelProcessor implements ModelProcessor {
    
        private final ModelXmlFactory modelXmlFactory;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

        @PreDestroy
        private void doDeleteFiles() {
            for (Path file : toDelete) {
                try {
                    Files.delete(file);
                } catch (IOException e) {
                    // ignore, we did our best...
                }
            }
        }
    
        public InstallRequest remapInstallArtifacts(RepositorySystemSession session, InstallRequest request) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top