You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/23 11:31:00 UTC
[jira] [Resolved] (DOXIA-373) Macro snippet with file option in a
multi-pom project
[ https://issues.apache.org/jira/browse/DOXIA-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold resolved DOXIA-373.
-----------------------------------------
Resolution: Cannot Reproduce
> Macro snippet with file option in a multi-pom project
> -----------------------------------------------------
>
> Key: DOXIA-373
> URL: https://issues.apache.org/jira/browse/DOXIA-373
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Apt
> Environment: Window XP
> Reporter: T. Montembault
> Priority: Major
>
> The project is a multi pom project. In the main pom project, I declare the other pom like this :
> {code:xml}
> <modules>
> <module>../moduleA</module>
> <module>../moduleB</module>
> ...
> </modules>
> {code}
> To avoid duplicate code,I use the macro snippet in my documentation in modules A, B and Main. For convenient, the following syntax :
> {noformat} %{snippet|id=myid|file=src/main/java/mypackage/File.java} {noformat}.
> When I build the site from each module A or B, all work fine. But when the site was generated from the main module, the snippet seem not work : All the pages who include a snippet's macros in A or B are not generated. I obtain the same problem if i do a simple site or a site:stage
>
> The maven site work fine work include pictures and schemas of local documentation (in A et B). I try to use
> the velocity macro and transform {{MyFile.apt}} to {{MyFile.apt.vm}} like these :
> {noformat}
> MyFile.apt.vm
> %{snippet|id=myid|file=${basedir}/src/main/java/mypackage/File.java}.
> {noformat}
> It's fail too.
> I use maven 2.1.0
> Sorry for my poor english
--
This message was sent by Atlassian Jira
(v8.3.4#803005)