Visitar URL original
Add incremental exploded WAR copying by efegokdemir · Pull Request #662 · apache/maven-war-plugin · GitHub
Skip to content

Add incremental exploded WAR copying - #662

Open
efegokdemir wants to merge 4 commits into
apache:masterfrom
efegokdemir:codex/issue-556-incremental-option
Open

efegokdemir wants to merge 4 commits into
apache:masterfrom
efegokdemir:codex/issue-556-incremental-option

Conversation

@efegokdemir

Copy link
Copy Markdown
Contributor

Summary

Add an opt-in incremental mode to war:exploded so unchanged files are not recopied.

Changes

  • Add the incremental parameter to the exploded goal.
  • Carry the option through WarPackagingContext.
  • Use source timestamps when copying packaging-task files in incremental mode.
  • Preserve the existing non-incremental behavior for other goals.

Testing

  • mvn -Dspotless.skip=true -DskipITs test — passed (66 tests)
  • Checkstyle — passed
  • git diff --check — passed

Fixes #556

@slachiewicz slachiewicz added the enhancement New feature or request label Oct 29, 2026
efegokdemir and others added 2 commits October 30, 2026 02:52
Use the context setting in the already-registered copy path so the default full-copy behaviour and opt-in timestamp checks are both respected. Add timestamp and default-mode regressions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

war:exploded should have an explicit incremental option

2 participants