Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 211 for init (0.16 sec)

  1. maven-embedder/src/main/java/org/slf4j/simple/MavenSlf4jSimpleFriend.java

     * Use with precaution, since this is not normally intended for production use.
     */
    public class MavenSlf4jSimpleFriend {
        public static void init() {
            SimpleLogger.init();
            ILoggerFactory loggerFactory = LoggerFactory.getILoggerFactory();
            if (loggerFactory instanceof SimpleLoggerFactory) {
                ((SimpleLoggerFactory) loggerFactory).reset();
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:36:58 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java

    package org.apache.maven.eventspy;
    
    /**
     * A skeleton eventspy that does nothing other than helping implementors.
     * @since 3.0.2
     */
    public abstract class AbstractEventSpy implements EventSpy {
    
        public void init(Context context) throws Exception {}
    
        public void onEvent(Object event) throws Exception {}
    
        public void close() throws Exception {}
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

            }
            return new EventSpyRepositoryListener(this, listener);
        }
    
        public void init(EventSpy.Context context) {
            if (eventSpies.isEmpty()) {
                return;
            }
            for (EventSpy eventSpy : eventSpies) {
                try {
                    eventSpy.init(context);
                } catch (Exception | LinkageError e) {
                    logError("initialize", e, eventSpy);
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java

            context.setValue(expression, value);
        }
    
        /*
        public int containerCountForUri( String uri )
            throws IOException
        {
            Validate.notEmpty( uri, "uri can neither be null nor empty " );
            ModelDataSource source = new DefaultModelDataSource();
            source.init( domainModel.getModelProperties(), null );
            return source.queryFor( uri ).size();
        }
        */
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

        private DefaultSessionFactory sessionFactory;
    
        @Inject
        EventSpyImpl(DefaultSessionFactory sessionFactory) {
            this.sessionFactory = sessionFactory;
        }
    
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent) {
                ExecutionEvent ee = (ExecutionEvent) arg;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

     * property {@code maven.ext.class.path} on the command line. As soon as dependency injection is set up, Maven
     * looks up all implementers of this interface and calls their {@link #init(Context)} method. Note:
     * Implementors are strongly advised to inherit from {@link AbstractEventSpy} instead of directly implementing this
     * interface.
     * @since 3.0.2
     */
    public interface EventSpy {
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  7. maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/Slf4jSimpleConfiguration.java

        }
    
        @Override
        public void activate() {
            // property for root logger level or System.out redirection need to be taken into account
            MavenSlf4jSimpleFriend.init();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:36:58 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

            if (!forkedExecutions.isEmpty()) {
                for (Map.Entry<String, List<MojoExecution>> fork : forkedExecutions.entrySet()) {
                    logger.debug("--- init fork of " + fork.getKey() + " for " + mojoExecId + " ---");
    
                    debugDependencyRequirements(fork.getValue());
    
                    for (MojoExecution forkedExecution : fork.getValue()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

                    error);
        }
    
        public ArtifactMetadata(Artifact af) {
            /*
            if ( af != null )
            {
                init( af );
            }
            */
        }
        // ------------------------------------------------------------------
        //    public void init( ArtifactMetadata af )
        //    {
        //        setGroupId( af.getGroupId() );
        //        setArtifactId( af.getArtifactId() );
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  10. maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

                ScaleUnit unit = ScaleUnit.getScaleUnit(size);
                format(builder, progressedSize, unit, true);
                builder.append("/");
                format(builder, size, unit, false);
            } else {
                ScaleUnit unit = ScaleUnit.getScaleUnit(progressedSize);
    
                format(builder, progressedSize, unit, false);
            }
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top