Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for repositorySystem (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

    /**
     * @since 3.0-alpha
     * @deprecated Use {@link MavenRepositorySystem} if needed, or maven-resolver directly, until maven 4.x api is out
     */
    @Deprecated
    public interface RepositorySystem {
        String DEFAULT_LOCAL_REPO_ID = MavenRepositorySystem.DEFAULT_LOCAL_REPO_ID;
    
        @SuppressWarnings("checkstyle:constantname")
        String userHome = System.getProperty("user.home");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

                throws InvalidRepositoryException {
            RepositorySystem repositorySystem = rs(c);
            RepositorySystemSession session = rss(c);
    
            ArtifactRepository repository = repositorySystem.buildArtifactRepository(repo);
    
            if (session != null) {
                repositorySystem.injectMirror(session, Arrays.asList(repository));
                repositorySystem.injectProxy(session, Arrays.asList(repository));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

    @Deprecated(since = "4.0.0")
    public class MavenSessionBuilderSupplier implements Supplier<SessionBuilder> {
        protected final RepositorySystem repositorySystem;
        protected final InternalScopeManager scopeManager;
    
        public MavenSessionBuilderSupplier(RepositorySystem repositorySystem) {
            this.repositorySystem = requireNonNull(repositorySystem);
            this.scopeManager = new ScopeManagerImpl(Maven4ScopeManagerConfiguration.INSTANCE);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            Repository repository = new Repository();
            repository.setId(RepositorySystem.DEFAULT_REMOTE_REPO_ID);
            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(repositorySystem.buildArtifactRepository(repository));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

        }
    
        private RepositorySystem repositorySystem;
    
        public final RepositorySystem getRepositorySystem() {
            checkClosed();
            if (repositorySystem == null) {
                repositorySystem = createRepositorySystem();
            }
            return repositorySystem;
        }
    
        protected RepositorySystem createRepositorySystem() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

        @Inject
        public DefaultProjectDependenciesResolver(
                RepositorySystem repositorySystem, ResolutionErrorHandler resolutionErrorHandler) {
            this.repositorySystem = repositorySystem;
            this.resolutionErrorHandler = resolutionErrorHandler;
        }
    
        public Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

    import org.apache.maven.repository.internal.util.ConsoleTransferListener;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.eclipse.aether.RepositorySystem;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.RepositorySystemSession.SessionBuilder;
    import org.eclipse.aether.repository.LocalRepository;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

    @PlexusTest
    @Deprecated
    class LegacyRepositorySystemTest {
        @Inject
        private LegacyRepositorySystem repositorySystem;
    
        @Test
        void testThatLocalRepositoryWithSpacesIsProperlyHandled() throws Exception {
            File basedir = new File("target/spacy path").getAbsoluteFile();
            ArtifactRepository repo = repositorySystem.createLocalRepository(basedir);
            assertEquals(basedir, new File(repo.getBasedir()));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/TestProjectBuilder.java

    import org.eclipse.aether.RepositorySystem;
    
    @Named("classpath")
    @Singleton
    @Deprecated
    public class TestProjectBuilder extends DefaultProjectBuilder {
        @Inject
        public TestProjectBuilder(
                ModelBuilder modelBuilder,
                ProjectBuildingHelper projectBuildingHelper,
                MavenRepositorySystem repositorySystem,
                RepositorySystem repoSystem,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                @Nonnull RepositorySystem repositorySystem,
                @Nullable List<RemoteRepository> remoteRepositories,
                @Nonnull MavenRepositorySystem mavenRepositorySystem,
                @Nonnull Lookup lookup,
                @Nonnull RuntimeInformation runtimeInformation) {
            super(
                    nonNull(session).getRepositorySession(),
                    repositorySystem,
                    remoteRepositories,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top