Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getPomFile (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java

            this.projectId = "";
            this.results = results;
        }
    
        public File getPomFile() {
            return pomFile;
        }
    
        /**
         * @deprecated use {@link #getPomFile()}
         */
        @Deprecated
        public String getPomLocation() {
            if (getPomFile() != null) {
                return getPomFile().getAbsolutePath();
            } else {
                return "null";
            }
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java

        }
    
        public Dependency getDependency() {
            return dependency;
        }
    
        public String getProjectId() {
            return projectId;
        }
    
        public File getPomFile() {
            return pomFile;
        }
    
        public InvalidVersionSpecificationException getCauseException() {
            return cause;
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

         */
        @Nonnull
        String getProjectId();
    
        /**
         * Gets the POM file from which the project was built.
         *
         * @return the optional POM file
         */
        @Nonnull
        Optional<Path> getPomFile();
    
        /**
         * Gets the project that was built.
         *
         * @return The project that was built or {@code null} if an error occurred and this result accompanies a
         *         {@link ProjectBuilderException}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java

            buffer.append(toId(model));
            Path pomPath = model.getPomFile();
            if (pomPath != null) {
                buffer.append(" (").append(pomPath).append(')');
            }
            return buffer.toString();
        }
    
        static String toPath(Model model) {
            String path = "";
            if (model != null) {
                Path pomPath = model.getPomFile();
                if (pomPath != null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                        return res.getProjectId();
                    }
    
                    @Nonnull
                    @Override
                    public Optional<Path> getPomFile() {
                        return Optional.ofNullable(res.getPomFile()).map(File::toPath);
                    }
    
                    @Nonnull
                    @Override
                    public Optional<Project> getProject() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingResult.java

         */
        String getProjectId();
    
        /**
         * Gets the POM file from which the project was built.
         *
         * @return The POM file or {@code null} if unknown.
         */
        File getPomFile();
    
        /**
         * Gets the project that was built.
         *
         * @return The project that was built or {@code null} if an error occurred and this result accompanies a
         *         {@link ProjectBuildingException}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/MavenExecutionException.java

            super(message, cause);
            this.pomFile = pomFile;
        }
    
        public MavenExecutionException(String message, Throwable cause) {
            super(message, cause);
        }
    
        public File getPomFile() {
            return pomFile;
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java

            this.dependencyResolutionResult = null;
        }
    
        public String getProjectId() {
            return projectId;
        }
    
        public File getPomFile() {
            return pomFile;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public List<ModelProblem> getProblems() {
            return problems;
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  9. 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 {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        Model model = modelBuilder.buildRawModel(r.request);
                        res = new DefaultProjectBuildingResult(
                                model.getId(),
                                model.getPomFile() != null ? model.getPomFile().toFile() : null,
                                null);
                    } catch (ModelBuilderException e) {
                        failure = true;
                        res = new DefaultProjectBuildingResult(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top