Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getVersionConstraint (0.1 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                            parent.getVersion());
                }
    
                if (versionRangeResult.getVersionConstraint() != null
                        && versionRangeResult.getVersionConstraint().getRange() != null
                        && versionRangeResult.getVersionConstraint().getRange().getUpperBound() == null) {
                    // Message below is checked for in the MNG-2199 core IT.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java

        /**
         * {@return the specific version, range of versions or meta-version of the artifact}
         * A meta-version is a version suffixed with the {@code SNAPSHOT} keyword.
         */
        @Nonnull
        VersionConstraint getVersionConstraint();
    
        /**
         * Returns the file extension of the artifact.
         * The dot separator is not included in the returned string.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                            classifier = "";
                        }
                    }
                    return classifier;
                }
    
                @Override
                public VersionConstraint getVersionConstraint() {
                    return session.parseVersionConstraint(dependency.getVersion());
                }
    
                @Override
                public String getExtension() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java

     * a scope (compile-time, run-time <i>etc.</i>), an obligation (whether the dependency
     * is optional or mandatory), and possible exclusions for transitive dependencies.
     * The {@linkplain #getVersionConstraint() version} and the {@linkplain #getOptional() obligation}
     * may not be defined precisely.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface DependencyCoordinates extends ArtifactCoordinates {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

                    .artifactId(coordinates.getArtifactId())
                    .classifier(coordinates.getClassifier())
                    .version(coordinates.getVersionConstraint().asString())
                    .extension(coordinates.getExtension())
                    .build();
        }
    
        static ArtifactFactoryRequestBuilder builder() {
            return new ArtifactFactoryRequestBuilder();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

         * If the {@linkplain #getBaseVersion() base version} contains a meta-version such as {@code SNAPSHOT},
         * those keywords are replaced by, for example, the actual timestamp.
         *
         * @see ArtifactCoordinates#getVersionConstraint()
         */
        @Nonnull
        Version getVersion();
    
        /**
         * {@return the version or meta-version of the artifact}
         * A meta-version is a version suffixed with the {@code SNAPSHOT} keyword.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                    .groupId(nonNull(coordinates, "coordinates cannot be null").getGroupId())
                    .artifactId(coordinates.getArtifactId())
                    .version(coordinates.getVersionConstraint().asString())
                    .classifier(coordinates.getClassifier())
                    .extension(coordinates.getExtension())
                    .build();
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top