Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.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.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.PluginExecution;
    import org.apache.maven.api.plugin.descriptor.MojoDescriptor;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K 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-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. 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)
Back to top