Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 149 for Chen (0.18 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                }
                return buf.toString();
            }
        }
    
        public ArtifactVersion matchVersion(List<ArtifactVersion> versions) {
            // TODO could be more efficient by sorting the list and then moving along the restrictions in order?
    
            ArtifactVersion matched = null;
            for (ArtifactVersion version : versions) {
                if (containsVersion(version)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                // Just returning an Integer with the index here is faster, but requires a lot of if/then/else to check for
                // -1
                //  or QUALIFIERS.size and then resort to lexical ordering. Most comparisons are decided by the first
                // character,
                // so this is still fast. If more characters are needed then it requires a lexical sort anyway.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         *
         * @return The of the artifact in bytes or a negative value if unknown.
         */
        long getContentLength();
    
        /**
         * Gets the timestamp when the transfer of this artifact was started.
         *
         * @return The timestamp when the transfer of this artifact was started.
         */
        long getTransferStartTime();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformerContext.java

        /**
         * Get the model based on the path when resolving the parent based on relativePath.
         *
         * @param from    the requiring model
         * @param pomFile the path to the pomFile
         * @return the model, otherwise {@code null}
         */
        Model getRawModel(Path from, Path pomFile);
    
        /**
         * Get the model from the reactor based on the groupId and artifactId when resolving reactor dependencies.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

     * at run time or at test time.  For a given dependency, the scope is directly derived from the
     * {@link org.apache.maven.api.model.Dependency#getScope()} and will be used when using {@link PathScope}
     * and the {@link org.apache.maven.api.services.DependencyResolver}.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.model.Dependency#getScope()
     * @see org.apache.maven.api.services.DependencyResolver
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Mar 27 14:46:12 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

        /**
         * is the parameter required?
         * @return <code>true</code> if the Mojo should fail when the parameter cannot be injected
         */
        boolean required() default false;
    
        /**
         * Specifies that this parameter cannot be configured directly by the user (as in the case of POM-specified
         * configuration). This is useful when you want to force the user to use common POM elements rather than plugin
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            // replaces?
            AbstractRepositoryMetadata repoMetadata = (AbstractRepositoryMetadata) metadata;
            this.metadata.merge(repoMetadata.getMetadata());
        }
    
        public void merge(ArtifactMetadata metadata) {
            // TODO not sure that it should assume this, maybe the calls to addMetadata should pre-merge, then artifact
            // replaces?
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/OverConstrainedVersionException.java

    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    
    /**
     * Occurs when ranges exclude each other and no valid value remains.
     *
     */
    public class OverConstrainedVersionException extends ArtifactResolutionException {
        public OverConstrainedVersionException(String msg, Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

     * an expressive source hint for the model problem. Instead, the source hint is configured by the model builder before
     * it delegates to other components that potentially encounter problems. Then, the problem reporter can focus on
     * providing a simple error message, leaving the donkey work of creating a nice model problem to this component.
     *
     */
    public interface ModelProblemCollector {
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

    import org.apache.maven.api.ArtifactCoordinate;
    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Resolves the artifact, i.e download the file when required and attach it to the artifact
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactResolver extends Service {
    
        /**
         * @param request {@link ArtifactResolverRequest}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top