Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for createArtifact (0.21 sec)

  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;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        @Inject
        private SettingsDecrypter settingsDecrypter;
    
        @Override
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
            return artifactFactory.createArtifact(groupId, artifactId, version, scope, type);
        }
    
        @Override
        public Artifact createArtifact(String groupId, String artifactId, String version, String packaging) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  5. 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(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @return artifact with the given coordinates
         *
         * @see org.apache.maven.api.services.ArtifactFactory#create(Session, String, String, String, String)
         */
        @Nonnull
        Artifact createArtifact(String groupId, String artifactId, String version, String extension);
    
        /**
         * Shortcut for {@code getService(ArtifactFactory.class).create(...)}.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (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)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  8. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top