Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for unscoped (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

        }
    
        public <T> Provider<T> scope(final Key<T> key, Provider<T> unscoped) {
            Object qualifier = key.getAnnotation() instanceof Named n ? n.value() : key.getAnnotation();
            org.apache.maven.di.Key<T> k =
                    org.apache.maven.di.Key.ofType(key.getTypeLiteral().getType(), qualifier);
            return scope(k, unscoped::get)::get;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(2, result.getArtifacts().size());
    
            //
            // System scoped version which should
            //
            d.setScope(Artifact.SCOPE_SYSTEM);
            File file = new File(getBasedir(), "src/test/repository-system/maven-core-2.1.0.jar");
            assertTrue(file.exists());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/resources/projects/scope/project-with-scoped-dependencies.xml

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/projects/project-dependencies-resolver/it0063/pom.xml

      <artifactId>maven-it-it0063</artifactId>
      <version>1.0</version>
      <packaging>jar</packaging>
    
      <name>Maven Integration Test :: it0063</name>
      <description>Test the use of a system scoped dependency to a (fake) tools.jar.</description>
    
      <dependencies>
        <dependency>
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
          <version>1.4.2</version>
          <scope>system</scope>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java

     * <p>
     * Unlike {@link org.apache.maven.execution.MojoExecutionListener}, this extension point does not
     * trigger instantiation of the component, hence "weak" class name prefix. Only applies to mojo execution
     * scoped components.
     * </p>
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
     *
     * @see org.apache.maven.execution.MojoExecutionListener
     * @since 3.1.2
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

         *
         * @param tree "dirty" tree root
         * @param versionedVertices true if graph nodes should be versioned (different versions -&gt; different nodes)
         * @param scopedVertices true if graph nodes should be versioned and scoped
         * (different versions and/or scopes -&gt; different nodes)
         *
         */
        public MetadataGraph(MetadataTreeNode tree, boolean versionedVertices, boolean scopedVertices)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            Artifact artifact = request.getArtifact();
    
            //
            // If we have a system scoped artifact then we do not want any searching in local or remote repositories
            // and we want artifact resolution to only return the system scoped artifact itself.
            //
            if (artifact.getScope() != null && artifact.getScope().equals(Artifact.SCOPE_SYSTEM)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

    import org.apache.maven.lifecycle.mapping.LifecycleMojo;
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * TODO: this is session scoped as SPI can contribute.
     */
    @Named
    @Singleton
    public class DefaultPackagingRegistry
            extends ExtensibleEnumRegistries.DefaultExtensibleEnumRegistry<Packaging, PackagingProvider>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            projectBuilder = getContainer().lookup(ProjectBuilder.class, "classpath");
        }
    
        @Test
        void testProjectClasspath() throws Exception {
            File f = getFileForClasspathResource(dir + "project-with-scoped-dependencies.xml");
    
            MavenProject project = getProjectWithDependencies(f);
    
            Artifact artifact;
    
            assertNotNull(project, "Test project can't be null!");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            // 2) Repository system session-scoped workspace reader (contains ide and exec request reader)
            for (WorkspaceReader repoWorkspaceReader : chainedWorkspaceReader.getReaders()) {
                if (repoWorkspaceReader != null && repoWorkspaceReader != reactorReader) {
                    workspaceReaders.add(repoWorkspaceReader);
                }
            }
            // 3) .. n) Project-scoped workspace readers
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top