Skip to content

Commit

Permalink
Delete type resolution block from readme
Browse files Browse the repository at this point in the history
Closes #144
  • Loading branch information
Sebastian Sigl committed Jul 23, 2022
1 parent 00da32e commit 82d0ace
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,49 +187,6 @@ This will generate a baseline file for each module named as `baseline-<module-na
</build>
```

## Using Type Resolution

See [Issue #144](https://github.com/Ozsie/detekt-maven-plugin/issues/144) for an explanation.

```xml
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>generate-classpath-var</id>
<phase>package</phase>
<goals><goal>build-classpath</goal></goals>
<configuration>
<outputProperty>generated.classpath</outputProperty>
<silent>true</silent>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.ozsie</groupId>
<artifactId>detekt-maven-plugin</artifactId>
<version>1.21.0</version>
<configuration>
<baseline>baseline.xml</baseline>
<classPath>${generated.classpath}</classPath>
<jvmTarget>17</jvmTarget>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals><goal>check</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
```

### Goals
#### check

Expand Down

0 comments on commit 82d0ace

Please sign in to comment.