Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for createArtifact (0.07 seconds)

  1. 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;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  2. 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");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. 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);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                project.setOriginalModel(new org.apache.maven.model.Model(result.getFileModel()));
    
                initParent(project, result);
    
                Artifact projectArtifact = repositorySystem.createArtifact(
                        project.getGroupId(), project.getArtifactId(), project.getVersion(), null, project.getPackaging());
                project.setArtifact(projectArtifact);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                        /* don't call createDependencyArtifact as it'll ignore test and provided scopes */
                        artifact = artifactFactory.createArtifact(
                                d.getGroupId(), d.getArtifactId(), d.getVersion(), d.getScope(), d.getType());
                    } else {
                        artifact = artifactFactory.createDependencyArtifact(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 43K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            }
    
            return artifactVersions;
        }
    
        // USED BY MAVEN ASSEMBLY PLUGIN
        @Deprecated
        public static Set<Artifact> createArtifacts(
                ArtifactFactory artifactFactory,
                List<Dependency> dependencies,
                String inheritedScope,
                ArtifactFilter dependencyFilter,
                MavenProject project)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return moduleAdjustments.get(module);
        }
    
        @Deprecated
        public Set<Artifact> createArtifacts(ArtifactFactory artifactFactory, String inheritedScope, ArtifactFilter filter)
                throws InvalidDependencyVersionException {
            return DefaultProjectArtifactFactory.createArtifacts(
                    artifactFactory, getModel().getDependencies(), inheritedScope, filter, this);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
Back to Top