J�rg Schaible wrote:

Just as remark: In a multiproject environment you have to maintain a copy the css in 
every subproject.



generally i have a preGoal on site project that iterates on subprojects and copies common files (css, images, etc.) to the correct locations.
i do something like this :


- <#> <goal name="*prepare-modules*">
- <#> <ant:fileScanner var="*children*">
<ant:fileset dir="*${maven.multiproject.basedir}*" includes="*${maven.multiproject.includes}*" />
</ant:fileScanner>
- <#> <j:forEach var="*project*" items="*${children.iterator()}*">
<util:file var="*projectDescriptor*" name="*${project}*" />
<maven:pom projectDescriptor="*${projectDescriptor}*" var="*module*" />
<custom-tag:prepare-site-generation module="*${module}*" /> <!-- this is the effective copy -->
</j:forEach>
<custom-tag:prepare-site-generation module="*${pom}*" /> <!-- special processing for this -->
</goal>



-- gd


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to