Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for getPomFile (0.07 seconds)

  1. 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;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  2. 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;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (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}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. 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);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java

        protected ModelBuildingRequest request;
    
        FilterModelBuildingRequest(ModelBuildingRequest request) {
            this.request = request;
        }
    
        @Override
        public File getPomFile() {
            return request.getPomFile();
        }
    
        @Override
        public FilterModelBuildingRequest setPomFile(File pomFile) {
            request.setPomFile(pomFile);
    
            return this;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationTask.java

        private final RegularFileProperty pomFile = getProject().getObjects().fileProperty();
    
        private boolean foundError;
    
        @InputFile
        public RegularFileProperty getPomFile() {
            return pomFile;
        }
    
        @TaskAction
        public void checkPom() throws Exception {
            try (FileReader fileReader = new FileReader(pomFile.getAsFile().get())) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  7. 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() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Sep 13 09:44:11 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

         *
         * @param request The request to copy, must not be {@code null}.
         */
        public DefaultModelBuildingRequest(ModelBuildingRequest request) {
            setPomFile(request.getPomFile());
            setModelSource(request.getModelSource());
            setValidationLevel(request.getValidationLevel());
            setProcessPlugins(request.isProcessPlugins());
            setTwoPhaseBuilding(request.isTwoPhaseBuilding());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            buffer.append(toId(model));
    
            File pomFile = model.getPomFile();
            if (pomFile != null) {
                buffer.append(" (").append(pomFile).append(')');
            }
    
            return buffer.toString();
        }
    
        static String toPath(Model model) {
            String path = "";
    
            if (model != null) {
                File pomFile = model.getPomFile();
    
                if (pomFile != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationPrecommitPlugin.java

                        .withType(GenerateMavenPom.class)
                        .getByName("generatePomFileFor" + publicationName + "Publication");
                    task.dependsOn(generateMavenPom);
                    task.getPomFile().fileValue(generateMavenPom.getDestination());
                });
            });
    
            return validatePom;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 11 07:30:51 GMT 2021
    - 1.9K bytes
    - Click Count (0)
Back to Top