Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for constant (0.23 sec)

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

                        problems.add(
                                Severity.FATAL,
                                ModelProblem.Version.V31,
                                "Version must be a constant",
                                childModel.getLocation(""));
    
                    } else {
                        if (rawChildVersionReferencesParent(rawChildModelVersion)) {
    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)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

     * or module hierarchy, but not module source hierarchy. The latter is excluded because this class
     * is for path elements of compiled codes.
     */
    class PathModularization {
        /**
         * A unique constant for all non-modular dependencies.
         */
        public static final PathModularization NONE = new PathModularization();
    
        /**
    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/PathModularization.java

     * or module hierarchy, but not module source hierarchy. The latter is excluded because this class
     * is for path elements of compiled codes.
     */
    class PathModularization {
        /**
         * A unique constant for all non-modular dependencies.
         */
        public static final PathModularization NONE = new PathModularization();
    
        /**
    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)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

         */
        private static final String PATH_SEP = System.getProperty("path.separator");
    
        static {
            // Those two public constants are initialized here, as they need all the private constants
            // above to be initialized first, but the code style imposes the public constants to be
            // defined above the private ones...
            OS_FAMILY = getOsFamily();
            IS_WINDOWS = isFamily(FAMILY_WINDOWS);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                if (writer != null) {
                    new MavenStaxWriter().write(writer, content);
                } else if (outputStream != null) {
                    new MavenStaxWriter().write(outputStream, content);
                } else {
                    try (OutputStream os = Files.newOutputStream(path)) {
                        new MavenStaxWriter().write(outputStream, content);
                    }
                }
            } catch (Exception e) {
    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)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

         */
        @Nonnull
        VersionRange parseVersionRange(@Nonnull String range);
    
        /**
         * Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)".
         *
         * @param constraint the range specification to parse, must not be {@code null}
         * @return the parsed version constraint, never {@code null}
         * @throws VersionParserException if the range specification violates the syntax rules of this scheme
         */
    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)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            requireNonNull(constraint, "constraint");
            return new DefaultVersionConstraint(versionScheme, constraint);
        }
    
        static class DefaultVersion implements Version {
            private final VersionScheme versionScheme;
    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)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

            }
        }
    
        @Override
        public void write(XmlWriterRequest<PersistedToolchains> request) throws XmlWriterException {
            nonNull(request, "request");
            PersistedToolchains content = Objects.requireNonNull(request.getContent(), "content");
            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null) {
    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)
  9. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     * Provides a basis for testing conflict resolvers.
     *
     */
    @PlexusTest
    @Deprecated
    public abstract class AbstractConflictResolverTest {
        // constants --------------------------------------------------------------
    
        private static final String GROUP_ID = "test";
    
        // fields -----------------------------------------------------------------
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            maybeWarnAboutCleanUp();
    
            super.finalize();
        }
    
        public File createFile(String filename, String content, String encoding) throws IOException {
            File dir = createTempDir();
            return createFile(dir, filename, content, encoding);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top