Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for associate (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java

            InternalSession session = new DefaultSession(
                    mavenSession, repositorySystem, null, mavenRepositorySystem, lookup, runtimeInformation);
            InternalSession.associate(mavenSession.getRepositorySession(), session);
            return session;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java

         *
         * @param request The repository request from which this cache was retrieved, must not be {@code null}.
         * @param key The key to use associate the data with, must not be {@code null}.
         * @param data The data to store in the cache, may be {@code null}.
         */
        void put(RepositoryRequest request, Object key, Object data);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
             * processes one artifact at a time and hence cannot associate the artifacts from the same project to use the
             * same version index. Allowing the caller to pass in metadata from a previous deployment allows to re-establish
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
             * processes one artifact at a time and hence cannot associate the artifacts from the same project to use the
             * same version index. Allowing the caller to pass in metadata from a previous deployment allows to re-establish
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

            snapshots = new LinkedHashMap<>();
    
            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
             * processes one artifact at a time and hence cannot associate the artifacts from the same project to use the
             * same timestamp+buildno for the snapshot versions. Allowing the caller to pass in metadata from a previous
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                            new DefaultUpdatePolicyAnalyzer(), new DefaultChecksumPolicyProvider())))),
                    null);
            InternalSession.associate(session, iSession);
    
            ArtifactResolutionResult result = repositorySystem.resolve(request);
            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(2, result.getArtifacts().size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            DefaultSession iSession = new DefaultSession(
                    msession, resolverRepositorySystem, null, mavenRepositorySystem, new DefaultLookup(container), null);
            InternalSession.associate(session, iSession);
    
            SessionScope sessionScope = container.lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, msession);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                MavenSession mSession = new MavenSession(repoSession, request, new DefaultMavenExecutionResult());
                InternalSession iSession = new SimpleSession(mSession, repoSystem, null);
                InternalSession.associate(repoSession, iSession);
    
                List<RemoteRepository> repositories = RepositoryUtils.toRepos(request.getPluginArtifactRepositories());
                Function<String, String> interpolator = createInterpolator(request);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                        .map(repositoryFactory::createRemote)
                        .toList();
                InternalSession s = (InternalSession) session.withRemoteRepositories(repositories);
                InternalSession.associate(rsession, s);
                return s;
    
                // List<RemoteRepository> repositories = repositoryFactory.createRemote();
    
                //        session.getService(SettingsBuilder.class).convert()
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(ArtifactManager.class).setPath(...)}.
         *
         * @param artifact the artifact for which to associate a path
         * @param path path to associate to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#setPath(ProducedArtifact, Path)
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top