Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getPomPath (0.13 sec)

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

            this.request = request;
        }
    
        @Deprecated
        @Override
        public File getPomFile() {
            return request.getPomFile();
        }
    
        @Override
        public Path getPomPath() {
            return request.getPomPath();
        }
    
        @Deprecated
        @Override
        public ModelBuildingRequest setPomFile(File pomFile) {
            request.setPomFile(pomFile);
            return this;
        }
    
        @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-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            buffer.append(toId(model));
    
            Path pomPath = model.getPomPath();
            if (pomPath != null) {
                buffer.append(" (").append(pomPath).append(')');
            }
    
            return buffer.toString();
        }
    
        static String toPath(Model model) {
            String path = "";
    
            if (model != null) {
                Path pomPath = model.getPomPath();
    
                if (pomPath != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

     * ProjectManager} service.
     * <p>
     * Projects are created using the {@code ProjectBuilder} from a POM file
     * (usually named {@code pom.xml}) on the file system.
     * The {@link #getPomPath()} will point to the POM file and the
     * {@link #getBasedir()} to the directory parent containing the
     * POM file.
     * </p>
     *
     * @since 4.0.0
     * @see org.apache.maven.api.services.ProjectManager
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. 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) {
            setPomPath(request.getPomPath());
            setModelSource(request.getModelSource());
            setValidationLevel(request.getValidationLevel());
            setProcessPlugins(request.isProcessPlugins());
            setTwoPhaseBuilding(request.isTwoPhaseBuilding());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            request.session(iSession);
            // in order to resolve parents, we need to fake being at the correct location
            request.source(new PomConsumerModelSource(project.getModel().getPomPath(), src));
            request.locationTracking(false);
            request.systemProperties(session.getSystemProperties());
            request.userProperties(session.getUserProperties());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

            return packaging;
        }
    
        @Nonnull
        @Override
        public Model getModel() {
            return project.getModel().getDelegate();
        }
    
        @Nonnull
        @Override
        public Path getPomPath() {
            return nonNull(project.getFile(), "pomPath").toPath();
        }
    
        @Override
        public Path getBasedir() {
            return nonNull(project.getBasedir(), "basedir").toPath();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         * @deprecated Use {@link #getPomPath()} instead.
         */
        @Deprecated
        File getPomFile();
    
        /**
         * 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).
         * @since 4.0.0
         */
        Path getPomPath();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                    Model model = findRawModel(from, gId, aId);
                    if (model != null) {
                        context.modelByGA.put(new GAKey(gId, aId), new Holder(model));
                        context.modelByPath.put(model.getPomPath(), new Holder(model));
                    }
                    return model;
                }
    
                @Override
                public Model getRawModel(Path from, Path path) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                                    + " on class: ")
                            .setException(e);
                    problems.add(mpcr);
                }
            }
            interpolatedModel.setPomPath(model.getPomPath());
    
            // restore profiles with file activation to their value before full interpolation
            injectProfileActivations(model, originalActivations);
    
            return interpolatedModel;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

         *         project (e.g. describes the metadata of some artifact from the repository).
         */
        public java.nio.file.Path getPomPath() {
            return (getDelegate().getPomFile() != null) ? getDelegate().getPomFile() : null;
        }
    
        public void setPomPath(java.nio.file.Path pomPath) {
            update( getDelegate().withPomFile(pomPath));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top