Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for createBuildArtifact (0.19 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
                    throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a);
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
                    throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a);
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        }
    
        protected Artifact createArtifact(String groupId, String artifactId, String version, String type) throws Exception {
            Artifact a = artifactFactory.createBuildArtifact(groupId, artifactId, version, type);
    
            return a;
        }
    
        protected void deleteLocalArtifact(Artifact artifact) throws Exception {
            deleteArtifact(artifact, localRepository());
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            File testData = getTestFile(directory);
            FileUtils.deleteDirectory(testData);
            testData.mkdirs();
    
            Artifact artifact = artifactFactory.createBuildArtifact("test", "test", version, type);
            artifact.setFile(new File(
                    testData,
                    "test-" + version + "." + artifact.getArtifactHandler().getExtension()));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top