Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 632 for if (0.12 sec)

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

         */
        @Nonnull
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return the one-based index of the line containing the problem or a non-positive value if unknown
         */
        int getLineNumber();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

     * If plugin or extension needs anything more complex feature wise (i.e. HTTP range support or alike) it should
     * probably roll its own.
     * <p>
     * This implementation is backed by Maven Resolver API, supported protocols and transport selection depends on it. If
     * resolver preference regarding transport is altered, it will affect this service as well.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top