Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for createArtifacts (0.08 sec)

  1. 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)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                }
    
                if (project.getDependencyArtifacts() == null) {
                    try {
                        project.setDependencyArtifacts(artifactFactory.createArtifacts(project));
                    } catch (InvalidDependencyVersionException e) {
                        throw new LifecycleExecutionException(e);
                    }
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. 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)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 12:03:50 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                    // We could process exclusions on relocated artifact details in the
                                    // MavenMetadataSource.createArtifacts(..) step, BUT that would
                                    // require resolving the POM from the repository very early on in
                                    // the build.
                                    continue;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            assertLocalArtifactPresent(b);
        }
    
        @Override
        protected Artifact createArtifact(String groupId, String artifactId, String version, String type) throws Exception {
            // for the anonymous classes
            return super.createArtifact(groupId, artifactId, version, type);
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

        }
    
        @Test
        void testPluginArtifactsExpressionReference() throws Exception {
            MojoExecution exec = newMojoExecution();
    
            Artifact depArtifact = createArtifact("group", "artifact", "1");
    
            List<Artifact> deps = new ArrayList<>();
            deps.add(depArtifact);
    
            exec.getMojoDescriptor().getPluginDescriptor().setArtifacts(deps);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top