我有以下 Maven 检查样式插件配置
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<consoleOutput>true</consoleOutput>
<configLocation>https://someUtl.com/file.xml</configLocation>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
注意
<configLocation>https://someUtl.com/file.xml</configLocation>
file.xml 可以通过浏览器下载,但需要登录名和密码。有没有办法在 Maven 或插件配置中指定这些登录名/密码?