Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for requirements (1.98 sec)

  1. maven-core/src/main/java/org/apache/maven/toolchain/ToolchainManager.java

        /**
         * Select all toolchains available in user settings matching the type and requirements,
         * independently from <code>maven-toolchains-plugin</code>.
         *
         * @param session the Maven session, must not be {@code null}
         * @param type the type, must not be {@code null}
         * @param requirements the requirements, may be {@code null}
         * @return the matching toolchains, never {@code null}
         * @since 3.3.0
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchainManager.java

            List<ToolchainModel> models = session.getRequest().getToolchains().get(type);
    
            return selectToolchains(models, type, requirements);
        }
    
        private List<Toolchain> selectToolchains(
                List<ToolchainModel> models, String type, Map<String, String> requirements) {
            List<Toolchain> toolchains = new ArrayList<>();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         *
         * @param requirements key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java

        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         * @param requirements Map&lt;String, String&gt; key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    
        /**
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

        public List<Toolchain> getToolchains(Session session, String type, Map<String, String> requirements)
                throws ToolchainManagerException {
            MavenSession s = InternalMavenSession.from(session).getMavenSession();
            List<org.apache.maven.toolchain.Toolchain> toolchains =
                    toolchainManagerPrivate.getToolchains(s, type, requirements);
            return new MappedList<>(toolchains, this::toToolchain);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

            provides.put(type, matcher);
        }
    
        @Override
        public boolean matchesRequirements(Map<String, String> requirements) {
            for (Map.Entry<String, String> requirement : requirements.entrySet()) {
                String key = requirement.getKey();
    
                RequirementMatcher matcher = provides.get(key);
    
                if (matcher == null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

        <p>The <a href="/plugins/maven-toolchains-plugin/">toolchains-plugin</a> can read available toolchains on the user's computer
        and match them against the toolchain requirements of the project (as configured in {@code pom.xml}):
        if match is found, the toolchain instance is made available to other Maven plugins.</p>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.classrealm;
    
    import java.util.List;
    import java.util.Map;
    
    /**
     * Describes the requirements for a new class realm.
     *
     */
    public interface ClassRealmRequest {
    
        /**
         * The type of a class realm.
         */
        enum RealmType {
            /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ConcurrencyDependencyGraph.java

        }
    
        private List<MavenProject> getSchedulableNewProcesses(MavenProject finishedProject) {
            List<MavenProject> result = new ArrayList<>();
            // schedule dependent projects, if all of their requirements are met
            for (MavenProject dependentProject : projectDependencyGraph.getDownstreamProjects(finishedProject, false)) {
                final List<MavenProject> upstreamProjects =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Requirement.java

     */
    package org.apache.maven.plugin.descriptor;
    
    /**
     * Describes a component requirement.
     *
     */
    public class Requirement implements Cloneable {
        private final String role;
    
        private final String roleHint;
    
        public Requirement(String role) {
            this.role = role;
            this.roleHint = null;
        }
    
        public Requirement(String role, String roleHint) {
            this.role = role;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top