Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for elements (0.33 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * A test which demonstrates maven's recursive inheritance where
     * we are testing to make sure that elements stated in a model are
     * not clobbered by the same elements elsewhere in the lineage.
     *
     */
    @Deprecated
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

    import java.util.function.Predicate;
    
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.PathType;
    
    /**
     * Cache of {@link PathModularization} instances computed for given {@link Path} elements.
     * The cache is used for avoiding the need to reopen the same files many times when the
     * same dependency is used for different scope. For example a path used for compilation
     * is typically also used for tests.
     */
    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)
  3. maven-core/src/site/apt/offline-mode.apt

      The majority of mojos will leave the requiresOnline == false,
      since online/offline status will be irrelevant, provided they have
      access to their required artifacts and other classpath elements. In the case
      of required artifacts and other classpath elements, this is assumed by the
      mojo API to be in a correct state, and will be handled by the Wagon
      modifications.
    
    
    * Implementation Notes
    
    ** Accessibility of offline status
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

              <name>licenses</name>
              <version>3.0.0+</version>
              <description>
                <![CDATA[
                This element describes all the licenses for this project.
                Each license is described by a {@code license} element, which
                is then described by additional elements.
                Projects should only list the license(s) that applies to the project
                and not the licenses that apply to dependencies.
    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-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            project.setArtifacts(resolver.resolve(project, Collections.singleton(Artifact.SCOPE_COMPILE), session));
    
            List<String> elements = project.getCompileClasspathElements();
            assertEquals(2, elements.size());
    
            @SuppressWarnings("deprecation")
            List<Artifact> artifacts = project.getCompileArtifacts();
            assertEquals(1, artifacts.size());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. maven-core/src/site/apt/configuration-management.apt

     various properties files. What needs to be done is to encapsulate all of this in the POM.
    
     Typically users parameterize the use of plugins, or have custom values like ${user.name}
     for use in elements like the <developerConnection/>. It would be idea if we
     could encapsulate everything we need about the project in the POM including
     plugin parameters and anything else.
    
    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)
  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-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(expected, pom.getValue(expression));
        }
    
        private static String createPath(List<String> elements) {
            StringBuilder buffer = new StringBuilder(256);
            for (String s : elements) {
                buffer.append(s).append(File.separator);
            }
            return buffer.toString().substring(0, buffer.toString().length() - 1);
        }
    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)
  9. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelInterpolator.java

    import org.apache.maven.api.services.ModelProblemCollector;
    
    /**
     * Replaces expressions of the form <code>${token}</code> with their effective values. Effective values are basically
     * calculated from the elements of the model itself and the execution properties from the building request.
     *
     */
    public interface ModelInterpolator {
    
        /**
    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)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

            requireNonNull(pluginBindings);
            final int len = pluginBindings.length;
            if (len < 2 || len % 2 != 0) {
                throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements");
            }
    
            HashMap<String, LifecyclePhase> lifecyclePhaseBindings = new HashMap<>(len / 2);
            for (int i = 0; i < len; i = i + 2) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 15:34:45 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top