Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for duplicate (0.18 sec)

  1. 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)
  2. maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifact.java

            return (depMngt != null) ? Collections.unmodifiableList(depMngt.getDependencies()) : Collections.emptyList();
        }
    
        // TODO: this is duplicate of PomArtifactHandlerProvider provided one
        static class PomArtifactHandler implements ArtifactHandler {
            @Override
            public String getClassifier() {
                return null;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/artifact/PluginArtifact.java

            return plugin.getDependencies();
        }
    
        public List<Dependency> getManagedDependencies() {
            return Collections.emptyList();
        }
    
        // TODO: this is duplicate of MavenPluginArtifactHandlerProvider provided one
        static class PluginArtifactHandler implements ArtifactHandler {
            @Override
            public String getClassifier() {
                return null;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

        //
        // 8) Create ReactorReader with the getProjectMap( projects ). NOTE that getProjectMap(projects) is the code that
        // checks for duplicate projects definitions in the build. Ideally this type of duplicate checking should be
        // part of getting the reactor projects in 6). The duplicate checking is conflated with getProjectMap(projects).
        //
        // 9) Execute AbstractLifecycleParticipant.afterProjectsRead(session)
        //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                                BuilderProblem.Severity.WARNING,
                                "servers.server.id",
                                null,
                                "must be unique but found duplicate server with id " + server.getId());
                    }
                }
            }
    
            List<Mirror> mirrors = settings.getMirrors();
    
            if (mirrors != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

            cache.put(key, record);
            return record;
        }
    
        protected void assertUniqueKey(Key key) {
            if (cache.containsKey(key)) {
                throw new IllegalStateException("Duplicate artifact resolution result for project " + key);
            }
        }
    
        @Override
        public void flush() {
            cache.clear();
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelNormalizer.java

     *
     */
    public interface ModelNormalizer {
    
        /**
         * Merges duplicate elements like multiple declarations of the same build plugin in the specified model.
         *
         * @param model The model whose duplicate elements should be merged, must not be {@code null}.
         * @param request The model building request that holds further settings, 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.3K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultNode.java

            }
    
            if (!included) {
                if (Objects.equals(winnerVersion, node.getArtifact().getVersion())) {
                    details.add("omitted for duplicate");
                } else {
                    details.add("omitted for conflict with " + winnerVersion);
                }
            }
    
            StringBuilder buffer = new StringBuilder();
            if (included) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            PomTestWrapper pom = buildPom( "dependency-scope/sub" );
    
        }*/
    
        /*MNG- 4010*/
        @Test
        void testDuplicateExclusionsDependency() throws Exception {
            PomTestWrapper pom = buildPom("duplicate-exclusions-dependency/sub");
            assertEquals(1, ((List<?>) pom.getValue("dependencies[1]/exclusions")).size());
        }
    
        /*MNG- 4008*/
        @Test
        void testMultipleFilters() throws Exception {
    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)
  10. maven-core/src/site/apt/configuration-management.apt

     files for the current project. if yes. then I'm able to find projects that
     can be offered to be opened together with the current project.
     problems with the current solution are:
     1. information is duplicate. once in POM's dependencies and once in the
     maven.multiproject.includes property.
     2. it works without problems only for projects with relative paths, e.g., from
    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