gst*_*low 5 java jcr maven aem
我的pom.xml中有以下插件配置:
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>maven-vault-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
...
<configuration>
...
<embeddeds>
<embedded>
<groupId>foo</groupId>
<artifactId>bar</artifactId>
<filter>true</filter>
</embedded>
...
Run Code Online (Sandbox Code Playgroud)
我不明白这个参数的含义:
<filter>true</filter>
Run Code Online (Sandbox Code Playgroud)
我注意到如果我把它变成假,那么对应的jar没有安装到jcr(在cq 5.6.1中)
PS
在CQ 5.5中,无论此参数如何,都安装了此jar.
请澄清.
我们用它来将嵌入项目添加到filter.xml 文件中。
我发现了什么:
VaultMojo.class:
Line 504: creates a workspace filter
Filter.class
Line 58: creates the filter xml part for the item.
Run Code Online (Sandbox Code Playgroud)
如果将其设置为 false 或将其保留,则 jar 将不会与包一起安装,因为它在 filter.xml 中没有条目。
我希望这有帮助。不幸的是,该插件没有很好的文档记录。
归档时间: |
|
查看次数: |
525 次 |
最近记录: |