Skip to content

Commit

Permalink
[GR-47526] Excluded LayoutDirDistribution from a maven deployment as …
Browse files Browse the repository at this point in the history
…it's always embedded.

PullRequest: mx/1642
  • Loading branch information
tzezula committed Jul 25, 2023
2 parents 9357e33 + 77d0221 commit 7b02bba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mx.py
Original file line number Diff line number Diff line change
Expand Up @@ -11311,6 +11311,10 @@ def _addDevAttr(name, default=None):
if directDistDeps or directLibDeps:
pom.open('dependencies')
for dep in directDistDeps:
if dep.isLayoutDirDistribution():
# LayoutDirDistribution is always embedded in the dependent distribution.
logv(f"_genPom({dist}): ignoring layout dir dependency {dep} because it's embedded")
continue
if dep.suite.internal:
warn(f"_genPom({dist}): ignoring internal dependency {dep}")
continue
Expand Down Expand Up @@ -18521,7 +18525,7 @@ def alarm_handler(signum, frame):
abort(1, killsig=signal.SIGINT)

# The version must be updated for every PR (checked in CI) and the comment should reflect the PR's issue
version = VersionSpec("6.33.0") # Extend layout distribution file list entry by POSIX permissions.
version = VersionSpec("6.34.0") # Excluded LayoutDirDistribution from a maven deployment as it's always embedded

_mx_start_datetime = datetime.utcnow()
_last_timestamp = _mx_start_datetime
Expand Down

0 comments on commit 7b02bba

Please sign in to comment.