Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for cflags (0.17 sec)

  1. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

            assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession());
    
            sessionScope.enter();
            sessionScope.seed(Session.class, this.session);
            assertNotNull(bean.myBean.getSession());
            assertNotNull(bean.myBean.getAnotherBean());
            assertSame(bean.myBean.getAnotherBean().getClass(), AnotherBean.class);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java

        protected void configure() {
            bindScope(SessionScoped.class, scope);
            // bindScope(org.apache.maven.api.di.SessionScoped.class, scope);
            bind(SessionScope.class).toInstance(scope);
    
            bind(MavenSession.class)
                    .toProvider(SessionScope.seededKeyProvider(MavenSession.class))
                    .in(scope);
            bind(Session.class)
                    .toProvider(SessionScope.seededKeyProvider(Session.class))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * <p>
         * Shortcut for {@code getService(TypeRegistry.class).require(...)}.
         *
         * @see org.apache.maven.api.services.TypeRegistry#require(String)
         */
        @Nonnull
        Type requireType(@Nonnull String id);
    
        /**
         * Obtain the {@link Language} from the specified {@code id}.
         * <p>
         * Shortcut for {@code getService(LanguageRegistry.class).require(...)}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    .distinct()
                    .forEach(key -> {
                        Class<?> clazz = key.getRawType();
                        Class<Object> itf = (clazz.isInterface()
                                ? null
                                : (Class<Object>) (clazz.getInterfaces().length > 0 ? clazz.getInterfaces()[0] : clazz));
                        if (itf != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivateTest.java

            MavenSession session = mock(MavenSession.class);
            MavenExecutionRequest req = new DefaultMavenExecutionRequest();
            when(session.getRequest()).thenReturn(req);
    
            ToolchainPrivate basicToolchain = mock(ToolchainPrivate.class);
            when(toolchainFactory_basicType.createDefaultToolchain()).thenReturn(basicToolchain);
            ToolchainPrivate rareToolchain = mock(ToolchainPrivate.class);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            ToolchainPrivate basicPrivate = mock(ToolchainPrivate.class);
            when(basicPrivate.matchesRequirements(ArgumentMatchers.<String, String>anyMap()))
                    .thenReturn(false)
                    .thenReturn(true);
            when(toolchainFactory_basicType.createToolchain(isA(ToolchainModel.class)))
                    .thenReturn(basicPrivate);
    
            List<Toolchain> toolchains =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 16 12:54:16 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

        String getConfigurationElement();
    
        /**
         * Gets the class loader from which to load any types referenced by the configuration. If unset, the class loader of
         * the bean class will be used.
         *
         * @return The class loader to load referenced types from or {@code null} if unset.
         */
        ClassLoader getClassLoader();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

            return new ProjectModelResolver(
                    repoSession,
                    null,
                    getContainer().lookup(RepositorySystem.class),
                    getContainer().lookup(RemoteRepositoryManager.class),
                    this.getRemoteRepositories(),
                    ProjectBuildingRequest.RepositoryMerging.REQUEST_DOMINANT,
                    null,
                    null);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        /**
         * Create a key using the given class as an identifier and as the type of the object.
         */
        static <T> Key<T> key(Class<T> clazz) {
            return new Key<>(clazz, clazz);
        }
    
        /**
         * Create a key using the given class and id.
         */
        static <T> Key<T> key(Class<T> clazz, Object id) {
            return new Key<>(clazz, id);
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.when;
    
    class ConsumerPomArtifactTransformerTest {
    
        @Test
        void transform() throws Exception {
            RepositorySystemSession systemSessionMock = Mockito.mock(RepositorySystemSession.class);
            SessionData sessionDataMock = Mockito.mock(SessionData.class);
            when(systemSessionMock.getData()).thenReturn(sessionDataMock);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top