Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. compat/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);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. compat/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);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java

                VersionRange versionRange,
                String type,
                String classifier,
                String scope,
                String inheritedScope,
                boolean optional);
    
        Artifact createBuildArtifact(String groupId, String artifactId, String version, String packaging);
    
        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
    - 2.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                String inheritedScope,
                boolean optional) {
            return createArtifact(groupId, artifactId, versionRange, type, classifier, scope, inheritedScope, optional);
        }
    
        public Artifact createBuildArtifact(String groupId, String artifactId, String version, String packaging) {
            return createArtifact(groupId, artifactId, version, null, packaging, null, null);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top