Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for samples (0.18 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
            boolean result = false;
            String originalId = originalRepository.getId();
    
            // simple checks first to short circuit processing below.
            if (WILDCARD.equals(pattern) || pattern.equals(originalId)) {
                result = true;
            } else {
                // process the list
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

    import org.eclipse.aether.util.graph.transformer.SimpleOptionalitySelector;
    import org.eclipse.aether.util.repository.SimpleArtifactDescriptorPolicy;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A simple {@link Supplier} of {@link SessionBuilder} instances, that on each call supplies newly
     * constructed instance. To create session out of builder, use {@link SessionBuilder#build()}. For proper closing
    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-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            File localRepoDir = new File(request.getLocalRepository().getBasedir());
            LocalRepository localRepo = new LocalRepository(localRepoDir, "simple");
            RepositorySystemSession session = new MavenSessionBuilderSupplier(repositorySystem)
                    .get()
                    .withLocalRepositories(localRepo)
                    .build();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

        private volatile ProjectSegment currentBuild;
    
        private final PrintStream originalSystemOUtStream;
    
        private final ConsolePrinter printer;
    
        /**
         * A simple but safe solution for printing to the console.
         */
        class ConsolePrinter implements Runnable {
            private volatile boolean running;
    
            private final ProjectBuildList projectBuildList;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  5. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            }
    
            return new VersionRange(recommendedVersion, copiedRestrictions);
        }
    
        /**
         * <p>
         * Create a version range from a string representation
         * </p>
         * Some spec examples are:
         * <ul>
         * <li><code>1.0</code> Version 1.0 as a recommended version</li>
         * <li><code>[1.0]</code> Version 1.0 explicitly only</li>
    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)
  6. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            Artifact artifact = new DefaultArtifact(
                    "sample.group",
                    "sample-art",
                    VersionRange.createFromVersion("1.0"),
                    "scope",
                    "jar",
                    "classifier",
                    null);
            artifact.setFile(getTestFile("target/sample-art"));
    
            StringWagon wagon = (StringWagon) wagonManager.getWagon("string");
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    /*
    
    - test projects for each of these
    - how to categorize the problems so that the id of the problem can be match to a page with descriptive help and the test
      project
    - nice little sample projects that could be run in the core as well as integration tests
    
    All Possible Errors
    - invalid lifecycle phase (maybe same as bad CLI param, though you were talking about embedder too)
    - <module> specified is not found
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     * cannot override this binding. This is because the lookup is always short-circuited in this
     * specific situation (plain @Inject request, and plain explicit binding for the same type.)
     *
     * The simplest solution is to use a custom @Named here so it isn't bound under the plain key.
     * This is only necessary for default components using @Typed that want to support overriding.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top