Closed HelloDhero closed 2 weeks ago
<plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>XXXX</version> <configuration> <plugins> <plugin> <groupId>a</groupId> <artifactId>b</artifactId> <version>c</version> </plugin> </plugins> </configuration> </plugin>
Can I use Maven's default method to add plugins, such as the following code
<plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>XXXX</version> <dependencies> <dependency> <groupId>a</groupId> <artifactId>b</artifactId> <version>c</version> </dependency> </dependencies> </plugin>
I found that when using org.codehaus.mojo:versions-maven-plugin, I cannot detect version upgrade prompts.
Its only supported as documented. You cannot use dependencies for this currently. The items are passed onto spotbugs.
Can I use Maven's default method to add plugins, such as the following code
I found that when using org.codehaus.mojo:versions-maven-plugin, I cannot detect version upgrade prompts.