Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 156 for scope (0.24 sec)

  1. 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)
  2. maven-compat/src/test/projects/project-dependencies-resolver/it0063/pom.xml

      <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>
          <systemPath>${jre.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenScopeDependenciesValidator.java

                        session,
                        pluginArtifact,
                        "Plugin should declare Maven artifacts in `provided` scope. If the plugin already declares them in `provided` scope, update the maven-plugin-plugin to latest version. Artifacts found with wrong scope: "
                                + mavenArtifacts);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 07 09:51:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            /* farthest is runtime and nearest has lower priority, change to runtime */
            if (Artifact.SCOPE_RUNTIME.equals(farthestArtifact.getScope())
                    && (Artifact.SCOPE_TEST.equals(nearestArtifact.getScope())
                            || Artifact.SCOPE_PROVIDED.equals(nearestArtifact.getScope()))) {
                updateScope = true;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom

      <name>Maven Plugin API</name>
      <version>2.0</version>
      <dependencies>
        <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <version>4.13.1</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
      <distributionManagement>
        <status>deployed</status>
      </distributionManagement>
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 602 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top