Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 637 for specify (0.15 sec)

  1. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

                    "Expected 'UnresolvableModelException' not thrown.");
            assertEquals("The requested parent version range '[1,)' does not specify an upper bound", e.getMessage());
        }
    
        @Test
        void testResolveParentSuccessfullyResolvesExistingParentWithoutRange() throws Exception {
            final Parent parent = new Parent();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

                    () -> newModelResolver().resolveModel(session, parent, new AtomicReference<>()),
                    "Expected 'ModelResolverException' not thrown.");
            assertEquals("The requested version range '[1,)' does not specify an upper bound", e.getMessage());
        }
    
        @Test
        void testResolveParentSuccessfullyResolvesExistingParentWithoutRange() throws Exception {
            final Parent parent = Parent.newBuilder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

         */
        public Lifecycle get(String phase) {
            return getPhaseToLifecycleMap().get(phase);
        }
    
        /**
         * We use this to map all phases to the lifecycle that contains it. This is used so that a user can specify the
         * phase they want to execute and we can easily determine what lifecycle we need to run.
         *
         * @return A map of lifecycles, indexed on id
         */
        public Map<String, Lifecycle> getPhaseToLifecycleMap() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        @Test
        void testFileSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <type>String</type>
              <defaultValue>per-lookup</defaultValue>
              <description>Specify the instantiation strategy.</description>
            </field>
            <field>
              <name>executionStrategy</name>
              <version>1.0.0/1.1.0</version>
              <type>String</type>
              <description>
                Specify the execution strategy: {@code once-per-session}, {@code always}.
              </description>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                    throw new UnresolvableModelException(
                            String.format(
                                    "The requested parent version range '%s' does not specify an upper bound",
                                    parent.getVersion()),
                            parent.getGroupId(),
                            parent.getArtifactId(),
                            parent.getVersion());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

                    } else if (unknown) {
                        // More than one filtered value, and we don't know how to handle at least one of them.
                        // TODO: add a plugin mechanism for allowing plugin to specify their selection algorithm.
                        return Optional.empty();
                    }
                }
            }
            if (classes & modules) {
                selected = getPathType(path);
            }
    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)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

                    } else if (unknown) {
                        // More than one filtered value, and we don't know how to handle at least one of them.
                        // TODO: add a plugin mechanism for allowing plugin to specify their selection algorithm.
                        return Optional.empty();
                    }
                }
            }
            if (classes & modules) {
                selected = getPathType(path);
            }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         * the dependency will be unconditionally placed on the specified type of path
         * and no heuristic rule will be involved.
         *
         * <p>It is nevertheless common to specify two or more types of path. For example,
         * a Java library may be compatible with either the class-path or the module-path,
         * and the user may have provided no instruction about which type to use. In such
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. maven-core/src/site/apt/configuration-management.apt

     have properties file (something I would like to avoid) say they don't
     contribute in any meaningful way to information in the POM. For example a
     properties file could be used the specify $ so it can be interpolated in
     <developerConnection/> but you couldn't use a properties file to specify the
     version of your project say. Anyway, food for thought to begin with.
    
     - elements that are critical for pom dissemination
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top