Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for selectors (0.22 sec)

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

            final boolean result = sut.isMatchingProject(mavenProject, selector, tempDir);
    
            tempProjectDir.delete();
            assertThat(result, is(true));
        }
    
        @Test
        void getOptionalProjectsBySelectorsReturnsMatches() {
            final HashSet<String> selectors = new HashSet<>();
            selectors.add(":maven-core");
            selectors.add(":optional");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 8.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

         * Mark a project as required and activated.
         * @param selector The selector of the project.
         */
        public void activateRequiredProject(String selector) {
            this.activations.add(new ProjectActivationSettings(selector, ActivationSettings.ACTIVATION_REQUIRED));
        }
    
        /**
         * Mark a project as optional and activated.
         * @param selector The selector of the project.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

        boolean isMatchingProject(MavenProject project, String selector, File reactorDirectory) {
            // [groupId]:artifactId
            if (selector.contains(":")) {
                String id = ':' + project.getArtifactId();
    
                if (id.equals(selector)) {
                    return true;
                }
    
                id = project.getGroupId() + id;
    
                return id.equals(selector);
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  4. 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;
            }
        }
    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)
  5. 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();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

        int required = allRequired[requiredChosen];
    
        // ...do the first selection...
        selectInPlace(required, array, from, to);
    
        // ...then recursively perform the selections in the range below...
        int requiredBelow = requiredChosen - 1;
        while (requiredBelow >= requiredFrom && allRequired[requiredBelow] == required) {
          requiredBelow--; // skip duplicates of required in the range below
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

    import org.eclipse.aether.repository.LocalRepository;
    import org.eclipse.aether.util.graph.manager.ClassicDependencyManager;
    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.ConflictResolver;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            if (type == null) {
                type = new PathModularization(path, false).getPathType();
                pathTypes.put(path, type);
            }
            return type;
        }
    
        /**
         * Selects the type of path where to place the given dependency.
         * This method returns one of the values specified in the given collection.
         * This method does not handle the patch-module paths, because the patches
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/PreconditionsTest.java

      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
      @SuppressWarnings("null")
      public void overloadSelection() {
        Boolean boxedBoolean = null;
        boolean aBoolean = true;
        Long boxedLong = null;
        int anInt = 1;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Ascii.java

      /**
       * The maximum value of an ASCII character.
       *
       * @since 9.0 (was type {@code int} before 12.0)
       */
      public static final char MAX = 127;
    
      /** A bit mask which selects the bit encoding ASCII character case. */
      private static final char CASE_MASK = 0x20;
    
      /**
       * Returns a copy of the input string in which all {@linkplain #isUpperCase(char) uppercase ASCII
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
Back to top