Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for getPomFile (0.06 sec)

  1. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java

            this.dependencyResolutionResult = null;
        }
    
        @Override
        public String getProjectId() {
            return projectId;
        }
    
        @Override
        public File getPomFile() {
            return pomFile;
        }
    
        @Override
        public MavenProject getProject() {
            return project;
        }
    
        @Override
        public List<ModelProblem> getProblems() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

            super(pomFile);
        }
    
        /**
         *
         * @return the file of this source
         *
         * @deprecated instead use {@link #getFile()}
         */
        @Deprecated
        public File getPomFile() {
            return getFile();
        }
    
        @Override
        public ModelSource2 getRelatedSource(String relPath) {
            relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Apr 14 13:42:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. 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;
        }
    
        @Override
        public MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         * Gets the POM file of the project to build.
         *
         * @return The POM file of the project or {@code null} if not applicable (i.e. when processing a POM from the
         *         repository).
         */
        File getPomFile();
    
        /**
         * Sets the POM file of the project to build. Note that providing the path to a POM file via this method will make
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/mdo/maven.mdo

         *         project (e.g. describes the metadata of some artifact from the repository).
         */
        @Deprecated
        public java.io.File getPomFile() {
            return (getDelegate().getPomFile() != null) ? getDelegate().getPomFile().toFile() : null;
        }
    
        @Deprecated
        public void setPomFile(java.io.File pomFile) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        projectRepositories.put(project.getId(), mergedRepositories);
    
                        Path parentPomFile = parentModel.getPomFile();
                        if (parentPomFile != null) {
                            project.setParentFile(parentPomFile.toFile());
                            try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
Back to top