Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for getDelegate (0.09 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java

                ModelProblemCollector problems) {
            Model m = new Model(model);
            injectProfile(m, profile != null ? new Profile(profile) : null, request, problems);
            return m.getDelegate();
        }
    
        /**
         * Merges values from the specified profile into the given model. Implementations are expected to keep the profile
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

        @Override
        public void injectManagement(
                org.apache.maven.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            model.update(merger.mergeManagedDependencies(model.getDelegate()));
        }
    
        /**
         * ManagementModelMerger
         */
        protected static class ManagementModelMerger extends MavenModelMerger {
    
            public Model mergeManagedDependencies(Model model) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

        @Override
        public void injectManagement(
                org.apache.maven.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            model.update(merger.mergeManagedBuildPlugins(model.getDelegate()));
        }
    
        /**
         * ManagementModelMerger
         */
        protected static class ManagementModelMerger extends MavenModelMerger {
    
            public Model mergeManagedBuildPlugins(Model model) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            for (MavenProject mavenProject : projects) {
                if (!"maven-plugin".equals(mavenProject.getPackaging())) {
                    Prerequisites prerequisites =
                            mavenProject.getModel().getDelegate().getPrerequisites();
                    if (prerequisites != null && prerequisites.getMaven() != null) {
                        logger.warn(
                                "The project {} uses prerequisites"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        @Nonnull
        @Override
        public Packaging getPackaging() {
            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() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

         */
        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));
        }
    
        public void setModelEncoding(String modelEncoding) {
            update(getDelegate().with().modelEncoding(modelEncoding).build());
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                try (OutputStream output = Files.newOutputStream(metadataFile.toPath())) {
                    MetadataStaxWriter mappingWriter = new MetadataStaxWriter();
                    mappingWriter.write(output, metadata.getDelegate());
                }
            } else {
                metadataFile.setLastModified(System.currentTimeMillis());
            }
        }
    
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

            if (modelV3 == null || basedir == null) {
                return;
            }
    
            Model model = modelV3.getDelegate();
            Build build = model.getBuild();
            Build newBuild = null;
            if (build != null) {
                newBuild = Build.newBuilder(build)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

                }
            }
    
            return path;
        }
    
        static String toId(Model model) {
            if (model == null) {
                return "";
            }
            return toId(model.getDelegate());
        }
    
        static String toId(org.apache.maven.api.model.Model model) {
            String groupId = model.getGroupId();
            if (groupId == null && model.getParent() != 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)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                deferDeleteFile(consumer);
    
                project.addAttachedArtifact(createConsumerPomArtifact(project, consumer, session));
            } else if (project.getModel().getDelegate().isRoot()) {
                throw new IllegalStateException(
                        "The use of the root attribute on the model requires the buildconsumer feature to be active");
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top