- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for createBuildArtifact (0.08 sec)
-
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 Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.7K bytes - Viewed (0) -
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 Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
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 Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.8K bytes - Viewed (0) -
compat/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()));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java
boolean optional) { return createArtifact(groupId, artifactId, versionRange, type, classifier, scope, inheritedScope, optional); } @Override public Artifact createBuildArtifact(String groupId, String artifactId, String version, String packaging) { return createArtifact(groupId, artifactId, version, null, packaging, null, null); } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.1K bytes - Viewed (0) -
compat/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()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 09:40:15 UTC 2025 - 13.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
} @Override public Artifact createArtifact(String groupId, String artifactId, String version, String packaging) { return artifactFactory.createBuildArtifact(groupId, artifactId, version, packaging); } @Override public Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String type, String classifier) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 31.2K bytes - Viewed (0)