Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getPomFile (0.12 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java

        FilterModelBuildingRequest(ModelBuildingRequest request) {
            this.request = request;
        }
    
        @Deprecated
        @Override
        public File getPomFile() {
            return request.getPomFile();
        }
    
        @Override
        public Path getPomPath() {
            return request.getPomPath();
        }
    
        @Deprecated
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. compat/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;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. impl/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;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. impl/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() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. 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}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

            super(pomPath);
        }
    
        /**
         *
         * @return the file of this source
         *
         * @deprecated instead use {@link #getFile()}
         */
        @Deprecated
        public File getPomFile() {
            return getFile();
        }
    
        @Override
        public ModelSource3 getRelatedSource(ModelLocator locator, String relPath) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

            for (Dependency dep : model.getDependencies()) {
                if (dep.getVersion() == null) {
                    Model depModel =
                            context.getRawModel(model.getDelegate().getPomFile(), dep.getGroupId(), dep.getArtifactId());
                    if (depModel != null) {
                        String v = depModel.getVersion();
                        if (v == null && depModel.getParent() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                return null;
            }
    
            String message = System.lineSeparator()
                    + "The project " + (result.getProjectId().isEmpty() ? "" : result.getProjectId() + " ")
                    + "(" + result.getPomFile() + ") has "
                    + children.size() + " error" + (children.size() == 1 ? "" : "s");
    
            return new ExceptionSummary(null, message, null, children);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            setTransformerContextBuilder(request.getTransformerContextBuilder());
            setRootDirectory(request.getRootDirectory());
        }
    
        @Deprecated
        @Override
        public File getPomFile() {
            return pomPath != null ? pomPath.toFile() : null;
        }
    
        @Override
        public Path getPomPath() {
            return pomPath;
        }
    
        @Deprecated
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. 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