Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 1,091 for artifacts (0.07 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

        public boolean include(Artifact artifact) {
            return predicates.stream().noneMatch(p -> p.test(artifact));
        }
    
        private static Predicate<Artifact> toPredicate(Exclusion exclusion) {
            PathMatcher groupId = FileSystems.getDefault().getPathMatcher("glob:" + exclusion.getGroupId());
            PathMatcher artifactId = FileSystems.getDefault().getPathMatcher("glob:" + exclusion.getArtifactId());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java

            when(artifact.getGroupId()).thenReturn("myGroup");
            when(artifact.getArtifactId()).thenReturn("myArtifact");
            when(artifact.getBaseVersion()).thenReturn(versionParser.parseVersion("1.0-SNAPSHOT"));
            projectManager.attachArtifact(project, artifact, artifactPath);
    
            // Verify that an exception is thrown when the artifactId differs
            when(artifact.getArtifactId()).thenReturn("anotherArtifact");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

        }
    
        /**
         * Gets the effective artifact identifier of the model.
         *
         * @return The effective artifact identifier of the model or an empty string if unknown, never {@code null}.
         */
        public String getArtifactId() {
            return (artifactId != null) ? artifactId : "";
        }
    
        /**
         * Sets the effective artifact identifier of the model.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            MavenProject project = createProject("group", "artifact", "1.0");
    
            Build build = project.getModel().getBuild();
    
            Plugin plugin = createPlugin("other.group", "other-artifact", "1.0");
    
            Dependency dep = createDependency("group", "artifact", "1.0");
    
            plugin.addDependency(dep);
    
            build.addPlugin(plugin);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

                                                + "'http://www.apache.org/path/to/parent/../child-artifact-id/'"),
                        afe.getMessage());
            }
            // but ok from repo: local disk is ignored
            testInheritance("tricky-flat-artifactId-urls", true);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

     * under the License.
     */
    package org.apache.maven.artifact.factory;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.DefaultArtifact;
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Properties;
    
    import org.apache.maven.api.Session;
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.InvalidRepositoryException;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/remote-repo/org/apache/maven/maven/2.0/maven-2.0.pom

            <artifactId>plexus-utils</artifactId>
            <version>1.0.4</version>
          </dependency>
          <dependency>
            <groupId>org.apache.maven.wagon</groupId>
            <artifactId>wagon-provider-api</artifactId>
            <version>1.0-alpha-5</version>
          </dependency>
          <dependency>
            <groupId>org.apache.maven.wagon</groupId>
            <artifactId>wagon-ssh</artifactId>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataSource.java

        ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException;
    
        /**
         * Get a list of available versions for an artifact in the remote repository
         *
         * @param artifact           artifact we are interested in. Only <code>groupid</code> and <code>artifactId</code>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  10. futures/listenablefuture1/pom.xml

      <build>
        <plugins>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>animal-sniffer-maven-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-javadocs</id>
              </execution>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 02 19:27:26 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top