Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for uniques (0.15 sec)

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

                    () -> buildPom("unique-repo-id/artifact-repo"),
                    "Non-unique repository ids did not cause validation error");
        }
    
        /* MNG-4193 */
        @Test
        void testValidationErrorUponNonUniquePluginRepositoryId() throws Exception {
            assertThrows(
                    ProjectBuildingException.class,
                    () -> buildPom("unique-repo-id/plugin-repo"),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  2. maven-core/src/site/apt/inheritance.apt

           declaration is required.
    
       - [name] tells maven what the user-friendly name of this project is. The name
           element is similar to artifactId in that it is a unique descriptor for
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jul 18 17:22:19 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

                }
            }
    
            /*
             * NOTE: This is primarily to keep backward-compat with Maven 2.x which did not validate that dependencies are
             * unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of
             * the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

            <field xdoc.separator="blank">
              <name>groupId</name>
              <version>3.0.0+</version>
              <required>true</required>
              <description>
                A universally unique identifier for a project. It is normal to
                use a fully-qualified package name to distinguish it from other
                projects with a similar name (eg. {@code org.apache.maven}).
              </description>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  5. 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)
  6. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

            validator.validate(settings, problems);
            assertEquals(1, problems.messages.size());
            assertContains(
                    problems.messages.get(0), "'servers.server.id' must be unique but found duplicate server with id test");
        }
    
        @Test
        void testValidateUniqueProfileId() throws Exception {
            Settings settings = new Settings();
            Profile profile1 = new Profile();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Artifact {
    
        /**
         * Returns a unique identifier for this artifact.
         * The identifier is composed of groupId, artifactId, extension, classifier, and version.
         *
         * @return the unique identifier
         */
        @Nonnull
        default String key() {
            return getGroupId()
                    + ':'
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 15 15:48:33 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

        String CLEAN = "clean";
    
        String DEFAULT = "default";
    
        String SITE = "site";
    
        String WRAPPER = "wrapper";
    
        /**
         * Name or identifier of this lifecycle.
         *
         * @return the unique identifier for this lifecycle
         */
        @Override
        String id();
    
        /**
         * Collection of phases for this lifecycle
         */
        Collection<Phase> phases();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java

                return null;
            }
            return sources.stream()
                    .reduce((a, b) -> {
                        throw new IllegalStateException(String.format(
                                "No unique Source for %s:%s: %s and %s",
                                groupId, artifactId, a.getLocation(), b.getLocation()));
                    })
                    .orElse(null);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        private boolean blocked;
    
        public MavenArtifactRepository() {}
    
        /**
         * Create a remote download repository.
         *
         * @param id        the unique identifier of the repository
         * @param url       the URL of the repository
         * @param layout    the layout of the repository
         * @param snapshots the policies to use for snapshots
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
Back to top