Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for declarations (0.21 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolver.java

     *
     */
    @Deprecated
    public interface ConflictResolver {
        String ROLE = ConflictResolver.class.getName();
    
        /**
         * Determines which of the specified versions of an artifact to use when there are conflicting declarations.
         *
         * @param node1 the first artifact declaration
         * @param node2 the second artifact declaration
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. maven-core/src/test/resources-project-builder/unique-repo-id/plugin-repo/pom.xml

      <artifactId>test</artifactId>
      <version>0.1</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: MNG-4193</name>
      <description>
        Test that multiple plugin repository declarations with the same id cause a validation error.
      </description>
    
      <pluginRepositories>
        <pluginRepository>
          <id>one</id>
          <url>https://repo1.maven.org/maven2</url>
        </pluginRepository>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/unique-repo-id/plugin-repo-in-profile/pom.xml

      <artifactId>test</artifactId>
      <version>0.1</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: MNG-4193</name>
      <description>
        Test that multiple plugin repository declarations with the same id cause a validation error even if the
        repositories are defined within a (non-active) profile.
      </description>
    
      <profiles>
        <profile>
          <id>test</id>
          <pluginRepositories>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Parses and evaluates version ranges encountered in dependency declarations.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface VersionRangeResolver extends Service {
    
        /**
         * Expands a version range to a list of matching versions, in ascending order.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelNormalizer.java

     * representation for models that physically look different but are semantically equivalent.
     *
     */
    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}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                 * global profile manager which is required to build a POM like a CLI invocation does. Failure to consider
                 * the activated profiles can cause repo declarations to be lost which in turn will result in artifact
                 * resolution failures, in particular when using the enhanced local repo which guards access to local files
                 * based on the configured remote repos.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/unique-repo-id/artifact-repo-in-profile/pom.xml

      <artifactId>test</artifactId>
      <version>0.1</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: MNG-4193</name>
      <description>
        Test that multiple artifact repository declarations with the same id cause a validation error even if the
        repositories are defined within a (non-active) profile.
      </description>
    
      <profiles>
        <profile>
          <id>test</id>
          <repositories>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  8. maven-core/src/test/resources-project-builder/unique-repo-id/artifact-repo/pom.xml

      <artifactId>test</artifactId>
      <version>0.1</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: MNG-4193</name>
      <description>
        Test that multiple artifact repository declarations with the same id cause a validation error.
      </description>
    
      <repositories>
        <repository>
          <id>one</id>
          <url>https://repo1.maven.org/maven2</url>
        </repository>
        <repository>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  9. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            // (but not the parent project), which causes the problem.
            getProject(f2);
        }
    
        @Disabled("Maven 4 does not allow duplicate plugin declarations")
        @Test
        void testDuplicatePluginDefinitionsMerged() throws Exception {
            File f1 = getTestFile("src/test/resources/projects/duplicate-plugins-merged-pom.xml");
    
            MavenProject project = getProject(f1);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 16.5K bytes
    - Viewed (0)
Back to top