- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 20 for createArtifacts (0.98 seconds)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
@Test void testArtifact() throws Exception { ArtifactRepository remoteRepository = remoteRepository(); ArtifactRepository localRepository = localRepository(); Artifact a = createArtifact("a", "0.0.1-SNAPSHOT"); File file = new File(localRepository.getBasedir(), localRepository.pathOf(a)); file.delete(); a.setFile(file); File touchFile = updateCheckManager.getTouchfile(a);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
new ArtifactRepositoryPolicy()); } @Override public Artifact createArtifact(String groupId, String artifactId, String version, String packaging) { return createArtifact(groupId, artifactId, version, null, packaging); } @Override public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 12K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java
@BeforeEach void setUp() { repositorySystem = new TestRepositorySystem(); } @Test void testCacheKey() throws Exception { Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar"); @SuppressWarnings("deprecation") ArtifactRepository lr1 = new DelegatingLocalArtifactRepository(repositorySystem.createDefaultLocalRepository());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
assertLocalArtifactPresent(b); } @Override protected Artifact createArtifact(String groupId, String artifactId, String version, String type) throws Exception { // for the anonymous classes return super.createArtifact(groupId, artifactId, version, type); } @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 26 10:49:22 GMT 2025 - 10.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath(); Artifact artifact = createArtifact("artifact", "1.0"); File file = new File(artifactBasedir, "artifact-1.0.jar"); assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
String DEFAULT_REMOTE_REPO_URL = MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID; Artifact createArtifact(String groupId, String artifactId, String version, String packaging); Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type); Artifact createProjectArtifact(String groupId, String artifactId, String version);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 7.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java
String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath(); Artifact artifact = createArtifact("artifact", "1.0"); File source = new File(artifactBasedir, "artifact-1.0.jar"); artifactInstaller.install(source, artifact, localRepository());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java
*/ @Deprecated @SuppressWarnings("checkstyle:parameternumber") public interface ArtifactFactory { @Deprecated String ROLE = ArtifactFactory.class.getName(); Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type); Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String type, String classifier);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
@Inject private SettingsDecrypter settingsDecrypter; @Override public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) { return artifactFactory.createArtifact(groupId, artifactId, version, scope, type); } @Override public Artifact createArtifact(String groupId, String artifactId, String version, String packaging) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 31.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* @return artifact with the given coordinates * * @see org.apache.maven.api.services.ArtifactFactory#create(Session, String, String, String, String) */ @Nonnull Artifact createArtifact(String groupId, String artifactId, String version, String extension); /** * Shortcut for {@code getService(ArtifactFactory.class).create(...)}. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 36.5K bytes - Click Count (0)