Usage of `silencer:globalFilters` in Maven projects.
See original GitHub issueHow can we use silencer:globalFilters
in maven projects?
-P:silencer:globalFilters=<semicolon separated message regexes>
I am trying to pass the silencer flag option using scala-maven-plugin
<configuration>
<args>
<arg>-P:silencer:globalFilters=Unused import</arg>
<arg> ....<arg>
<arg>-Xfatal-warnings</arg>
<arg>-Ywarn-unused-import</arg>
</args>
</configuration>
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Maven in 5 Minutes
Maven is a Java tool, so you must have Java installed in order to proceed. ... The pom.xml file is the core of...
Read more >Introduction to the POM - Apache Maven
It is an XML file that contains information about the project and configuration details used by Maven to build the project. It contains...
Read more >Maven Getting Started Guide
We are going to jump headlong into creating your first Maven project! To create our first Maven project we are going to use...
Read more >Guide to Configuring Plug-ins - Apache Maven
Maven plugins (build and reporting) are configured by specifying a <configuration> element where the child elements of the <configuration> ...
Read more >Usage - Apache Maven WAR Plugin
There are 4 ways to use the WAR Plugin: using the package phase with the project package type as war; invocation of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, that solves that issue. Thank you @jozic @SethTisue. Perhaps it is better to add these instructions to the
README
.this worked for me (Scala 2.12.10, silencer 1.4.4)
though I failed to find a way to specify some particular imported class to be ignored