Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 590 for session1 (0.22 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(rootProject.getBasedir()).thenReturn(basedir);
            MavenSession session = mock(MavenSession.class);
            when(session.getTopLevelProject()).thenReturn(rootProject);
            when(session.getTopDirectory()).thenReturn(basedir.toPath());
            when(event.getSession()).thenReturn(session);
    
            // execute
            executionEventLogger.projectStarted(event);
    
            // verify
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

                MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause) {
            this.session = session;
            this.project = project;
            this.mojoExecution = mojoExecution;
            this.mojo = mojo;
            this.cause = cause;
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath());
    
            MavenSession session = createMavenSession(pom, eps);
            MavenProject project = session.getCurrentProject();
    
            project.setArtifacts(resolver.resolve(project, Collections.singleton(Artifact.SCOPE_COMPILE), session));
    
            List<String> elements = project.getCompileClasspathElements();
            assertEquals(2, elements.size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

    @Typed
    @SessionScoped
    public class DefaultProjectManager implements ProjectManager {
    
        private final InternalMavenSession session;
        private final ArtifactManager artifactManager;
    
        @Inject
        public DefaultProjectManager(InternalMavenSession session, ArtifactManager artifactManager) {
            this.session = session;
            this.artifactManager = artifactManager;
        }
    
        @Nonnull
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

         * @param project         The project whose dependencies should be resolved, must not be {@code null}.
         * @param scopesToResolve The dependency scopes that should be resolved, may be {@code null}.
         * @param session         The current build session, must not be {@code null}.
         * @return The transitive dependencies of the specified project that match the requested scopes, never {@code null}.
         * @throws ArtifactResolutionException in case of resolution issue
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            TransferEvent transferInitiatedEvent = event(session, resource, TransferEvent.EventType.INITIATED);
            TransferEvent transferStartedEvent = event(session, resource, TransferEvent.EventType.STARTED);
            TransferEvent transferProgressedEvent = event(session, resource, TransferEvent.EventType.PROGRESSED);
            TransferEvent transferSucceededEvent = event(session, resource, TransferEvent.EventType.SUCCEEDED);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

            excludeFilterCache.invalidate(sessionId);
        }
    
        @Override
        public List<Pattern> getIncludeUrlPatternList(final String sessionId) {
            try {
                return includeFilterCache.get(sessionId);
            } catch (final ExecutionException e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before session execution starts
     * and discarded after session execution completes.
     * <p>
     * A {@code org.apache.maven.api.Session} object is available in the scope of this annotation.
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    @Retention(RUNTIME)
    @Target({TYPE, METHOD})
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:14:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                ArtifactRepository repository, RepositorySystemSession session, RepositorySystem system) {
            if (repository == null || repository.getBasedir() == null) {
                return session;
            }
    
            DefaultRepositorySystemSession newSession;
            if (session != null) {
                LocalRepositoryManager lrm = session.getLocalRepositoryManager();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. callbacks/associations.go

    					}
    
    					for i := 0; i < elemLen; i++ {
    						appendToJoins(objs[i], elems.Index(i))
    					}
    				}
    
    				if joins.Len() > 0 {
    					db.AddError(db.Session(&gorm.Session{NewDB: true}).Clauses(clause.OnConflict{DoNothing: true}).Session(&gorm.Session{
    						SkipHooks:                db.Statement.SkipHooks,
    						DisableNestedTransaction: true,
    					}).Create(joins.Interface()).Error)
    				}
    			}
    		}
    	}
    }
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top