Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for createArtifact (0.09 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java

     */
    @Deprecated
    @SuppressWarnings("checkstyle:parameternumber")
    public interface ArtifactFactory {
        @Deprecated
        String ROLE = ArtifactFactory.class.getName();
    
        Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type);
    
        Artifact createArtifactWithClassifier(
                String groupId, String artifactId, String version, String type, String classifier);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        @Inject
        private SettingsDecrypter settingsDecrypter;
    
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
            return artifactFactory.createArtifact(groupId, artifactId, version, scope, type);
        }
    
        public Artifact createArtifact(String groupId, String artifactId, String version, String packaging) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            this.artifactHandlerManager = artifactHandlerManager;
            this.layouts = layouts;
        }
    
        // DefaultProjectBuilder
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
            return createArtifactX(groupId, artifactId, version, scope, type);
        }
    
        // DefaultProjectBuilder
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            ArtifactFilter dependencyFilter = new ScopeArtifactFilter( Artifact.SCOPE_COMPILE );
    
            MavenProject project = new MavenProject( new Model() );
    
            Set<Artifact> result = project.createArtifacts( dependencyFilter );
    
            for (Iterator<Artifact> it = result.iterator(); it.hasNext(); )
            {
                Artifact artifact = it.next();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
Back to top