Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 226 for setVersion (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java

                throw new IllegalStateException("Could not parse current Java version", e);
            }
            if (constraint.getRange() == null) {
                return constraint.getVersion().compareTo(current) <= 0;
            }
            return constraint.containsVersion(current);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenMixedDependenciesValidator.java

                    .filter(d -> !DefaultPluginValidationManager.EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA.contains(
                            d.getGroupId() + ":" + d.getArtifactId()))
                    .map(Artifact::getVersion)
                    .collect(Collectors.toSet());
    
            if (mavenVersions.size() > 1) {
                pluginValidationManager.reportPluginValidationIssue(
                        PluginValidationManager.IssueLocality.EXTERNAL,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java

        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
        public String getVersion() {
            return version;
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/PluginLifecycle.java

                                    .groupId(pluginDescriptor.getGroupId())
                                    .artifactId(pluginDescriptor.getArtifactId())
                                    .version(pluginDescriptor.getVersion())
                                    .configuration(phase.getConfiguration())
                                    .executions(phase.getExecutions().stream()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/InvalidArtifactRTException.java

            return artifactId;
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public String getType() {
            return type;
        }
    
        public String getVersion() {
            return version;
        }
    
        public String getArtifactKey() {
            return groupId + ":" + artifactId + ":" + version + ":" + type;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/artifact/PluginArtifact.java

        private Plugin plugin;
    
        public PluginArtifact(Plugin plugin, Artifact pluginArtifact) {
            super(
                    plugin.getGroupId(),
                    plugin.getArtifactId(),
                    plugin.getVersion(),
                    null,
                    "maven-plugin",
                    null,
                    new PluginArtifactHandler());
            this.plugin = plugin;
            setFile(pluginArtifact.getFile());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

        @Nonnull
        String getModelId();
    
        /**
         * Gets the applicable maven version/validation level of this problem
         * @return The version, never {@code null}.
         */
        @Nonnull
        Version getVersion();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Aug 07 14:31:13 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

        @Nonnull
        @Override
        String toString();
    
        /**
         * Represents range boundary.
         */
        interface Boundary {
            /**
             * The bounding version.
             */
            Version getVersion();
    
            /**
             * Returns {@code true} if version is included of the range.
             */
            boolean isInclusive();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

            ArtifactHandler artifactHandler = artifact.getArtifactHandler();
    
            StringBuilder path = new StringBuilder(128);
    
            path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion());
    
            if (artifact.hasClassifier()) {
                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/LegacySupport.java

         * variable) is our best effort to record any state that is required to enable proper delegation.
         *
         * @param session The currently active session, may be {@code null}.
         */
        void setSession(MavenSession session);
    
        /**
         * Gets the currently active session.
         *
         * @return The currently active session or {@code null} if none.
         */
        MavenSession getSession();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
Back to Top