Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for getPomFile (1.05 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";
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. 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) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 2.2K 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 2.6K 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}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 07 08:20:52 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top