Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for Sample (0.39 sec)

  1. maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

         * @param allowStubModel A flag controlling the case of a missing POM artifact. If {@code true} and the specified
         *            POM artifact does not exist, a simple stub model will be returned. If {@code false}, an exception will
         *            be thrown.
         * @param request The project building request that holds further parameters, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

    import org.eclipse.aether.transport.file.FileTransporterFactory;
    import org.eclipse.aether.util.version.GenericVersionScheme;
    import org.eclipse.aether.version.VersionScheme;
    
    /**
     * A simple memorizing {@link Supplier} of {@link RepositorySystem} instance, that on first call
     * supplies lazily constructed instance, and on each subsequent call same instance. Hence, this instance should be
    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)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

     * A {@code PathType} can identify the Java class-path, the Java module-path,
     * or another kind of path for another programming language for example.
     * Path types are often exclusive. For example, a dependency should not be
     * both on the Java class-path and on the Java module-path.
     *
     * @see org.apache.maven.api.services.DependencyResolverResult#getDispatchedPaths()
     *
     * @since 4.0.0
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

         * The integration tests for MNG-6223 are examples for this scenario.
         *
         * @return true if the collected projects contain the requested project (for example with -f)
         */
        private boolean isRequestedProjectCollected(MavenExecutionRequest request, List<MavenProject> projects) {
            return projects.stream().map(MavenProject::getFile).anyMatch(request.getPom()::equals);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.concurrent.ThreadFactory;
    import java.util.concurrent.atomic.AtomicInteger;
    
    /**
     * Simple {@link ThreadFactory} implementation that ensures the corresponding threads have a meaningful name.
     */
    public class BuildThreadFactory implements ThreadFactory {
        private final AtomicInteger id = new AtomicInteger();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface VersionRangeResolver extends Service {
    
        /**
         * Expands a version range to a list of matching versions, in ascending order.
         * For example, resolves "[3.8,4.0)" to "3.8", "3.8.1", "3.8.2".
         * The returned list of versions is only dependent on the configured repositories and their contents.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

                        type.getPathTypes().contains(JavaPathType.CLASSES));
                // TODO: watch out for module path
            });
    
            // Note: here, type decides is artifact added to "build path" (for example during resolution)
            // and "build path" is intermediate data that is used to create actual Java classpath/modulepath
            // but to create those, proper filtering should happen via Type properties.
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

         */
        public boolean encloses(ArtifactScopeEnum scope) {
            final ArtifactScopeEnum s = checkScope(scope);
    
            // system scope is historic only - and simple
            if (id == system.id) {
                return scope.id == system.id;
            }
    
            for (ArtifactScopeEnum[][] set : COMPLIANCY_SETS) {
                if (id == set[0][0].id) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblem.java

    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.ModelProblem;
    
    /**
     * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown
     * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits
     * the problem.
     *
     */
    public class DefaultModelProblem implements ModelProblem {
    
        private final String source;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

        @Nonnull
        PathScope getPathScope();
    
        /**
         * Returns a filter for the types of path (class-path, module-path, …) accepted by the tool.
         * For example, if a Java tools accepts only class-path elements, then the filter should return
         * {@code true} for {@link JavaPathType#CLASSES} and {@code false} for {@link JavaPathType#MODULES}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top