Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 296 for Lookup (0.04 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

        public Slf4jConfiguration.Level loggerLevel;
        public Boolean coloredOutput;
        public Terminal terminal;
        public Consumer<String> writer;
    
        public ContainerCapsule containerCapsule;
        public Lookup lookup;
        public EventSpyDispatcher eventSpyDispatcher;
    
        public BuildEventListener buildEventListener;
    
        // paths user can override from CLI, and we need to set on MavenExReq
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsule.java

    import org.apache.maven.api.services.Lookup;
    
    /**
     * Container capsule.
     */
    public interface ContainerCapsule extends AutoCloseable {
        /**
         * Updates the existing capsule logging setup.
         */
        void updateLogging(LookupContext context);
    
        /**
         * The {@link Lookup} service backed by container in this capsule.
         */
        @Nonnull
        Lookup getLookup();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        default MessageBuilderFactory messageBuilderFactory() {
            return parserRequest().messageBuilderFactory();
        }
    
        /**
         * Shorthand for {@link Lookup}.
         */
        default Lookup lookup() {
            return parserRequest().lookup();
        }
    
        /**
         * Returns a map of user-defined properties for the Maven execution.
         * These properties can be set using the -D command-line option.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

        }
    
        protected void lookup(C context) throws Exception {
            if (context.eventSpyDispatcher == null) {
                context.eventSpyDispatcher = context.lookup.lookup(EventSpyDispatcher.class);
            }
        }
    
        protected void init(C context) throws Exception {
            Map<String, Object> data = new HashMap<>();
            data.put("plexus", context.lookup.lookup(PlexusContainer.class));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
                projectBuilder = getContainer().lookup(ProjectBuilder.class, "test");
            } else {
                // default over to the main project builder...
                projectBuilder = getContainer().lookup(ProjectBuilder.class);
            }
        }
    
        protected ProjectBuilder getProjectBuilder() {
            return projectBuilder;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConverterLookup.java

    import org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter;
    import org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup;
    import org.codehaus.plexus.component.configurator.converters.lookup.DefaultConverterLookup;
    
    class EnhancedConverterLookup implements ConverterLookup {
        private final ConverterLookup delegate = new DefaultConverterLookup();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

         */
        @Named
        @Singleton
        @SuppressWarnings("unused")
        static class ReactorReaderSpy implements EventSpy {
    
            private final Lookup lookup;
    
            @Inject
            ReactorReaderSpy(Lookup lookup) {
                this.lookup = lookup;
            }
    
            @Override
            public void init(Context context) throws Exception {}
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

    import org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter;
    import org.codehaus.plexus.component.configurator.converters.lookup.ConverterLookup;
    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

        @Test
        void testEnsureResolverSessionHasMavenWorkspaceReader() throws Exception {
            WsrClassCatcher wsrClassCatcher =
                    (WsrClassCatcher) getContainer().lookup(AbstractMavenLifecycleParticipant.class, "WsrClassCatcher");
            Maven maven = getContainer().lookup(Maven.class);
            MavenExecutionRequest request =
                    createMavenExecutionRequest(getProject("simple")).setGoals(asList("validate"));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/DoubleInetAddressDns.kt

     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
      override fun lookup(hostname: String): List<InetAddress> {
        val addresses = Dns.SYSTEM.lookup(hostname)
        return listOf(addresses[0], addresses[0])
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1K bytes
    - Click Count (0)
Back to Top