Skip to content

Commit

Permalink
Use "mvn -B" when compiling or running tests in maven projects to avo…
Browse files Browse the repository at this point in the history
…id ANSI coloring clutter and fix bbatsov#1647
  • Loading branch information
steinarb committed Feb 25, 2021
1 parent 1dbdb43 commit 28ccaa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Add `project` param to `projectile-generate-process-name`.
* [#1608](https://github.com/bbatsov/projectile/pull/1608): Use rebar3 build system by default for Erlang projects.
* Rename `projectile-project-root-files-functions` to `projectile-project-root-functions`.
* [#1647](https://github.com/bbatsov/projectile/issues/1647): Use "-B" in the mvn commands to avoid ANSI coloring clutter in the compile buffer

### Bugs fixed

Expand Down
4 changes: 2 additions & 2 deletions projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -2796,8 +2796,8 @@ test/impl/other files as below:
;; Java & friends
(projectile-register-project-type 'maven '("pom.xml")
:project-file "pom.xml"
:compile "mvn clean install"
:test "mvn test"
:compile "mvn -B clean install"
:test "mvn -B test"
:test-suffix "Test"
:src-dir "main/src/"
:test-dir "main/test/")
Expand Down

0 comments on commit 28ccaa7

Please sign in to comment.