Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for model_b (0.17 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            List<Model> lineage = new ArrayList<>();
    
            for (ModelData currentData = resultData; ; ) {
                String modelId = currentData.id();
                result.addModelId(modelId);
    
                Model model = currentData.model();
                result.setRawModel(modelId, model);
                problems.setSource(model);
    
                // model normalization
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                    }
                    logger.warn(MultilineMessageHelper.separatorLine());
                }
            }
    
            final String defaulModelId = DefaultLifecyclePluginAnalyzer.DEFAULTLIFECYCLEBINDINGS_MODELID;
    
            List<String> unversionedPlugins = executionPlan.getMojoExecutions().stream()
                    .map(MojoExecution::getPlugin)
                    .filter(p -> p.getLocation("version") != null
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         *
         * @param modelId The identifier of the desired raw model, must not be {@code null}.
         * @return The raw model or {@code null} if the specified model id does not refer to a known model.
         */
        @Nonnull
        Optional<Model> getRawModel(@Nonnull String modelId);
    
        /**
         * Gets the profiles from the specified model that were active during model building. The model identifier should be
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                }
    
                org.apache.maven.api.model.ActivationOS modelOs = modelActivation.getOs();
    
                if (modelOs != null) {
                    ActivationOS os = ActivationOS.newBuilder()
                            .arch(modelOs.getArch())
                            .family(modelOs.getFamily())
                            .name(modelOs.getName())
                            .version(modelOs.getVersion())
                            .build();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java

         */
        private static final Map<String, Model> SUPER_MODELS = new ConcurrentHashMap<>();
    
        @Inject
        public DefaultSuperPomProvider(ModelProcessor modelProcessor) {
            this.modelProcessor = modelProcessor;
        }
    
        @Override
        public Model getSuperPom(String version) {
            return SUPER_MODELS.computeIfAbsent(Objects.requireNonNull(version), v -> readModel(version, v));
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        public MavenProject() {
            Model model = new Model();
    
            model.setGroupId(EMPTY_PROJECT_GROUP_ID);
            model.setArtifactId(EMPTY_PROJECT_ARTIFACT_ID);
            model.setVersion(EMPTY_PROJECT_VERSION);
    
            setModel(model);
        }
    
        public MavenProject(org.apache.maven.api.model.Model model) {
            this(new Model(model));
        }
    
        public MavenProject(Model model) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

    import org.apache.maven.lifecycle.mapping.LifecycleMojo;
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    import org.apache.maven.model.InputLocation;
    import org.apache.maven.model.InputSource;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilderResult.java

            this.problems.addAll(result.getProblems());
    
            for (String modelId : result.getModelIds()) {
                this.modelIds.add(modelId);
                this.rawModels.put(modelId, result.getRawModel(modelId).orElseThrow());
                this.activePomProfiles.put(modelId, result.getActivePomProfiles(modelId));
            }
        }
    
        @Override
        public Model getFileModel() {
            return fileModel;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

            public XmlReaderRequestBuilder strict(boolean strict) {
                this.strict = strict;
                return this;
            }
    
            public XmlReaderRequestBuilder modelId(String modelId) {
                this.modelId = modelId;
                return this;
            }
    
            public XmlReaderRequestBuilder location(String location) {
                this.location = location;
                return this;
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

            problems.clear();
            problems = validator.validate(model2);
            assertEquals(2, problems.size());
    
            repo = repo.withUrl("http://xxx.xxx.com");
            model2 = Settings.newBuilder()
                    .profiles(List.of(prof.withRepositories(List.of(repo))))
                    .build();
            problems.clear();
            problems = validator.validate(model2);
            assertEquals(1, problems.size());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top