Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 272 for PROVIDED (0.17 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            assertEquals("test", artifact.getScope(), "Check scope");
    
            // check all transitive deps of a provided dependency are provided scope, except for test
            checkGroupIdScope(project, "provided", "maven-test-provided");
            artifact = getArtifact(project, "maven-test-provided", "scope-runtime");
            assertEquals("provided", artifact.getScope(), "Check scope");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

                return Artifact.SCOPE_PROVIDED;
            } else if (id == 5) {
                return Artifact.SCOPE_SYSTEM;
            } else {
                return Artifact.SCOPE_RUNTIME_PLUS_SYSTEM;
            }
        }
    
        private static final ArtifactScopeEnum[][][] COMPLIANCY_SETS = {
            {{compile}, {compile, provided, system}},
            {{test}, {compile, test, provided, system}},
            {{runtime}, {compile, runtime, system}},
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_SYSTEM)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_PROVIDED)));
            assertFalse(filter.include(newArtifact(Artifact.SCOPE_RUNTIME)));
            assertFalse(filter.include(newArtifact(Artifact.SCOPE_TEST)));
        }
    
        @Test
        void testInclude_CompilePlusRuntime() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            checkScopeUpdate(Artifact.SCOPE_PROVIDED, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_PROVIDED);
            checkScopeUpdate(Artifact.SCOPE_PROVIDED, Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME);
            checkScopeUpdate(Artifact.SCOPE_PROVIDED, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM);
            checkScopeUpdate(Artifact.SCOPE_PROVIDED, Artifact.SCOPE_TEST, Artifact.SCOPE_TEST);
    
            /* farthest = runtime */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/ResolutionScope.java

    @Experimental
    public enum ResolutionScope {
        /**
         * <code>compile</code> resolution scope
         * = <code>compile-only</code> + <code>compile</code> + <code>provided</code> dependencies
         */
        PROJECT_COMPILE("project-compile", Scope.EMPTY, Scope.COMPILE_ONLY, Scope.COMPILE, Scope.PROVIDED),
        /**
         * <code>runtime</code> resolution scope
         * = <code>compile</code> + <code>runtime</code> dependencies
         */
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

      /**
       * Returns {@code true} if the provided keys are among the keys provided when the table was
       * constructed.
       */
      @Override
      public boolean contains(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        return containsRow(rowKey) && containsColumn(columnKey);
      }
    
      /**
       * Returns {@code true} if the provided column key is among the column keys provided when the
       * table was constructed.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

                // direct dependency retains its scope
                effectiveScope = originalScope;
            } else if (Artifact.SCOPE_TEST.equals(originalScope) || Artifact.SCOPE_PROVIDED.equals(originalScope)) {
                // test and provided are not transitive, so exclude them
                effectiveScope = null;
            } else if (Artifact.SCOPE_SYSTEM.equals(originalScope)) {
                // system scope come through unchanged...
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

                    return (T) seeded.get();
                }
    
                T provided = (T) state.provided.get(key);
                if (provided == null && unscoped != null) {
                    provided = unscoped.get();
                    state.provided.put(key, provided);
                }
    
                return provided;
            };
        }
    
        @SuppressWarnings({"unchecked"})
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        Subscriber subscriber = Subscriber.create(bus, this, method);
    
        subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT);
    
        assertTrue("Subscriber must call provided method", methodCalled);
        assertTrue(
            "Subscriber argument must be exactly the provided object.",
            methodArgument == FIXTURE_ARGUMENT);
      }
    
      public void testInvokeSubscriberMethod_exceptionWrapping() throws Throwable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

       * @throws IllegalArgumentException if duplicate keys are provided
       */
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) {
        return RegularImmutableMap.fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @throws IllegalArgumentException if duplicate keys are provided
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
Back to top