Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for parse (0.14 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

    /**
     * Service interface to parse {@link Version} and {@link VersionRange}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionParser extends Service {
    
        /**
         * Parses the specified version string, for example "1.0".
         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

         * @return the parsed version, never {@code null}
         * @throws VersionParserException if the string violates the syntax rules of this scheme
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
         * Parses the specified version range specification, for example "[1.0,2.0)".
         *
         * @param range the range specification to parse, must not be {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

                try {
                    this.delegate = versionScheme.parseVersion(delegateValue);
                } catch (InvalidVersionSpecificationException e) {
                    throw new VersionParserException("Unable to parse version: " + delegateValue, e);
                }
            }
    
            @Override
            public int compareTo(Version o) {
                if (o instanceof DefaultVersion) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformation.java

                } else {
                    logger.warn("Could not locate " + resource + " on classpath, Maven runtime information not available");
                }
            } catch (IOException e) {
                String msg = "Could not parse " + resource + ", Maven runtime information not available";
                if (logger.isDebugEnabled()) {
                    logger.warn(msg, e);
                } else {
                    logger.warn(msg);
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 11:03:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/PluginDescriptorParsingException.java

            super(createMessage(plugin, descriptorLocation, e), e);
        }
    
        private static String createMessage(Plugin plugin, String descriptorLocation, Throwable e) {
            String message = "Failed to parse plugin descriptor";
    
            if (plugin != null) {
                message += " for " + plugin.getId();
            }
    
            if (descriptorLocation != null) {
                message += " (" + descriptorLocation + ")";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/LifecycleProvider.java

     * leveraged using the {@link org.apache.maven.api.plugin.annotations.Execute}
     * annotation.  If a {@code META-INF/maven/lifecycle.xml} file is packaged
     * in the plugin, Maven will provide a default implementation that will parse
     * the file and return the contained lifecycle definitions.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface LifecycleProvider {
    
        List<Lifecycle> getLifecycles();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        List<Version> resolveVersionRange(@Nonnull ArtifactCoordinate artifact);
    
        /**
         * Parses the specified version string, for example "1.0".
         * <p>
         * Shortcut for {@code getService(VersionParser.class).parseVersion(...)}.
         *
         * @param version the version string to parse
         * @return the version parsed from the given string
         * @throws org.apache.maven.api.services.VersionParserException if the parsing failed
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write model", e);
            }
        }
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                throw new XmlWriterException("Unable to write model: " + getMessage(e), getLocation(e), e);
            }
        }
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

                    } catch (XmlPullParserException e) {
                        throw new ExpressionDocumentationException(
                                "Failed to parse documentation for expression root: " + root, e);
                    }
                }
            }
    
            return expressionDocumentation;
        }
    
        /**
         * <expressions>
         * <expression>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
Back to top