I have following plugin with dependencies in my POM:
</plugin>
<... some plugin stuff ...>
<dependencies>
<dependency>
<groupId>com.github.shyiko</groupId>
<artifactId>ktlint</artifactId>
<version>0.31.0</version>
</dependency>
</dependencies>
</plugin>
When I run:
mvn dependency:go-offline
It does download plugin, but doesn't download ktlint dependency.
Is there any option to make it work different than adding copy of it to regular project dependencies?
maven 3.5.4
maven-dependency-plugin 3.3.0