Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 134 for Optional (0.16 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    import java.util.List;
    import java.util.Optional;
    import java.util.function.Predicate;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

    import java.io.File;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.*;
    import org.apache.maven.api.services.DependencyResolver;
    import org.apache.maven.api.services.DependencyResolverResult;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  3. maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                            .nonRecursive()
                            .expectResult(MODULE_C),
                    scenario("Selected optional project")
                            .activeOptionalProjects(MODULE_B)
                            .expectResult(MODULE_B),
                    scenario("Selected missing optional project")
                            .activeOptionalProjects("non-existing-module")
                            .expectResult(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 27.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            // As a side effect it will log the optional projects that could not be resolved.
            projectSelector.getOptionalProjectsBySelectors(request, session.getAllProjects(), allOptionalSelectors);
        }
    
        /**
         * Check whether any of the requested optional profiles were not activated or deactivated.
         * @param session the Maven session.
         * @param profileActivation the requested optional and required profiles.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java

         */
        final boolean optional;
    
        ActivationSettings(final boolean active, final boolean optional) {
            this.active = active;
            this.optional = optional;
        }
    
        static ActivationSettings of(final boolean active, final boolean optional) {
            if (optional) {
                return active ? ACTIVATION_OPTIONAL : DEACTIVATION_OPTIONAL;
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.util.List;
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Profile;
    
    /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java

     *
     */
    public interface BeanConfigurationValuePreprocessor {
    
        /**
         * Preprocesses the specified bean configuration value. The optional type provided to this method is a hint (not a
         * requirement) for the preprocessor to resolve the value to a compatible value or a (string) value than can be
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java

                pomPath = context.locate(pomPath);
            }
    
            if (pomPath == null || !Files.isRegularFile(pomPath)) {
                return Optional.empty();
            }
    
            Optional<RelativeProject> mappedProject = Optional.ofNullable(context.getRawModel(pomFile, pomPath.normalize()))
                    .map(BuildModelTransformer::toRelativeProject);
    
            if (mappedProject.isPresent()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                    @Nonnull
                    @Override
                    public Optional<Path> getPomFile() {
                        return Optional.ofNullable(res.getPomFile()).map(File::toPath);
                    }
    
                    @Nonnull
                    @Override
                    public Optional<Project> getProject() {
                        return Optional.ofNullable(res.getProject()).map(session::getProject);
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    + Make sure your commit messages are in the proper format. Your commit message should contain the key of the JIRA issue.
    ```
    [MNG-XXX] - Subject of the JIRA Ticket
     Optional supplemental description.
    ```
    + Make sure you have added the necessary tests (JUnit/[Core IT tests][core-it]) for your changes.
    + Run all the tests with `mvn -Prun-its verify` to assure nothing else was accidentally broken.
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Oct 10 09:48:27 GMT 2021
    - 4.7K bytes
    - Viewed (0)
Back to top