Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for createArtifactX (0.14 sec)

  1. 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());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        String DEFAULT_REMOTE_REPO_URL = MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID;
    
        Artifact createArtifact(String groupId, String artifactId, String version, String packaging);
    
        Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type);
    
        Artifact createProjectArtifact(String groupId, String artifactId, String version);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
                Artifact artifact = createArtifact("artifact", "1.0");
    
                File source = new File(artifactBasedir, "artifact-1.0.jar");
    
                artifactInstaller.install(source, artifact, localRepository());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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