Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 111 for scope (0.26 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

        public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
                throws MetadataGraphTransformationException {
            try {
                if (dirtyGraph == null || dirtyGraph.isEmpty()) {
                    return null;
                }
    
                MetadataGraph cleanGraph = conflictResolver.resolveConflicts(dirtyGraph, scope);
    
                if (cleanGraph == null || cleanGraph.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            return createArtifact(groupId, artifactId, version, null, packaging);
        }
    
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
            return new DefaultArtifact(groupId, artifactId, version, scope, type, null, new TestArtifactHandler(type));
        }
    
        public ArtifactRepository createArtifactRepository(
                String id,
                String url,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    import static org.apache.maven.api.ExtensibleEnums.pathScope;
    
    /**
     * Path scope.
     * A path scope is used to determine the kind of build or class path that will be built when resolving
     * dependencies using the {@link org.apache.maven.api.services.DependencyResolver} service.
     * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            PomTestWrapper pom = buildPom("dependency-scope-inheritance/sub");
            String scope = (String) pom.getValue("dependencies[1]/scope");
            assertEquals("compile", scope);
        }
    
        @Test
        void testDependencyScope() throws Exception {
            buildPom("dependency-scope/sub");
        }
    
        // This will fail on a validation error if incorrect
    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)
  5. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

                ignoredArtifacts.add(artifact);
            }
        }
    
        public void updateScope(Artifact artifact, String scope) {
            logger.debug(indent + artifact + " (setting artifactScope to: " + scope + ")");
        }
    
        public void selectVersionFromRange(Artifact artifact) {
            logger.debug(indent + artifact + " (setting version to: " + artifact.getVersion() + " from range: "
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution.scope;
    
    import org.apache.maven.execution.MojoExecutionEvent;
    import org.apache.maven.plugin.MojoExecutionException;
    
    /**
     * Extension point that allows build extensions observe and possibly veto mojo executions.
     * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/execution/scope/MojoExecutionScoped.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution.scope;
    
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import com.google.inject.ScopeAnnotation;
    
    import static java.lang.annotation.ElementType.TYPE;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

     * which means each mojo execution will result in a different instance being injected.
     *
     * TODO: this is currently not implemented
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    @Retention(RUNTIME)
    @Target({TYPE, METHOD})
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/execution/MojoExecutionListener.java

     * </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.scope.WeakMojoExecutionListener
     * @since 3.1.2
     */
    public interface MojoExecutionListener {
        void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenMixedDependenciesValidator.java

                    .map(Dependency::getArtifact)
                    .filter(d -> "org.apache.maven".equals(d.getGroupId()))
                    .filter(d -> !DefaultPluginValidationManager.EXPECTED_PROVIDED_SCOPE_EXCLUSIONS_GA.contains(
                            d.getGroupId() + ":" + d.getArtifactId()))
                    .map(Artifact::getVersion)
                    .collect(Collectors.toSet());
    
            if (mavenVersions.size() > 1) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 26 16:22:12 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top