在有效POM我看到如何找到Maven的依赖,依赖关系:树不起作用
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<executions>
<execution>
<id>default-site</id>
<phase>site</phase>
<goals>
<goal>site</goal>
</goals>
<configuration>
<outputDirectory>/home/tatiana/repos/selenium-tests/masbuilder-tests/target/site</outputDirectory>
<reportPlugins>
<reportPlugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</reportPlugin>
</reportPlugins>
</configuration>
</execution>
<execution>
<id>default-deploy</id>
<phase>site-deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
<configuration>
<outputDirectory>/home/tatiana/repos/selenium-tests/masbuilder-tests/target/site</outputDirectory>
<reportPlugins>
<reportPlugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</reportPlugin>
</reportPlugins>
</configuration>
</execution>
</executions>
<configuration>
<outputDirectory>/home/tatiana/repos/selenium-tests/masbuilder-tests/target/site</outputDirectory>
<reportPlugins>
<reportPlugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</reportPlugin>
</reportPlugins>
</configuration>
</plugin>
但我不使用Maven的网站插件,当我执行 MVN依赖性:树
然后我没有看到Maven的网站插件或输出“网站”关键字或Maven的项目信息的报告,插件的任何提及。
同为 MVN依赖性:树-Dverbose
的问题是有效的POM错误,我想删除: 元素reportplugins这里不允许使用
也许这是有关与我使用的maven-surefire-plugin?
你确定你使用的某个库没有对maven-site-plugin的传递依赖吗? – Makoto
如何查看/查看?我试图使用 mvn依赖:树 - 混合 没有成功(请参阅依赖关系,但不是这个) – Tatiana
这听起来你是从你正在使用的一些父母继承这.. ..? – khmarbaise