Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getProjectId (0.13 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLogger.java

        private org.slf4j.Logger logger;
        private String projectId;
    
        public Slf4jLogger(org.slf4j.Logger logger) {
            this.logger = logger;
            this.projectId = ProjectBuildLogAppender.getProjectId();
        }
    
        public void debug(String message) {
            setMdc();
            logger.debug(message);
        }
    
        public void debug(String message, Throwable throwable) {
            setMdc();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                ExceptionSummary child = handle(problem, result.getProjectId());
                if (child != null) {
                    children.add(child);
                }
            }
    
            if (children.isEmpty()) {
                return null;
            }
    
            String message = System.lineSeparator()
                    + "The project " + (result.getProjectId().isEmpty() ? "" : result.getProjectId() + " ")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                }
                return new ProjectBuilderResult() {
                    @Nonnull
                    @Override
                    public String getProjectId() {
                        return res.getProjectId();
                    }
    
                    @Nonnull
                    @Override
                    public Optional<Path> getPomFile() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java

            return "Dependency: " + ArtifactUtils.versionlessKey(dependency.getGroupId(), dependency.getArtifactId());
        }
    
        public Dependency getDependency() {
            return dependency;
        }
    
        public String getProjectId() {
            return projectId;
        }
    
        public File getPomFile() {
            return pomFile;
        }
    
        public InvalidVersionSpecificationException getCauseException() {
            return cause;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

            this.projectId = projectId;
        }
    
        public MojoFailureException getMojoFailureException() {
            return (MojoFailureException) getCause();
        }
    
        public String getProjectId() {
            return projectId;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

         * is thrown so this information is merely meant to assist the user.
         *
         * @return the identifier of the project or an empty string if not known, never {@code null}
         */
        @Nonnull
        String getProjectId();
    
        /**
         * Gets the POM file from which the project was built.
         *
         * @return the optional POM file
         */
        @Nonnull
        Optional<Path> getPomFile();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

        }
    
        private ProjectBuildingException transformError(ProjectBuildingException e) {
            if (e.getCause() instanceof ModelBuildingException) {
                return new InvalidProjectModelException(e.getProjectId(), e.getMessage(), e.getPomFile());
            }
    
            return e;
        }
    
        public MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top