Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for createDependencyArtifact (0.22 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                artifacts = new LinkedHashSet<>();
    
                for (Dependency dependency : dependencies) {
                    Artifact dependencyArtifact = createDependencyArtifact(dependency, artifact, pomArtifact);
    
                    if (dependencyArtifact != null) {
                        artifacts.add(dependencyArtifact);
                    }
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                    new DefaultRepositoryLayout(),
                    new ArtifactRepositoryPolicy(),
                    new ArtifactRepositoryPolicy());
        }
    
        @Override
        public Artifact createDependencyArtifact(Dependency dependency) {
            Artifact artifact = new DefaultArtifact(
                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    dependency.getVersion(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. 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(
                                d.getGroupId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        public Artifact createProjectArtifact(String groupId, String artifactId, String metaVersionId) {
            return artifactFactory.createProjectArtifact(groupId, artifactId, metaVersionId);
        }
    
        public Artifact createDependencyArtifact(Dependency d) {
            VersionRange versionRange;
            try {
                versionRange = VersionRange.createFromVersionSpec(d.getVersion());
            } catch (InvalidVersionSpecificationException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            return createProjectArtifactX(groupId, artifactId, metaVersionId);
        }
    
        // DefaultProjectBuilder
        public Artifact createDependencyArtifact(Dependency d) {
            if (d.getVersion() == null) {
                return null;
            }
    
            VersionRange versionRange;
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top