Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for duplicate (0.2 sec)

  1. maven-core/src/test/resources/projects/duplicate-plugins-merged-pom.xml

    <project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>tests.project</groupId>
        <artifactId>duplicate-plugin-defs-merged</artifactId>
        <version>1</version>
    
        <build>
          <plugins>
            <plugin>
              <artifactId>maven-compiler-plugin</artifactId>
              <dependencies>
                <dependency>
                  <groupId>group</groupId>
                  <artifactId>first</artifactId>
                  <version>1</version>
    XML
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Sun Nov 23 12:04:30 GMT 2014
    - 1.3K bytes
    - Viewed (0)
  2. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/DuplicateProjectException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.io.File;
    
    /**
     * Exception that occurs when the project list contains duplicate projects instead of ignoring one.
     *
     */
    public class DuplicateProjectException extends Exception {
        private final String projectId;
    
        private final File existingProjectFile;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java

     * Currently, this modification would create compatibility problems for existing plugins.
     */
    public class DuplicateArtifactAttachmentException extends RuntimeException {
    
        private static final String DEFAULT_MESSAGE = "Duplicate artifact attachment detected.";
    
        private Artifact artifact;
    
        private final MavenProject project;
    
        public DuplicateArtifactAttachmentException(MavenProject project, Artifact artifact) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

            Objects.requireNonNull(projectRealm, "projectRealm cannot be null");
    
            if (cache.containsKey(key)) {
                throw new IllegalStateException("Duplicate project realm for extensions " + key);
            }
    
            CacheRecord record = new CacheRecord(projectRealm, extensionArtifactFilter);
    
            cache.put(key, record);
    
            return record;
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  7. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

            Objects.requireNonNull(pluginArtifacts, "pluginArtifacts cannot be null");
    
            if (cache.containsKey(key)) {
                throw new IllegalStateException("Duplicate plugin realm for plugin " + key);
            }
    
            CacheRecord record = new CacheRecord(pluginRealm, pluginArtifacts);
    
            cache.put(key, record);
    
            return record;
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

            cache.put(key, record);
    
            return record;
        }
    
        protected void assertUniqueKey(Key key) {
            if (cache.containsKey(key)) {
                throw new IllegalStateException("Duplicate artifact resolution result for plugin " + key);
            }
        }
    
        public CacheRecord put(Key key, PluginResolutionException exception) {
            Objects.requireNonNull(exception, "exception cannot be null");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top