Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for lock (0.18 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

    import org.codehaus.plexus.testing.PlexusTest;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.junit.jupiter.api.BeforeEach;
    
    import static org.junit.jupiter.api.Assertions.fail;
    import static org.mockito.Mockito.mock;
    
    /**
     */
    @PlexusTest
    @Deprecated
    public abstract class AbstractMavenProjectTestCase {
        protected ProjectBuilder projectBuilder;
    
        @Inject
        protected RepositorySystem repositorySystem;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                this.modelCache = DefaultModelCache.newInstance(session, true);
            }
    
            ExecutorService createExecutor(int parallelism) {
                //
                // We need an executor that will not block.
                // We can't use work stealing, as we are building a graph
                // and this could lead to cycles where a thread waits for
                // a task to finish, then execute another one which waits
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

    import org.eclipse.aether.internal.impl.SimpleLocalRepositoryManagerFactory;
    import org.eclipse.aether.repository.LocalRepository;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.mockito.Mockito.mock;
    
    @PlexusTest
    @Deprecated
    public abstract class AbstractCoreMavenComponentTestCase {
    
        @Inject
        protected PlexusContainer container;
    
        @Inject
        protected RepositorySystem repositorySystem;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

            values.add(0, new ScopeState());
        }
    
        protected ScopeState getScopeState() {
            if (values.isEmpty()) {
                throw new OutOfScopeException("Cannot access session scope outside of a scoping block");
            }
            return values.get(0);
        }
    
        public void exit() {
            if (values.isEmpty()) {
                throw new IllegalStateException();
            }
            values.remove(0);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. maven-api-impl/pom.xml

          <artifactId>maven-di</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-named-locks</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-connector-basic</artifactId>
          <scope>test</scope>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top