Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for requirements (1.68 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. 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)
  4. 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)
  5. src/cmd/go/testdata/script/mod_go_version_missing.txt

    # When we set -mod=mod, the go version should be updated immediately,
    # to the current version, converting the requirements from eager to lazy.
    #
    # Since we don't know which requirements are actually relevant to the main
    # module, all requirements are added as roots, making the requirements untidy.
    
    go list -mod=mod all
    ! stdout '^example.com/testdep$'
    cmp stdout list-1.txt
    cmpenv go.mod go.mod.untidy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 16:11:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/go/internal/mvs/errors.go

    package mvs
    
    import (
    	"fmt"
    	"strings"
    
    	"golang.org/x/mod/module"
    )
    
    // BuildListError decorates an error that occurred gathering requirements
    // while constructing a build list. BuildListError prints the chain
    // of requirements to the module where the error occurred.
    type BuildListError struct {
    	Err   error
    	stack []buildListErrorElem
    }
    
    type buildListErrorElem struct {
    	m module.Version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 17:22:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/mvs/graph.go

    			}
    		}
    	}
    }
    
    // FindPath reports a shortest requirement path starting at one of the roots of
    // the graph and ending at a module version m for which f(m) returns true, or
    // nil if no such path exists.
    func (g *Graph) FindPath(f func(module.Version) bool) []module.Version {
    	// firstRequires[a] = b means that in a breadth-first traversal of the
    	// requirement graph, the module version a was first required by b.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/list.go

    			err = commitRequirements(ctx, WriteOpts{})
    		}
    	}
    	return mods, err
    }
    
    func listModules(ctx context.Context, rs *Requirements, args []string, mode ListMode, reuse map[module.Version]*modinfo.ModulePublic) (_ *Requirements, mods []*modinfo.ModulePublic, mgErr error) {
    	if len(args) == 0 {
    		var ms []*modinfo.ModulePublic
    		for _, m := range MainModules.Versions() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. 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)
Back to top