Ivan Pavlov
07/02/2021, 12:12 PMIvan Pavlov
07/02/2021, 12:18 PM<plugin>
<groupId>com.github.ozsie</groupId>
<artifactId>detekt-maven-plugin</artifactId>
<version>1.17.1</version>
<executions>
<execution>
<phase>verify</phase>
<goals><goal>check</goal></goals>
</execution>
</executions>
<configuration>
<config>detekt.yml</config>
<report>html:reports/detekt-report.html</report>
</configuration>
</plugin>
If I run mvn detekt:create-baseline -Ddetekt.config=detekt.yml -Ddetekt.baseline=detekt-baseline.xml
I get Execution default-cli of goal com.github.ozsiedetekt maven plugin1.17.1:create-baseline failed: Provided
path 'projectDirectory/src' does not exist!
I understand that I don't have src for the root project because it obviously has pom packaging, but is there a workaround? Ideally My goal is having single baseline file for all submodules and single report after detekt:check goalgammax
07/02/2021, 1:10 PMIvan Pavlov
07/02/2021, 2:48 PMJoe
07/02/2021, 4:13 PM