<project>
...
<build>
...
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.2</version>
<configuration>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
<extractors>
<extractor>java-annotations-and-scaladoc</extractor>
</extractors>
</configuration>
<executions>
<execution>
<goals>
<goal>descriptor</goal>
<goal>helpmojo</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>net.adamcin</groupId>
<artifactId>scalamojo-maven-plugin</artifactId>
<version>1.1.0</version>
</dependency>
</dependencies>
</plugin>
...
</plugins>
...
</build>
...
</project>