- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for createDependencyArtifact (0.17 sec)
-
impl/maven-core/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java
String groupId, String artifactId, String version, String type, String classifier); Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope); Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java
} public Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope) { return createArtifact(groupId, artifactId, versionRange, type, classifier, scope, null); } public Artifact createDependencyArtifact( String groupId,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java
@Test void testPropagationOfSystemScopeRegardlessOfInheritedScope() { Artifact artifact = factory.createDependencyArtifact( "test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided"); Artifact artifact2 = factory.createDependencyArtifact( "test-grp", "test-artifact-2", VersionRange.createFromVersion("1.0"), "type", null, "system", "test");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
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) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
d.setGroupId("org.apache.maven.its"); d.setArtifactId("b"); d.setVersion("0.1"); d.setScope(Artifact.SCOPE_COMPILE); Artifact artifact = repositorySystem.createDependencyArtifact(d); ArtifactResolutionRequest request = new ArtifactResolutionRequest() .setArtifact(artifact) .setResolveRoot(true) .setResolveTransitively(true)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.8K bytes - Viewed (0) -
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) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
throws InvalidVersionSpecificationException { VersionRange versionRange = VersionRange.createFromVersionSpec(version); return artifactFactory.createDependencyArtifact( GROUP_ID, id, versionRange, "jar", null, scope, inheritedScope, optional); } protected ResolutionNode createResolutionNode(Artifact Artifact) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String type, String classifier); Artifact createPluginArtifact(Plugin plugin); Artifact createDependencyArtifact(Dependency dependency); ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException; ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
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)