Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for methods (0.15 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

        // constructors -----------------------------------------------------------
    
        public AbstractConflictResolverTest(String roleHint) throws Exception {
            this.roleHint = roleHint;
        }
    
        // TestCase methods -------------------------------------------------------
    
        /*
         * @see junit.framework.TestCase#setUp()
         */
        @BeforeEach
        public void setUp() throws Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

     * constructed instance. To create session out of builder, use {@link SessionBuilder#build()}. For proper closing
     * of sessions, use {@link CloseableSession#close()} method on built instance(s).
     * <p>
     * Extend this class and override methods to customize, if needed.
     *
     * @since 4.0.0
     */
    public class MavenSessionBuilderSupplier implements Supplier<SessionBuilder> {
        protected final RepositorySystem repositorySystem;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

    import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
    import org.apache.maven.metadata.v4.MetadataStaxReader;
    import org.apache.maven.metadata.v4.MetadataStaxWriter;
    
    /**
     * Shared methods of the repository metadata handling.
     *
     */
    @Deprecated
    public abstract class AbstractRepositoryMetadata implements RepositoryMetadata {
        private static final String LS = System.lineSeparator();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

    import org.apache.maven.api.settings.RepositoryPolicy;
    import org.apache.maven.api.settings.Settings;
    import org.apache.maven.settings.v4.SettingsMerger;
    
    /**
     * Several convenience methods to handle settings
     *
     */
    public final class SettingsUtilsV4 {
    
        private SettingsUtilsV4() {
            // don't allow construction.
        }
    
        /**
         * @param dominant
         * @param recessive
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     * <p>
     * Since Resolver 2.0 this class offers access to various components via public getters, and allows even partial object
     * graph construction.
     * <p>
     * Extend this class {@code createXXX()} methods and override to customize, if needed. The contract of this class makes
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RelocatedArtifact.java

        public String getVersion() {
            if (version != null) {
                return version;
            } else {
                return artifact.getVersion();
            }
        }
    
        // Revise these three methods when MRESOLVER-233 is delivered
        @Override
        public Artifact setVersion(String version) {
            String current = getVersion();
            if (current.equals(version) || (version == null && current.isEmpty())) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionProcessor.java

        /**
         * @param property the property to check
         * @return <code>true</code> if this is a valid property for this processor
         */
        boolean isValidProperty(String property);
    
        /**
         * This method is responsible for examining the request and possibly overwrite of the valid properties in the model
         *
         * @param modelProperties
         * @param request
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

    import org.apache.maven.api.annotations.Nullable;
    
    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     * A Source specific to load POMs.  The {@link #resolve(ModelLocator, String)} method
     * will be used to find POMs for children modules.
     *
     * @since 4.0.0
     */
    public interface ModelSource extends Source {
    
        interface ModelLocator {
            /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

                    return actualOsName.contains(FAMILY_OPENVMS);
                default:
                    return actualOsName.contains(family.toLowerCase(Locale.US));
            }
        }
    
        /**
         * Helper method to determine the current OS family.
         *
         * @return name of current OS family.
         */
        private static String getOsFamily() {
            return Stream.of(
                            FAMILY_DOS,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * {@code profile > project}, hence active profile property may override project property.
         * <p>
         * The caller of this method should decide whether there is a project in scope (hence, a project instance
         * needs to be passed) or not.
         *
         * @param project {@link Project} or {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
Back to top