Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,064 for require (0.21 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * Shortcut for {@code getService(TypeRegistry.class).require(...)}.
         *
         * @see org.apache.maven.api.services.TypeRegistry#require(String)
         */
        @Nonnull
        Type requireType(@Nonnull String id);
    
        /**
         * Obtain the {@link Language} from the specified {@code id}.
         * <p>
         * Shortcut for {@code getService(LanguageRegistry.class).require(...)}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. maven-core/src/site/apt/offline-mode.apt

        the mojo to the lifecycle.
    
        In this case, the client is <<offline>>, and the mojo does not require
        online status.
    
      * If <<<(offline == false) && (requiresOnline == true)>>>, bind
        the mojo to the lifecycle.
    
        In this case, the client is <<online>>, and the mojo either requires
        <<online>> status, or else doesn't care.
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                        String msg = str + " aggregator mojo is already being executed "
                                + "in this parallel build, those kind of mojos require exclusive access to "
                                + "reactor to prevent race conditions. This mojo execution will be blocked "
                                + "until the aggregator mojo is done.";
                        warn(msg);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/main/mdo/plugin.mdo

          <fields>
            <field>
              <name>groupId</name>
              <required>true</required>
              <version>1.0.0+</version>
              <type>String</type>
              <description>The group id of the dependency.</description>
            </field>
            <field>
              <name>artifactId</name>
              <required>true</required>
              <version>1.0.0+</version>
              <type>String</type>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

        the same other JDK instance without hardcoding absolute paths into the {@code pom.xml}
        and without configuring every plugin that require path to JDK tools.</p>
    
        @see <a href="/guides/mini/guide-using-toolchains.html">Guide to Using Toolchains</a>
        ]]></description>
    
      <defaults>
        <default>
          <key>package</key>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 07 21:28:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. 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)
  9. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                }
            };
        }
    
        @Provides
        static PackagingRegistry newPackagingRegistry(TypeRegistry typeRegistry) {
            return id -> Optional.of(new DumbPackaging(id, typeRegistry.require(id), Map.of()));
        }
    
        @Provides
        static TypeRegistry newTypeRegistry(List<TypeProvider> providers) {
            return new TypeRegistry() {
                @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top