Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for createArtifactX (0.2 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            }
    
            return repository;
        }
    
        // ArtifactFactory
        private Artifact createArtifactX(String groupId, String artifactId, String version, String scope, String type) {
            return createArtifactX(groupId, artifactId, version, scope, type, null, null);
        }
    
        private Artifact createDependencyArtifactX(
                String groupId,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 33.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

            this.artifactHandlerManager = artifactHandlerManager;
        }
    
        @Override
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
            return createArtifact(groupId, artifactId, version, scope, type, null, null);
        }
    
        @Override
        public Artifact createArtifactWithClassifier(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            Artifact artifact = createArtifact(artifactId, version);
    
            createArtifact(artifact, localRepository());
    
            return artifact;
        }
    
        protected Artifact createRemoteArtifact(String artifactId, String version) throws Exception {
            Artifact artifact = createArtifact(artifactId, version);
    
            createArtifact(artifact, remoteRepository());
    
            return artifact;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 09:40:15 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

        }
    
        protected Artifact createArtifact(String id, String version) throws InvalidVersionSpecificationException {
            return createArtifact(id, version, Artifact.SCOPE_COMPILE);
        }
    
        protected Artifact createArtifact(String id, String version, String scope)
                throws InvalidVersionSpecificationException {
            return createArtifact(id, version, scope, null, false);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

        @BeforeEach
        void setUp() {
            repositorySystem = new TestRepositorySystem();
        }
    
        @Test
        void testCacheKey() throws Exception {
            Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar");
            @SuppressWarnings("deprecation")
            ArtifactRepository lr1 = new DelegatingLocalArtifactRepository(repositorySystem.createDefaultLocalRepository());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

        @Test
        void testBuildProject() {
            Artifact artifact = session.createArtifact("org.codehaus.plexus", "plexus-utils", "1.4.5", "pom");
    
            Project project = project(artifact);
            assertNotNull(project);
        }
    
        @Test
        void testCollectArtifactDependencies() {
            Artifact artifact =
                    session.createArtifact("org.codehaus.plexus", "plexus-container-default", "1.0-alpha-32", "jar");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                    new ArtifactRepositoryPolicy());
        }
    
        @Override
        public Artifact createArtifact(String groupId, String artifactId, String version, String packaging) {
            return createArtifact(groupId, artifactId, version, null, packaging);
        }
    
        @Override
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

        @Test
        void testArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
            ArtifactRepository localRepository = localRepository();
    
            Artifact a = createArtifact("a", "0.0.1-SNAPSHOT");
            File file = new File(localRepository.getBasedir(), localRepository.pathOf(a));
            file.delete();
            a.setFile(file);
    
            File touchFile = updateCheckManager.getTouchfile(a);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                ArtifactSpec a = artifacts.get(key);
                try {
                    return new ResolutionGroup(
                            artifact,
                            createArtifacts(
                                    artifactFactory, a.dependencies, artifact.getScope(), artifact.getDependencyFilter()),
                            Collections.emptyList());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 43K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

            this.artifactFactory = artifactFactory;
        }
    
        @Override
        public Set<Artifact> createArtifacts(MavenProject project) throws InvalidDependencyVersionException {
            return createArtifacts(artifactFactory, project.getDependencies(), null, null, project);
        }
    
        public static Set<Artifact> createArtifacts(
                ArtifactFactory artifactFactory,
                List<Dependency> dependencies,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top