gpt4 book ai didi

maven-plugin - Maven fluido 皮肤总是在现场呈现左侧导航为空

转载 作者:行者123 更新时间:2023-12-04 04:05:29 26 4
gpt4 key购买 nike

我无法让 maven-fluido-skin 完全工作 - 左侧导航部分(包含指向各种项目详细信息的链接的部分)始终呈现为空。不确定我是否遗漏了一些皮肤配置,但我认为此功能可以开箱即用。

enter image description here

不过,我添加的任何其他小工具(如 google 搜索)都会显示在左侧导航部分。

这是我的站点描述符的样子:

<project xmlns="http://maven.apache.org/DECORATION/1.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.4.0 http://maven.apache.org/xsd/decoration-1.4.0.xsd"
name="Project name">
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>1.3.1</version>
</skin>

<custom>
<fluidoSkin>
<profile>pre-release</profile>
<sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
<breadcrumbDivider>»</breadcrumbDivider>
</fluidoSkin>
</custom>
</project>

我使用 3.4 版本的 maven-site-plugin1.3.1 版本的 maven-fluido-skin2.2.1 maven 发行版。

FWIW,默认皮肤工作正常 - 它的左侧导航正确。

最佳答案

您可以通过使用菜单引用来节省一些时间,并避免使用以下由 maven-site-plugin 支持和生成的菜单引用来明确指定项目节点:

<menu ref="parent" />
<menu ref="modules" />
<menu ref="reports"/>

关于maven-plugin - Maven fluido 皮肤总是在现场呈现左侧导航为空,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25468050/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com