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

Commit

Permalink
fix(maven): Pass settings file path as separate exec arg (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
elldritch authored Aug 10, 2021
1 parent 7511627 commit 1dacb62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
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

0 comments on commit 1dacb62

Please sign in to comment.