Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for strict (0.18 sec)

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

                            .read(XmlReaderRequest.builder()
                                    .inputStream(is)
                                    .location(toolchainsSource.getLocation())
                                    .strict(true)
                                    .build());
                } catch (XmlReaderException e) {
                    InputStream is = toolchainsSource.openStream();
                    if (is == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                        ActivationFile target) {
                    final String path = target.getExists();
                    final String xformed = transformPath(path, target, "exists");
                    return xformed != path ? (builder != null ? builder : creator.get()).exists(xformed) : builder;
                }
    
                private String transformPath(String path, ActivationFile target, String locationKey) {
                    if (isNotEmpty(path)) {
    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)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

             * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from
             * aftereffects and bogus error messages.
             */
            List<Dependency> dependencies = model.getDependencies();
            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java

        }
    
        private Model readModel(String version, String v) {
            String resource = "/org/apache/maven/model/pom-" + v + ".xml";
            URL url = getClass().getResource(resource);
            if (url == null) {
                throw new IllegalStateException("The super POM " + resource + " was not found"
                        + ", please verify the integrity of your Maven installation");
            }
            try (InputStream is = url.openStream()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                            .read(XmlReaderRequest.builder()
                                    .inputStream(is)
                                    .location(settingsSource.getLocation())
                                    .strict(true)
                                    .build());
                } catch (XmlReaderException e) {
                    try (InputStream is = settingsSource.openStream()) {
                        settings = request.getSession()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            ModelSource source;
            boolean projectBuild;
            boolean processPlugins = true;
            Collection<Profile> profiles;
            List<String> activeProfileIds;
            List<String> inactiveProfileIds;
            Map<String, String> systemProperties;
            Map<String, String> userProperties;
            ModelResolver modelResolver;
            ModelRepositoryHolder modelRepositoryHolder;
            ModelCache modelCache;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

     */
    @Experimental
    @Consumer
    public interface ModelParser extends SpiService {
    
        /**
         * Option that can be specified in the options map.  The value should be a Boolean.
         */
        String STRICT = "strict";
    
        /**
         * Locates the pom in the given directory.
         *
         * @param dir the directory to locate the pom for, never {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

                for (ModelParser parser : modelParsers) {
                    try {
                        Optional<Model> model =
                                parser.locateAndParse(projectDirectory, Map.of(ModelParser.STRICT, request.isStrict()));
                        if (model.isPresent()) {
                            return model.get().withPomFile(pomFile);
                        }
                    } catch (ModelParserException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        private PomTestWrapper buildPom(String pomPath, String... profileIds) throws Exception {
            return buildPom(pomPath, null, null, profileIds);
        }
    
        private PomTestWrapper buildPom(
                String pomPath, Properties systemProperties, Properties userProperties, String... profileIds)
                throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

            } catch (XMLStreamException e) {
                throw new MetadataParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        private boolean isStrict(Map<String, ?> options) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top