Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,106 for Seed (0.27 sec)

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

            SessionScope sessionScope = container.lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, msession);
            sessionScope.seed(InternalMavenSession.class, iSession);
            sessionScope.seed(Session.class, iSession);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

    import com.google.inject.name.Named;
    
    /**
     * SessionScope
     */
    public class SessionScope extends org.apache.maven.impl.di.SessionScope implements Scope {
    
        public <T> void seed(Class<T> clazz, Provider<T> value) {
            getScopeState().seed(clazz, value::get);
        }
    
        @Override
        public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            SessionScope sessionScope = getContainer().lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, mSession);
            sessionScope.seed(Session.class, iSession);
            sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(iSession));
        }
    
        protected MavenProject createStubMavenProject() {
            Model model = new Model();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            SessionScope sessionScope = getContainer().lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, mSession);
            sessionScope.seed(Session.class, iSession);
            sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(iSession));
        }
    
        protected MavenProject createStubMavenProject() {
            Model model = new Model();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

    /**
     * MojoExecutionScope
     */
    public class MojoExecutionScope extends org.apache.maven.impl.di.MojoExecutionScope
            implements Scope, MojoExecutionListener {
    
        public <T> void seed(Class<T> clazz, Provider<T> value) {
            getScopeState().seed(clazz, value::get);
        }
    
        @Override
        public <T> Provider<T> scope(final Key<T> key, Provider<T> unscoped) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. cmd/dynamic-timeouts_test.go

    			timeout.LogFailure()
    		} else {
    			timeout.LogSuccess(duration)
    		}
    	}
    }
    
    func TestDynamicTimeoutAdjustExponential(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	rand.Seed(0)
    
    	initial := timeout.Timeout()
    
    	for range 10 {
    		testDynamicTimeoutAdjust(t, timeout, rand.ExpFloat64)
    	}
    
    	adjusted := timeout.Timeout()
    	if initial <= adjusted {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            DefaultSession s = new DefaultSession(session, null, null, null, null, null);
            SessionScope scope = container.lookup(SessionScope.class);
            scope.enter();
            scope.seed(Session.class, s);
            scope.seed(InternalMavenSession.class, s);
    
            repoSession.setCache(new DefaultRepositoryCache());
            repoSession.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

            scope.enter();
    
            Object o1 = new Object();
            scope.seed(Object.class, o1);
            assertSame(o1, scope.scope(Key.get(Object.class), () -> null).get());
    
            scope.enter();
            Object o2 = new Object();
            scope.seed(Object.class, o2);
            assertSame(o2, scope.scope(Key.get(Object.class), () -> null).get());
    
            scope.exit();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. .github/ci-mimir-daemon.properties

    #  See the License for the specific language governing permissions and
    #  limitations under the License.
    #
    
    # Mimir Daemon config properties
    
    # Pre-seed itself
    mimir.daemon.preSeedItself=true
    mimir.file.exclusiveAccess=true
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 946 bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

        protected String component() {
            return "installer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top