Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 50 for setModel (0.04 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java

         */
        boolean matchesRequirements(Map<String, String> requirements);
    
        /**
         *
         * @return the original model wrapped by this interface
         */
        ToolchainModel getModel();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        /**
         * {@return the project model}.
         */
        @Nonnull
        Model getModel();
    
        /**
         * Shorthand method.
         *
         * @return the build element of the project model
         */
        @Nonnull
        default Build getBuild() {
            Build build = getModel().getBuild();
            return build != null ? build : Build.newInstance();
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java

            this.model = model;
            this.request = request;
            this.problems = problems;
        }
    
        @Override
        public Model getModel() {
            return model;
        }
    
        @Override
        public ModelBuildingRequest getRequest() {
            return request;
        }
    
        @Override
        public ModelProblemCollector getProblems() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

    /**
     * Represents a maven plugin runtime
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Plugin {
    
        @Nonnull
        org.apache.maven.api.model.Plugin getModel();
    
        @Nonnull
        PluginDescriptor getDescriptor();
    
        @Nonnull
        List<Lifecycle> getLifecycles();
    
        @Nonnull
        ClassLoader getClassLoader();
    
        @Nonnull
        Artifact getArtifact();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

        private List<String> fatals = new ArrayList<>();
    
        public SimpleProblemCollector() {}
    
        public SimpleProblemCollector(Model model) {
            this.model = model;
        }
    
        public Model getModel() {
            return model;
        }
    
        public List<String> getWarnings() {
            return warnings;
        }
    
        public List<String> getErrors() {
            return errors;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

            return result;
        }
    
        /**
         * Gets the model that could not be built properly.
         *
         * @return The erroneous model or {@code null} if not available.
         */
        public Model getModel() {
            if (result == null) {
                return null;
            }
            if (result.getEffectiveModel() != null) {
                return result.getEffectiveModel();
            }
            return result.getRawModel();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

            Parent parent = new Parent();
            parent.setGroupId(parentProject.getGroupId());
            parent.setArtifactId(parentProject.getArtifactId());
            project.getModel().setParent(parent);
            return project;
        }
    
        private MavenProject getMavenProject(String artifactId) {
            MavenProject mavenProject = new MavenProject();
            mavenProject.setGroupId(GROUP_ID);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 20:39:03 GMT 2025
    - 28K bytes
    - Click Count (0)
  8. src/archive/zip/struct.go

    		mode = msdosModeToFileMode(h.ExternalAttrs)
    	}
    	if len(h.Name) > 0 && h.Name[len(h.Name)-1] == '/' {
    		mode |= fs.ModeDir
    	}
    	return mode
    }
    
    // SetMode changes the permission and mode bits for the [FileHeader].
    func (h *FileHeader) SetMode(mode fs.FileMode) {
    	h.CreatorVersion = h.CreatorVersion&0xff | creatorUnix<<8
    	h.ExternalAttrs = fileModeToUnixMode(mode) << 16
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue May 28 21:41:09 GMT 2024
    - 12.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/DefaultPluginPrefixRequest.java

            MavenProject project = session.getCurrentProject();
            if (project != null) {
                setRepositories(project.getRemotePluginRepositories());
                setPom(project.getModel());
            }
    
            setPluginGroups(session.getPluginGroups());
        }
    
        @Override
        public String getPrefix() {
            return prefix;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

            };
        }
    
        @Test
        void testGetModel() {
            ToolchainModel model = new ToolchainModel();
            DefaultToolchain toolchain = newDefaultToolchain(model);
            assertEquals(model, toolchain.getModel());
        }
    
        @Test
        void testGetType() {
            ToolchainModel model = new ToolchainModel();
            DefaultToolchain toolchain = newDefaultToolchain(model, "TYPE");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top