Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 51 for getLog (0.06 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

                RequirementMatcher matcher = provides.get(key);
    
                if (matcher == null) {
                    getLog().debug("Toolchain {} is missing required property: {}", this, key);
                    return false;
                }
                if (!matcher.matches(requirement.getValue())) {
                    getLog().debug("Toolchain {} doesn't match required property: {}", this, key);
                    return false;
                }
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

         * <code>"info"</code>, <code>"warn"</code>, and <code>"error"</code>.
         * @deprecated Use SLF4J directly
         */
        @Deprecated
        Log getLog();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

         * method directly whenever you need the logger, it is fast enough and needs no caching.
         *
         * @see org.apache.maven.plugin.Mojo#getLog()
         * @deprecated Use SLF4J directly
         */
        @Deprecated
        @Override
        public Log getLog() {
            if (log == null) {
                log = new SystemStreamLog();
            }
    
            return log;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar

    ojo.class package org.apache.maven.plugin; public abstract synchronized class AbstractMojo implements Mojo, ContextEnabled { private logging.Log log; private java.util.Map pluginContext; public void AbstractMojo(); public void setLog(logging.Log); public logging.Log getLog(); public java.util.Map getPluginContext(); public void setPluginContext(java.util.Map); } org/apache/maven/plugin/AbstractMojoExecutio.class package org.apache.maven.plugin; public abstract synchronized class AbstractMojoExecutio...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

        }
    
        @Test
        void testGetLogger() {
            ToolchainModel model = new ToolchainModel();
            DefaultToolchain toolchain = newDefaultToolchain(model);
            assertEquals(logger, toolchain.getLog());
        }
    
        @Test
        void testMissingRequirementProperty() {
            ToolchainModel model = new ToolchainModel();
            model.setType("TYPE");
            DefaultToolchain toolchain = newDefaultToolchain(model);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                } catch (Exception e) {
                    throw new MojoExecutionException(e);
                }
            }
    
            @Override
            public void setLog(Log log) {}
    
            @Override
            public Log getLog() {
                return null;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. impl/maven-core/pom.xml

                  <exclude>org.apache.maven.toolchain.DefaultToolchain#getLog():METHOD_RETURN_TYPE_CHANGED</exclude>
                  <exclude>org.apache.maven.toolchain.DefaultToolchain#DefaultToolchain(org.apache.maven.toolchain.model.ToolchainModel,org.codehaus.plexus.logging.Logger):CONSTRUCTOR_REMOVED</exclude>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 10:37:56 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

            }
        }
    
        private File getRootProject(MavenExecutionRequest request) {
            Path rootDirectory = request.getRootDirectory();
            if (request.getPom().getParentFile().toPath().equals(rootDirectory)) {
                return request.getPom();
            } else {
                Path rootProjectPom = modelProcessor.locateExistingPom(rootDirectory);
                if (rootProjectPom == null) {
                    LOGGER.info(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                throws MavenExecutionException {
            if (request.getPom() == null) {
                return projects;
            }
    
            MavenProject requestPomProject = projects.stream()
                    .filter(project -> request.getPom().equals(project.getFile()))
                    .findFirst()
                    .orElseThrow(() -> new MavenExecutionException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

            assertEquals(
                    p.getActivation().getOs().getArch(),
                    clone.getActivation().getOs().getArch());
            assertEquals(
                    p.getActivation().getOs().getFamily(),
                    clone.getActivation().getOs().getFamily());
            assertEquals(
                    p.getActivation().getOs().getName(),
                    clone.getActivation().getOs().getName());
            assertEquals(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top