Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for callback (0.32 sec)

  1. maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <p>
     * Encapsulates parameters of ProjectExecutionListener callback methods and is meant to provide API evolution path
     * should it become necessary to introduce new parameters in the existing callbacks in the future.
     * </p>
     * <strong>Note:</strong> This class is part of work in progress and can be changed or removed without notice.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.execution.MavenSession;
    
    /**
     * Allows core extensions to participate in Maven build session lifecycle.
     *
     * All callback methods (will) follow beforeXXX/afterXXX naming pattern to
     * indicate at what lifecycle point it is being called.
     *
     * @see <a href="https://maven.apache.org/examples/maven-3-lifecycle-extensions.html">example</a>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <p>
     * Encapsulates parameters of MojoExecutionListener callback methods and is meant to provide API evolution path should
     * it become necessary to introduce new parameters in the existing callbacks in the future.
     * </p>
     * <strong>Note:</strong> This class is part of work in progress and can be changed or removed without notice.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            private final ArtifactRepositoryLayout fallback;
    
            UnknownRepositoryLayout(String id, ArtifactRepositoryLayout fallback) {
                this.id = id;
                this.fallback = fallback;
            }
    
            public String getId() {
                return id;
            }
    
            public String pathOf(Artifact artifact) {
                return fallback.pathOf(artifact);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/shared/init.cmd

    @REM ==== END VALIDATION ====
    
    :init
    
    set "CLASSWORLDS_CONF=%MAVEN_HOME%\bin\m2.conf"
    
    @REM Find the project basedir, i.e., the directory that contains the directory ".mvn".
    @REM Fallback to current working directory if not found.
    
    set "EXEC_DIR=%CD%"
    set "WDIR=%EXEC_DIR%"
    
    @REM Look for the --file switch and start the search for the .mvn directory from the specified
    @REM POM location, if supplied.
    
    set FILE_ARG=
    :arg_loop
    Batch File
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 16 21:35:28 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

                /*
                 * JAR file: can contain only one module, with descriptor at the root.
                 * If no descriptor, the "Automatic-Module-Name" manifest attribute is
                 * taken as a fallback.
                 */
                try (JarFile jar = new JarFile(path.toFile())) {
                    ZipEntry entry = jar.getEntry(MODULE_INFO);
                    if (entry != null) {
                        String name = null;
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    return packagedArtifactFile;
                }
            }
    
            if (!hasBeenPackagedDuringThisSession(project)) {
                // fallback to loose class files only if artifacts haven't been packaged yet
                // and only for plain old jars. Not war files, not ear files, not anything else.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

    import org.apache.maven.eventspy.EventSpy;
    import org.apache.maven.execution.ExecutionListener;
    import org.eclipse.aether.RepositoryListener;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Dispatches callbacks to all registered EventSpies.
     * @since 3.0.2
     */
    @Named
    @Singleton
    public class EventSpyDispatcher {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

            } catch (ExpressionEvaluationException e) {
                // not important
                // will be reported during Mojo fields populate
            }
    
            // fallback - in case of error in expressionEvaluator
            return false;
        }
    
        @Override
        public final void validate(
                MavenSession mavenSession,
                MojoDescriptor mojoDescriptor,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

        private Collection<WeakMojoExecutionListener> getProvidedListeners() {
            // the same instance can be provided multiple times under different Key's
            // deduplicate instances to avoid redundant beforeXXX/afterXXX callbacks
            IdentityHashMap<WeakMojoExecutionListener, Object> listeners = new IdentityHashMap<>();
            for (Object provided : getScopeState().provided.values()) {
                if (provided instanceof WeakMojoExecutionListener) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.2K bytes
    - Viewed (0)
Back to top