Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for cleanUp (0.2 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            File tempFile = File.createTempFile(baseFilename, fileSuffix);
            tempFile.deleteOnExit();
            markForDeletion(tempFile);
    
            return tempFile;
        }
    
        public void cleanUp() throws IOException {
            for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {
                File file = (File) it.next();
    
                if (file.exists()) {
                    if (file.isDirectory()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/providers/CleanLifecycleProvider.java

    import javax.inject.Singleton;
    
    /**
     * {@code clean} lifecycle provider.
     */
    @Named(CleanLifecycleProvider.LIFECYCLE_ID)
    @Singleton
    public final class CleanLifecycleProvider extends AbstractLifecycleProvider {
        static final String LIFECYCLE_ID = "clean";
    
        // START SNIPPET: clean
        private static final String[] PHASES = {"pre-clean", "clean", "post-clean"};
    
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Mon Jan 16 13:30:48 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java

         * in <code>ArtifactScopeEnum</code>
         *
         * @param graph the "dirty" graph to be simplified via conflict resolution
         * @param scope scope for which the graph should be resolved
         *
         * @return resulting "clean" graph for the specified scope
         *
         * @since 3.0
         */
        MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope)
                throws GraphConflictResolutionException;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/ReactorReader.java

        private boolean hasBeenPackagedDuringThisSession(MavenProject project) {
            boolean packaged = false;
            for (String phase : getLifecycles(project)) {
                switch (phase) {
                    case "clean":
                        packaged = false;
                        break;
                    case "package":
                    case "install":
                    case "deploy":
                        packaged = true;
    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)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

    // wiring and reference and external source for the lifecycle configuration.
    @Named
    @Singleton
    public class DefaultLifecycles {
        public static final String[] STANDARD_LIFECYCLES = {"clean", "default", "site", "wrapper"};
    
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        // @Configuration(source="org/apache/maven/lifecycle/lifecycles.xml")
    
        private final Lookup lookup;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        // that represent a verification of a specification item needs to be a couple lines at most.
        // The expressions help a lot, but we need a clean to pick up a directory of POMs, automatically load
        // them into a resolver, create the expression to extract the data to validate the Model, and the URI
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

            // do nothing
        }
    
        /**
         * Invoked after all projects were built.
         *
         * This callback is intended to allow extensions to perform cleanup of any
         * allocated external resources after the build. It is invoked on best-effort
         * basis and may be missed due to an Error or RuntimeException in Maven core
         * code.
         *
    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)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

        }
    
        // <lifecycle>
        //   <id>clean</id>
        //   <phases>
        //     <phase>pre-clean</phase>
        //     <phase>clean</phase>
        //     <phase>post-clean</phase>
        //   </phases>
        //   <default-phases>
        //     <clean>org.apache.maven.plugins:maven-clean-plugin:clean</clean>
        //   </default-phases>
        // </lifecycle>
    
        private String id;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

    public class LifecycleExecutionPlanCalculatorStub implements LifecycleExecutionPlanCalculator {
        // clean
    
        public static final MojoDescriptor PRE_CLEAN = createMojoDescriptor("pre-clean");
    
        public static final MojoDescriptor CLEAN = createMojoDescriptor("clean");
    
        public static final MojoDescriptor POST_CLEAN = createMojoDescriptor("post-clean");
    
        // default (or at least some of them)
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

    import org.apache.maven.api.model.Plugin;
    
    /**
     * Lifecycle definition
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Lifecycle extends ExtensibleEnum {
    
        String CLEAN = "clean";
    
        String DEFAULT = "default";
    
        String SITE = "site";
    
        String WRAPPER = "wrapper";
    
        /**
         * Name or identifier of this lifecycle.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top