- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for createArtifactX (0.11 sec)
-
impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java
} public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type) { return createArtifact(groupId, artifactId, version, scope, type, null, null); } public Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String type, String classifier) {
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/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
} protected Artifact createArtifact(String id, String version) throws InvalidVersionSpecificationException { return createArtifact(id, version, Artifact.SCOPE_COMPILE); } protected Artifact createArtifact(String id, String version, String scope) throws InvalidVersionSpecificationException { return createArtifact(id, version, scope, null, false); }
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/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);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java
ArtifactFilter dependencyFilter = new ScopeArtifactFilter( Artifact.SCOPE_COMPILE ); MavenProject project = new MavenProject( new Model() ); Set<Artifact> result = project.createArtifacts( dependencyFilter ); for (Iterator<Artifact> it = result.iterator(); it.hasNext(); ) { Artifact artifact = it.next();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (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());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (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());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (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);
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/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());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (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);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0)