- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for artifactFactory (0.1 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java
import javax.inject.Named; import javax.inject.Singleton; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.factory.ArtifactFactory; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.versioning.ArtifactVersion; import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest; @Named("test")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (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(...)}. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 36.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** */ @PlexusTest @Deprecated public abstract class AbstractArtifactComponentTestCase // extends PlexusTestCase { @Inject protected ArtifactFactory artifactFactory; @Inject protected ArtifactRepositoryFactory artifactRepositoryFactory; @Inject LegacySupport legacySupport; @Inject @Named("default")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/org/apache/maven/artifact/resolver/ArtifactResolverTest.xml
<role-hint>default</role-hint> <field-name>logger</field-name> </requirement> <requirement> <role>org.apache.maven.artifact.factory.ArtifactFactory</role> <role-hint>default</role-hint> <field-name>artifactFactory</field-name> </requirement> <requirement> <role>org.apache.maven.artifact.resolver.ArtifactCollector</role> <role-hint>default</role-hint>
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/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
@PlexusTest @Deprecated class DefaultWagonManagerTest { @Inject private WagonManager wagonManager; private final TransferListener transferListener = new Debug(); @Inject private ArtifactFactory artifactFactory; @Inject private ArtifactRepositoryFactory artifactRepositoryFactory; @Test void testUnnecessaryRepositoryLookup() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
// throws Exception // { // File localRepo = getLocalRepositoryPath(); // // ArtifactFactory factory = (ArtifactFactory) lookup( ArtifactFactory.class ); // Artifact artifact = factory.createProjectArtifact( "maven", "p1", "1.0" ); // // ArtifactRepositoryFactory repoFactory = (ArtifactRepositoryFactory) lookup(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataSource.java
* are needed, for instance the following code will work * <code>artifactFactory.createProjectArtifact( "org.apache.maven", "maven", "" )</code> * @param localRepository local repository * @param remoteRepositories remote repositories, {@link List} $lt; {@link ArtifactRepository} >
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java
dep2.setVersion( "1" ); dep2.setType( "jar" ); List<Dependency> deps = new ArrayList<>(); deps.add( dep1 ); deps.add( dep2 ); ArtifactFactory factory = container.lookup( ArtifactFactory.class ); ArtifactFilter dependencyFilter = new ScopeArtifactFilter( Artifact.SCOPE_COMPILE ); MavenProject project = new MavenProject( new Model() );
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/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
/** */ @Named @Singleton @Deprecated public class DefaultArtifactResolver implements ArtifactResolver, Disposable { @Inject private Logger logger; @Inject protected ArtifactFactory artifactFactory; @Inject private ArtifactCollector artifactCollector; @Inject private ResolutionErrorHandler resolutionErrorHandler; @Inject private ArtifactMetadataSource source;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 24.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; @PlexusTest @Deprecated class DefaultArtifactFactoryTest { @Inject ArtifactFactory factory; @Test void testPropagationOfSystemScopeRegardlessOfInheritedScope() { Artifact artifact = factory.createDependencyArtifact(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0)