Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for BuildResumptionData (0.4 sec)

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

    /**
     * This class holds the information required to enable resuming a Maven build with {@code --resume}.
     */
    public class BuildResumptionData {
        /**
         * The list of projects that remain to be built.
         */
        private final List<String> remainingProjects;
    
        public BuildResumptionData(final List<String> remainingProjects) {
            this.remainingProjects = remainingProjects;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

        @Override
        public void persistResumptionData(MavenProject rootProject, BuildResumptionData buildResumptionData)
                throws BuildResumptionPersistenceException {
            Properties properties = convertToProperties(buildResumptionData);
    
            Path resumeProperties = Paths.get(rootProject.getBuild().getDirectory(), RESUME_PROPERTIES_FILENAME);
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionDataRepository.java

         * so.
         *
         * @param rootProject The root project that is being built.
         * @param buildResumptionData Information needed to resume the build.
         * @throws BuildResumptionPersistenceException When an error occurs while persisting data.
         */
        void persistResumptionData(MavenProject rootProject, BuildResumptionData buildResumptionData)
                throws BuildResumptionPersistenceException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionAnalyzer.java

    public interface BuildResumptionAnalyzer {
        /**
         * Construct an instance of {@link BuildResumptionData} based on the outcome of the current Maven build.
         * @param result Outcome of the current Maven build.
         * @return A {@link BuildResumptionData} instance or {@link Optional#empty()} if resuming the build is not possible.
         */
        Optional<BuildResumptionData> determineBuildResumptionData(MavenExecutionResult result);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

    public class DefaultBuildResumptionAnalyzer implements BuildResumptionAnalyzer {
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultBuildResumptionAnalyzer.class);
    
        @Override
        public Optional<BuildResumptionData> determineBuildResumptionData(final MavenExecutionResult result) {
            if (!result.hasExceptions()) {
                return Optional.empty();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top