Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,314 for require (0.26 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                    usedTypes.clear();
                }
            }
        }
    
        @Override
        public Optional<Type> lookup(String id) {
            return Optional.of(require(id));
        }
    
        @Override
        @Nonnull
        public Type require(String id) {
            nonNull(id, "id");
            return usedTypes.computeIfAbsent(id, i -> {
                Type type = types.get(id);
                if (type == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/toolchain/java/DefaultJavaToolChain.java

    /**
     * Provides backwards compatibility with Maven 3.2.3 and earlier. Clients that do not require compatibility with Maven
     * 3.2.3 and earlier are encouraged to use {@link JavaToolchainImpl}.
     * <strong>Note:</strong> This is an internal component whose interface can change without prior notice.
     *
     * @deprecated clients that do not require compatibility with Maven 3.2.3 and earlier should link to
     *             {@link JavaToolchainImpl} instead.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Feb 07 19:46:28 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            return getService(TypeRegistry.class).require(id);
        }
    
        @Override
        public Language requireLanguage(String id) {
            return getService(LanguageRegistry.class).require(id);
        }
    
        @Override
        public Packaging requirePackaging(String id) {
            return getService(PackagingRegistry.class).require(id);
        }
    
        @Override
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

            this.typeRegistry = requireNonNull(typeRegistry, "typeRegistry");
        }
    
        @Override
        public ArtifactType get(String typeId) {
            Type type = typeRegistry.require(typeId);
            if (type instanceof ArtifactType) {
                return (ArtifactType) type;
            }
            if (type != null) {
                return new DefaultType(
                        type.id(),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            return getService(TypeRegistry.class).require(id);
        }
    
        @Override
        public Language requireLanguage(String id) {
            return getService(LanguageRegistry.class).require(id);
        }
    
        @Override
        public Packaging requirePackaging(String id) {
            return getService(PackagingRegistry.class).require(id);
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 27.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                            throw new IllegalStateException(e);
                        }
                    }
                }
                throw new IllegalArgumentException("The use of session scoped proxies require "
                        + "a org.eclipse.sisu.Typed or javax.enterprise.inject.Typed annotation");
            }
        }
    
        /**
         * A provider wrapping an existing provider with a cache
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java

    import org.apache.maven.api.annotations.Nonnull;
    
    public interface ExtensibleEnumRegistry<T extends ExtensibleEnum> extends Service {
        @Nonnull
        Optional<T> lookup(@Nonnull String id);
    
        @Nonnull
        default T require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

                }
            }
        }
    
        @Override
        public ArtifactHandler getArtifactHandler(String id) {
            return allHandlers.computeIfAbsent(id, k -> {
                Type type = typeRegistry.require(id);
                return new DefaultArtifactHandler(
                        id,
                        type.getExtension(),
                        type.getClassifier(),
                        null,
                        null,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

         * anything useful.
         */
        @Test
        void testMojoThatRequiresExecutionToAGivenPhaseBeforeExecutingItself() throws Exception {}
    
        // test that mojo which does not require dependency resolution trigger no downloading of dependencies
    
        // test interpolation of basedir values in mojo configuration
    
        // test a build where projects use different versions of the same plugin
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            // Here we will actually not have any artifacts because the ProjectDependenciesResolver is not involved here. So
            // right now it's not valid to ask for artifacts unless plugins require the artifacts.
    
            project.getCompileClasspathElements();
        }
    
        @Test
        void testBuildFromModelSource() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
Back to top