Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for injectSession (0.07 sec)

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

            return injectSession(factory.createDeploymentArtifactRepository(id, url, layoutId, uniqueVersion), false);
        }
    
        public ArtifactRepository createDeploymentArtifactRepository(
                String id, String url, ArtifactRepositoryLayout repositoryLayout, boolean uniqueVersion) {
            return injectSession(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                        request.setInactiveProfileIds(req.getInactiveProfiles());
                    }
                }
            }
    
            return request;
        }
    
        private ProjectBuildingRequest injectSession(ProjectBuildingRequest request) {
            MavenSession session = legacySupport.getSession();
            if (session != null) {
                request.setRepositorySession(session.getRepositorySession());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            this.projectBuilder = projectBuilder;
            this.cache = cache;
            this.legacySupport = legacySupport;
            this.mavenRepositorySystem = mavenRepositorySystem;
        }
    
        private void injectSession(MetadataResolutionRequest request) {
            RepositorySystemSession session = legacySupport.getRepositorySession();
    
            if (session != null) {
                request.setOffline(session.isOffline());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

        @Inject
        @Named("nearest")
        private ConflictResolver defaultConflictResolver;
    
        @Inject
        private Logger logger;
    
        @Inject
        private LegacySupport legacySupport;
    
        private void injectSession(ArtifactResolutionRequest request) {
            MavenSession session = legacySupport.getSession();
    
            if (session != null) {
                request.setOffline(session.isOffline());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        }
    
        private void injectSession1(RepositoryRequest request, MavenSession session) {
            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
            }
        }
    
        private void injectSession2(ArtifactResolutionRequest request, MavenSession session) {
            injectSession1(request, session);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top