Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 226 for setVersion (0.06 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                versionRange = VersionRange.createFromVersionSpec(d.getVersion());
            } catch (InvalidVersionSpecificationException e) {
                // MNG-5368: Log a message instead of returning 'null' silently.
                this.logger.error(
                        String.format(
                                "Invalid version specification '%s' creating dependency artifact '%s'.", d.getVersion(), d),
                        e);
                return null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

                    timestamps.add((file != null) ? Long.valueOf(file.lastModified()) : Long.valueOf(0));
                    sizes.add((file != null) ? Long.valueOf(file.length()) : Long.valueOf(0));
                    ids.add(artifact.getVersion());
                }
    
                this.hashCode =
                        31 * files.hashCode() + 31 * ids.hashCode() + 31 * timestamps.hashCode() + 31 * sizes.hashCode();
            }
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. build-logic-commons/build-platform/build.gradle.kts

    // It can be removed or changed to 4/5 logic (if necessary) at that point.
    val groovyVersion = GroovySystem.getVersion()
    val isGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    val codenarcVersion = if (isGroovy4) "3.6.0-groovy-4.0" else "3.6.0"
    val spockVersion = if (isGroovy4) "2.3-groovy-4.0" else "2.3-groovy-3.0"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:16:30 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                column = e.getColumnNumber();
            }
    
            ModelProblem problem = new DefaultModelProblem(
                    req.getMessage(),
                    req.getSeverity(),
                    req.getVersion(),
                    source,
                    line,
                    column,
                    modelId,
                    req.getException());
    
            add(problem);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java

         */
        Severity getSeverity();
    
        /**
         * Gets the applicable maven version/validation level of this problem
         * @return The version, never {@code null}.
         */
        Version getVersion();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        @Override
        public String getArtifactId() {
            return metadata.storedInGroupDirectory() ? "" : emptify(metadata.getArtifactId());
        }
    
        @Override
        public String getVersion() {
            return metadata.storedInArtifactVersionDirectory() ? emptify(metadata.getBaseVersion()) : "";
        }
    
        @Override
        public String getType() {
            return metadata.getRemoteFilename();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

            for (ProjectSegment projectBuild : items) {
                MavenProject project = projectBuild.getProject();
                String key = ArtifactUtils.key(project.getGroupId(), project.getArtifactId(), project.getVersion());
                projectKeys.add(key);
            }
            return projectKeys;
        }
    
        public boolean isEmpty() {
            return items.isEmpty();
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    Plugin existing = plugins.get(key);
                    if (existing != null) {
                        if (version == null) {
                            version = existing.getVersion();
                        }
                        execs.addAll(existing.getExecutions());
                        deps.addAll(existing.getDependencies());
                    }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

     * </ul>
     *
     * <p>Example usage:</p>
     * <pre>
     * Toolchain toolchain = ...; // Obtain a Toolchain instance
     * String type = toolchain.getType(); // Get the type of the toolchain
     * String version = toolchain.getVersion(); // Get the version of the toolchain
     * </pre>
     *
     *
     * @since 4.0.0
     * @see JavaToolchain
     * @see org.apache.maven.api.services.ToolchainManager
     */
    @Experimental
    public interface Toolchain {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                    relatedMetadata.put(snapshotKey, (MergeableMetadata) metadata);
                }
            }
    
            artifact.setResolvedVersion(result.getArtifacts().iterator().next().getVersion());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top