Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for createArtifact (0.21 sec)

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

        }
    
        public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
            return createArtifact(groupId, artifactId, version, scope, type, null, null);
        }
    
        public 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
    - 6.9K 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. 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);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

        @BeforeEach
        void setUp() {
            repositorySystem = new TestRepositorySystem();
        }
    
        @Test
        void testCacheKey() throws Exception {
            Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar");
            @SuppressWarnings("deprecation")
            ArtifactRepository lr1 = new DelegatingLocalArtifactRepository(repositorySystem.createDefaultLocalRepository());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top