Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for ready (0.15 sec)

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

                if (reader != null) {
                    return xml.read(reader, request.isStrict(), source);
                } else {
                    return xml.read(inputStream, request.isStrict(), source);
                }
            } catch (Exception e) {
                throw new XmlReaderException("Unable to read settings: " + getMessage(e), getLocation(e), e);
            }
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            try (InputStream fis = Files.newInputStream(path)) {
                byte[] buffer = new byte[SHA1_BUFFER_SIZE];
                int read;
                while ((read = fis.read(buffer)) != -1) {
                    md.update(buffer, 0, read);
                }
            }
            StringBuilder result = new StringBuilder();
            for (byte b : md.digest()) {
                result.append(String.format("%02x", b));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.1K 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. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

        @Nullable
        String getModelId();
    
        @Nullable
        String getLocation();
    
        boolean isAddDefaultEntities();
    
        interface Transformer {
            /**
             * Interpolate the value read from the xml document
             *
             * @param source    The source value
             * @param fieldName A description of the field being interpolated. The implementation may use this to
             *                  log stuff.
    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)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            moduleInfo = new HashMap<>();
            pathTypes = new HashMap<>();
        }
    
        /**
         * Gets module information for the given JAR file or output directory.
         * Module descriptors are read when first requested, then cached.
         */
        PathModularization getModuleInfo(Path path) throws IOException {
            PathModularization info = moduleInfo.get(path);
            if (info == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

                throws IOException;
    
        /**
         * Calculates checksums for specified stream. Upon this method returns, the stream will be depleted (fully read)
         * but not closed.
         *
         * @param stream      The stream for which to calculate checksums, must not be {@code null}.
         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  7. 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)
  8. maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

         * @param session The build session in whose context the mojo will be used, must not be {@code null}.
         * @param mojoExecution The mojo execution to retrieve the mojo for, must not be {@code null}.
         * @return The ready-to-execute mojo, never {@code null}.
         */
        <T> T getConfiguredMojo(Class<T> mojoInterface, MavenSession session, MojoExecution mojoExecution)
                throws PluginConfigurationException, PluginContainerException;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            return null;
        }
    
        private String getError(File touchFile, String key) {
            Properties props = read(touchFile);
            if (props != null) {
                return props.getProperty(key + ERROR_KEY_SUFFIX);
            }
            return null;
        }
    
        private Properties read(File touchfile) {
            if (!touchfile.canRead()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

            try (InputStream inputStream = Files.newInputStream(file)) {
                org.apache.maven.model.Model model =
                        new org.apache.maven.model.Model(new MavenStaxReader().read(inputStream));
                project = new MavenProject(model);
                project.setRootDirectory(Paths.get("src/test/resources/consumer/trivial"));
                project.setOriginalModel(model);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top