Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 622 for if (0.28 sec)

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

         * @throws ToolchainManagerException if an exception occurs
         */
        @Nonnull
        List<Toolchain> getToolchains(@Nonnull Session session, String type, Map<String, String> requirements);
    
        /**
         *
         * @param session
         * @param type
         * @return the selected {@link Toolchain}
         * @throws ToolchainManagerException if an exception occurs
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

        }
    
        @Override
        public String getDirectory() {
            if (directory == null) {
                return getPackaging() + "s";
            }
            return directory;
        }
    
        public void setDirectory(final String directory) {
            this.directory = directory;
        }
    
        @Override
        public String getPackaging() {
            if (packaging == null) {
                return type;
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                for (String phase : lifecycle.getPhases()) {
                    // The first definition wins.
                    if (!phaseToLifecycleMap.containsKey(phase)) {
                        phaseToLifecycleMap.put(phase, lifecycle);
                    } else if (logger.isWarnEnabled()) {
                        Lifecycle original = phaseToLifecycleMap.get(phase);
                        logger.warn(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java

            try {
                DefaultToolchainsBuildingRequest req = new DefaultToolchainsBuildingRequest();
                if (request.getGlobalToolchainsSource().isPresent()) {
                    req.setGlobalToolchainsSource(new MappedToolchainsSource(
                            request.getGlobalToolchainsSource().get()));
                } else if (request.getGlobalToolchainsPath().isPresent()) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Sep 11 16:14:36 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

        }
    
        public void cleanUp() throws IOException {
            for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {
                File file = (File) it.next();
    
                if (file.exists()) {
                    if (file.isDirectory()) {
                        FileUtils.deleteDirectory(file);
                    } else {
                        file.delete();
                    }
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

        private Os() {}
    
        /**
         * Determines if the OS on which Maven is executing matches the
         * given OS family.
         *
         * @param family the family to check for
         * @return true if the OS matches
         *
         */
        public static boolean isFamily(String family) {
            return isFamily(family, OS_NAME);
        }
    
        /**
         * Determines if the OS on which Maven is executing matches the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

         * @return file representing the tool executable, or null if the tool cannot be found
         */
        String findTool(String toolName);
    
        /**
         * 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}
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/prefix/NoPluginFoundForPrefixException.java

            StringBuilder repos = new StringBuilder("[");
    
            if (localRepository != null) {
                repos.append(localRepository.getId())
                        .append(" (")
                        .append(localRepository.getBasedir())
                        .append(")");
            }
    
            if (remoteRepositories != null && !remoteRepositories.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

         *
         * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}.
         * @return {@code true} if the current Maven runtime matches the specified version range, {@code false} otherwise.
         * @throws IllegalArgumentException If the specified version range is {@code null}, empty or otherwise not a valid
         *             version specification.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.9K bytes
    - Viewed (0)
Back to top