Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for Input (0.15 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/PathTranslator.java

         * platform-specific file separator if a base directory is given. Otherwise, the input path will be returned
         * unaltered.
         *
         * @param path The path to resolve, may be {@code null}.
         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
         * @return The resolved path or {@code null} if the input path was {@code null}.
         * @since 4.0.0
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

        private boolean insideGet;
    
        @Deprecated
        protected void getTransfer(Resource resource, File destination, InputStream input, boolean closeInput, int maxSize)
                throws TransferFailedException {
            addTransfer("getTransfer " + resource.getName());
            super.getTransfer(resource, destination, input, closeInput, maxSize);
        }
    
        public void get(String resourceName, File destination)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        // -----------------------------------------------------------------------------------------------
    
        // TODO These two tests display a lack of symmetry with respect to the input which is a free form string and the
        //      mojo descriptor which comes back. All the free form parsing needs to be done somewhere else, this is
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

            }
            descriptors = Collections.emptyMap();
            isModuleHierarchy = false;
        }
    
        /**
         * Returns the module name declared in the given {@code module-info} descriptor.
         * 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();
        }
    
    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)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            if (!Files.exists(metadataPath)) {
                return Metadata.newInstance();
            }
    
            try (InputStream input = Files.newInputStream(metadataPath)) {
                return new MetadataStaxReader().read(input, false);
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryException("Could not parse metadata " + metadataPath + ": " + e.getMessage(), e);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java

    import java.nio.file.Path;
    
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Model;
    
    /**
     * The ModelTransformer is a way to transform the local pom while streaming the input.
     *
     * The {@link #transform(ModelTransformerContext, Model, Path)} method uses a Path on purpose, to ensure the
     * local pom is the original source.
     *
     * @since 4.0.0
     */
    public interface ModelTransformer {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

         * The supplied request may also refer to a single concrete version rather than a version range.
         * In this case though, the result contains simply the (parsed) input version, regardless of the
         * repositories and their contents.
         *
         * @param session the session to use
         * @param artifactCoordinate t
         * @return the version range resolution result
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

        }
    
        @Nonnull
        default T read(@Nonnull InputStream input) throws XmlReaderException {
            return read(input, true);
        }
    
        @Nonnull
        default T read(@Nonnull InputStream input, boolean strict) throws XmlReaderException {
            return read(XmlReaderRequest.builder().inputStream(input).strict(strict).build());
        }
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

            assertEquals("1.2.3-20090413X094722-2", ArtifactUtils.toSnapshotVersion("1.2.3-20090413X094722-2"));
        }
    
        /**
         * Tests that the ordering of the map resembles the ordering of the input collection of artifacts.
         */
        @Test
        void testArtifactMapByVersionlessIdOrdering() throws Exception {
            List<Artifact> list = new ArrayList<>();
            list.add(newArtifact("b"));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Result.java

        }
    
        // helper to determine if problems contain error
        private static boolean hasErrors(Iterable<? extends ModelProblem> problems) {
            for (ModelProblem input : problems) {
                if (input.getSeverity().equals(Severity.ERROR)
                        || input.getSeverity().equals(Severity.FATAL)) {
                    return true;
                }
            }
            return false;
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top