Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 162 for scope (0.12 sec)

  1. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return testCompileSourceRoots;
        }
    
        // TODO let the scope handler deal with this
        private static boolean isCompilePathElement(final String scope) {
            return Artifact.SCOPE_COMPILE.equals(scope)
                    || Artifact.SCOPE_PROVIDED.equals(scope)
                    || Artifact.SCOPE_SYSTEM.equals(scope);
        }
    
        // TODO let the scope handler deal with this
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

            MojoExecutionScope scope = new MojoExecutionScope();
    
            scope.enter();
    
            Object o1 = new Object();
            scope.seed(Object.class, o1);
            assertSame(o1, scope.scope(Key.get(Object.class), null).get());
    
            scope.enter();
            Object o2 = new Object();
            scope.seed(Object.class, o2);
            assertSame(o2, scope.scope(Key.get(Object.class), null).get());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

            return scope;
        }
    
        public void setScope(ArtifactScopeEnum scope) {
            this.scope = scope;
        }
    
        // -------------------------------------------------------------------------------------------
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder(256);
            sb.append("[scope=").append(scope.getScope());
            if (classpath != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven3ScopeManagerConfiguration.java

    import org.eclipse.aether.impl.scope.InternalScopeManager;
    import org.eclipse.aether.impl.scope.ScopeManagerConfiguration;
    import org.eclipse.aether.internal.impl.scope.ScopeManagerDump;
    import org.eclipse.aether.scope.DependencyScope;
    import org.eclipse.aether.scope.ResolutionScope;
    
    import static org.eclipse.aether.impl.scope.BuildScopeQuery.all;
    import static org.eclipse.aether.impl.scope.BuildScopeQuery.byBuildPath;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * Shortcut for {@code getService(DependencyResolver.class).flatten(...)}.
         *
         * @param node node for which to get a flattened list
         * @param scope build path scope (main compile, test compile, etc.) of desired nodes
         * @return flattened list of node with the given build path scope
         * @throws org.apache.maven.api.services.DependencyResolverException if the dependency flattening failed
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  6. maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            artifact = new DefaultArtifact(groupId, artifactId, versionRange, scope, type, classifier, artifactHandler);
    
            snapshotVersionRange = VersionRange.createFromVersion(snapshotResolvedVersion);
            snapshotArtifact = new DefaultArtifact(
                    groupId, artifactId, snapshotVersionRange, scope, type, classifier, artifactHandler);
        }
    
        @Test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon May 22 19:19:33 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            assertNotNull( artifact, "dependency artifact not found in map." );
            assertEquals( Artifact.SCOPE_COMPILE, artifact.getScope(), "dependency artifact has wrong scope." );
    
            //check for back-propagation of default scope.
            assertEquals( Artifact.SCOPE_COMPILE, dep.getScope(), "default scope NOT back-propagated to dependency." );
            */
        }
    
        @Test
        @Disabled
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            this.scopedVertices = scopedVertices;
    
            // scoped graph is versioned by definition
            if (scopedVertices) {
                versionedVertices = true;
            }
        }
    
        public ArtifactScopeEnum getScope() {
            return scope;
        }
    
        public void setScope(ArtifactScopeEnum scope) {
            this.scope = scope;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Oct 05 18:41:13 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

        private Set<String> scopes;
    
        /**
         * Create a new filter with the specified scopes and their implied scopes enabled.
         *
         * @param scopes The scopes to enable, along with all implied scopes, may be {@code null}.
         */
        public CumulativeScopeArtifactFilter(Collection<String> scopes) {
            this.scopes = new HashSet<>();
    
            addScopes(scopes);
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

     * under the License.
     */
    package org.apache.maven.session.scope;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import com.google.inject.OutOfScopeException;
    import org.apache.maven.SessionScoped;
    import org.apache.maven.api.Session;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.codehaus.plexus.PlexusContainer;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top