Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 43 for Selector (0.07 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

        }
    
        @ParameterizedTest
        @ValueSource(strings = {":wrong-selector", "wrong-selector"})
        @EmptySource
        void isMatchingProjectNoMatchOnSelectorReturnsFalse(String selector) {
            final boolean result = sut.isMatchingProject(createMavenProject("maven-core"), selector, null);
            assertEquals(false, result);
        }
    
        @ParameterizedTest
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                            }
                        }
                        boolean optional = false;
                        if (!selector.isEmpty() && selector.charAt(0) == '?') {
                            optional = true;
                            selector = selector.substring(1);
                        }
                        projectActivation.addProjectActivation(selector, active, optional);
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            profile.setId(id);
            profile.setActivation(activation);
            return profile;
        }
    
        @Test
        void testThrowingActivator() {
            DefaultProfileSelector selector = new DefaultProfileSelector();
            selector.addProfileActivator(new ProfileActivator() {
                @Override
                public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

            }
    
            private List<String> prependWithColonIfNeeded(String[] selectors) {
                return Arrays.stream(selectors).map(this::prependWithColonIfNeeded).collect(toList());
            }
    
            private String prependWithColonIfNeeded(String selector) {
                return selector.indexOf(':') == -1 ? ":" + selector : selector;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 20:39:03 GMT 2025
    - 28K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            if (session != null) {
                org.eclipse.aether.repository.MirrorSelector selector = session.getMirrorSelector();
                if (selector != null) {
                    RemoteRepository repo = selector.getMirror(RepositoryUtils.toRepo(repository));
                    if (repo != null) {
                        Mirror mirror = new Mirror();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                            }
                        }
                        boolean optional = false;
                        if (!selector.isEmpty() && selector.charAt(0) == '?') {
                            optional = true;
                            selector = selector.substring(1);
                        }
                        projectActivation.addProjectActivation(selector, active, optional);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt

      /**
       * Returns this address's explicitly-specified HTTP proxy, or null to delegate to the
       * [proxy selector][proxySelector].
       */
      @get:JvmName("proxy") val proxy: Proxy?,
      protocols: List<Protocol>,
      connectionSpecs: List<ConnectionSpec>,
      /**
       * Returns this address's proxy selector. Only used if the proxy is null. If none of this
       * selector's proxies are reachable, a direct connection will be attempted.
       */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

    import org.eclipse.aether.util.graph.manager.ClassicDependencyManager;
    import org.eclipse.aether.util.graph.manager.TransitiveDependencyManager;
    import org.eclipse.aether.util.graph.selector.AndDependencySelector;
    import org.eclipse.aether.util.graph.selector.ExclusionDependencySelector;
    import org.eclipse.aether.util.graph.transformer.ChainedDependencyGraphTransformer;
    import org.eclipse.aether.util.graph.transformer.ConfigurableVersionSelector;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        assertThat(selection.hasNext()).isFalse()
        assertThat(routeSelector.hasNext()).isFalse()
        dns.assertRequests(uriHost)
        proxySelector.assertRequests() // No proxy selector requests!
      }
    
      /**
       * Don't call through to the proxy selector if we don't have a host name.
       * https://github.com/square/okhttp/issues/5770
       */
      @Test fun proxySelectorNotCalledForNullHost() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CoreExtensionSelector.java

    import java.util.List;
    
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    /**
     * Core extension selector: selects which entries to load from {@link InvokerRequest#coreExtensions()}.
     *
     * @param <C> The context type.
     */
    public interface CoreExtensionSelector<C extends LookupContext> {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Mar 13 12:50:59 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top