Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

fix: Pass settings file path as separate exec arg #327

Merged
merged 2 commits into from
Aug 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Spectrometer Changelog

## v2.14.5

- Maven: Fixes an issue where projects with `settings.xml` files would not be analyzed correctly using the `dependency:tree` tactic. ([#327](https://github.com/fossas/spectrometer/pull/327))

## v2.14.4

- Gradle: Fixes an issue where all dependencies would appear as direct ([#319](https://github.com/fossas/spectrometer/pull/319))
- Gradle: Fixes an issue where all dependencies would appear as direct. ([#319](https://github.com/fossas/spectrometer/pull/319))

## v2.14.3

Expand Down
2 changes: 1 addition & 1 deletion src/Strategy/Maven/DepTree.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ deptreeCmd settingsFile outputFile =
-- the failing module.)
"--fail-at-end"
]
<> maybe [] (\p -> ["--settings " <> toText (fromAbsFile p)]) settingsFile
<> maybe [] (\file -> ["--settings", toText file]) settingsFile
, -- `mvn dependency:tree` will exit non-zero when the build of any module
-- in a multi-module build fails. However, this should not cause an Exec
-- failure, since we can still get partial results.
Expand Down