Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 216 for scope (0.12 sec)

  1. api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java

    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            artifact = getArtifact(project, "maven-test-test", "scope-default");
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-runtime");
            assertEquals("test", artifact.getScope(), "Check scope");
    
            // check all transitive deps of a provided dependency are provided scope, except for test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10ScopeResolution.kt

    ) : KtFe10ScopeResolution() {
        override fun getPossibleCallableNames(): Set<Name> = withValidityAssertion {
            return scope.getFunctionNames() + scope.getVariableNames()
        }
    
        override fun getPossibleClassifierNames(): Set<Name> = withValidityAssertion {
            return scope.getClassifierNames() ?: emptySet()
        }
    
        override fun getConstructors(): Sequence<KtConstructorSymbol> = sequence {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

            assertTrue(filter.include(newArtifact(Artifact.SCOPE_PROVIDED)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_RUNTIME)));
            assertFalse(filter.include(newArtifact(Artifact.SCOPE_TEST)));
        }
    
        @Test
        void testInclude_Runtime() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_RUNTIME);
    
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

         * Helper method to simplify null processing
         *
         * @param scope a scope or {@code null}
         * @return the provided scope or DEFAULT_SCOPE
         */
        public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) {
            return scope == null ? DEFAULT_SCOPE : scope;
        }
    
        /**
         *
         * @return unsafe String representation of this scope.
         */
        public String getScope() {
            if (id == 1) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
         * @return the list of resources
         */
        List<Resource> getResources(@Nonnull Project project, @Nonnull ProjectScope scope);
    
        /**
         * Add a resource set to the given project for the given scope.
         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Feb 09 17:13:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. maven-compat/src/test/resources/pom.xml

          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>marmalade</groupId>
          <artifactId>marmalade-core</artifactId>
          <version>0.1</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>marmalade</groupId>
          <artifactId>marmalade-el-ognl</artifactId>
          <version>0.1</version>
          <type>jar</type>
          <scope>compile</scope>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 18 00:24:19 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  8. 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)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven4ScopeManagerConfiguration.java

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

        protected final MojoExecutionScope scope;
    
        public MojoExecutionScopeModule(MojoExecutionScope scope) {
            this.scope = scope;
        }
    
        @Override
        protected void configure() {
            bindScope(MojoExecutionScoped.class, scope);
            // bindScope(org.apache.maven.api.di.MojoExecutionScoped.class, scope);
            bind(MojoExecutionScope.class).toInstance(scope);
            bind(MavenProject.class)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top