Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Read (0.27 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                plugin.setGroupId(tok[0]);
                plugin.setArtifactId(tok[1]);
                plugin.setVersion(tok[2]);
                goal = tok[3];
    
                // This won't be valid, but it constructs something easy to read in the error message
                for (int idx = 4; idx < tok.length; idx++) {
                    goal += ":" + tok[idx];
                }
            } else if (numTokens == 3) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * The input stream may be for a file or for an entry in a JAR file.
         */
        @Nonnull
        private static String getModuleName(InputStream in) throws IOException {
            return ModuleDescriptor.read(in).name();
        }
    
        /**
         * Returns the type of path detected. The return value is {@link JavaPathType#MODULES}
         * if the dependency is a modular JAR file or a directory containing module descriptor(s),
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

            try {
                try (InputStream is = settingsSource.openStream()) {
                    settings = request.getSession()
                            .getService(SettingsXmlFactory.class)
                            .read(XmlReaderRequest.builder()
                                    .inputStream(is)
                                    .location(settingsSource.getLocation())
                                    .strict(true)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                            request.getLocalRepository().getBasedir(),
                            request.getLocalRepository().pathOf(pomArtifact));
    
                    try {
                        Model model = modelReader.read(pomFile, null).getDelegate();
    
                        dependencies = Dependency.dependencyToApiV3(model.getDependencies());
                    } catch (IOException e) {
                        e.printStackTrace();
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * The input stream may be for a file or for an entry in a JAR file.
         */
        @Nonnull
        private static String getModuleName(InputStream in) throws IOException {
            return ModuleDescriptor.read(in).name();
        }
    
        /**
         * Returns the type of path detected. The return value is {@link JavaPathType#MODULES}
         * if the dependency is a modular JAR file or a directory containing module descriptor(s),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
                                versioning =
                                        new MetadataStaxReader().read(in, false).getVersioning();
                            }
                        }
                    }
                }
            } catch (Exception e) {
                invalidMetadata(session, trace, metadata, repository, e);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                return new Metadata(new MetadataStaxReader().read(in, false));
            } catch (FileNotFoundException e) {
                throw new RepositoryMetadataReadException("Cannot read metadata from '" + mappingFile + "'", e);
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryMetadataReadException(
                        "Cannot read metadata from '" + mappingFile + "': " + e.getMessage(), e);
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
                                versioning =
                                        new MetadataStaxReader().read(in, false).getVersioning();
    
                                /*
                                NOTE: Users occasionally misuse the id "local" for remote repos which screws up the metadata
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

        }
    
        // org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process
        // TODO take repo mans into account as one may be aggregating prefixes of many
        // TODO collect at the root of the repository, read the one at the root, and fetch remote if something is missing
        // or the user forces the issue
    
        private List<MojoExecution> calculateForkedGoal(
                MojoExecution mojoExecution,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            sessionBuilder.setArtifactTypeRegistry(new TypeRegistryAdapter(typeRegistry)); // dynamic
            sessionBuilder.setCache(request.getRepositoryCache());
    
            // this map is read ONLY to get config from (profiles + env + system + user)
            Map<String, String> mergedProps = createMergedProperties(request);
    
            // configProps map is kept "pristine", is written ONLY, the mandatory resolver config
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top