Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for Update (0.29 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

            if (ArtifactRepositoryPolicy.UPDATE_POLICY_DAILY.equals(policy)) {
                return 1440;
            } else if (ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS.equals(policy)) {
                return 0;
            } else if (policy != null && policy.startsWith(ArtifactRepositoryPolicy.UPDATE_POLICY_INTERVAL)) {
                String s = policy.substring(UPDATE_POLICY_INTERVAL.length() + 1);
                return Integer.parseInt(s);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                    RepositorySystem.DEFAULT_LOCAL_REPO_ID,
                    true,
                    ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS,
                    true,
                    ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS,
                    ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE);
        }
    
    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)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

                this.algorithm = algorithm;
            }
    
            @Override
            public void update(ByteBuffer input) {
                algorithm.update(input);
            }
    
            @Override
            public String checksum() {
                return algorithm.checksum();
            }
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

                this.algorithm = algorithm;
            }
    
            @Override
            public void update(ByteBuffer input) {
                algorithm.update(input);
            }
    
            @Override
            public String checksum() {
                return algorithm.checksum();
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. maven-compat/src/site/apt/index.apt

     Plugins should avoid these classes and be updated to use only Maven3 dependencies (and require Maven3): see
     {{{https://cwiki.apache.org/confluence/display/MAVEN/Plugin+migration+to+Maven3+dependencies} Plugin migration to Maven3 dependencies}}
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 24 22:50:10 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            /* current POM rules all, if nearest is in current pom, do not update its artifactScope */
            if ((nearest.getDepth() < 2) && updateScope) {
                updateScope = false;
    
                fireEvent(ResolutionListener.UPDATE_SCOPE_CURRENT_POM, listeners, nearest, farthestArtifact);
            }
    
            if (updateScope) {
                fireEvent(ResolutionListener.UPDATE_SCOPE, listeners, nearest, farthestArtifact);
    
    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)
  7. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

        int INCLUDE_ARTIFACT = 4;
    
        int OMIT_FOR_NEARER = 5;
    
        int UPDATE_SCOPE = 6;
    
        @Deprecated
        int MANAGE_ARTIFACT = 7;
    
        int OMIT_FOR_CYCLE = 8;
    
        /**
         * this event means that the artifactScope has NOT been updated to a farther node artifactScope because current
         * node is in the first level pom
         */
        int UPDATE_SCOPE_CURRENT_POM = 9;
    
        int SELECT_VERSION_FROM_RANGE = 10;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuildingEvent.java

    import org.apache.maven.api.services.model.ModelBuildingEvent;
    
    /**
     * Holds data relevant for a model building event.
     */
    record DefaultModelBuildingEvent(
            Model model, Consumer<Model> update, ModelBuilderRequest request, ModelProblemCollector problems)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                        boolean snapshot = pomArtifact.isSnapshot();
                        for (ArtifactRepository repository : remoteRepositories) {
                            ArtifactRepositoryPolicy policy =
                                    snapshot ? repository.getSnapshots() : repository.getReleases();
                            if (ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS.equals(policy.getUpdatePolicy())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  10. 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);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top