[ 
https://issues.jboss.org/browse/SEAM-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579019#comment-12579019
 ] 

Jozef Hartinger commented on SEAM-14:
-------------------------------------

This is how I got this done for the ref guide in Seam REST module:

pom.xml
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.6</version>
        <executions>
                <execution>
                        <phase>generate-sources</phase>
                        <configuration>
                                <tasks>
                                        <echo 
file="${project.basedir}/src/main/docbook/en-US/version_info.xml">&lt;releaseinfo&gt;${project.version}&lt;/releaseinfo&gt;</echo>
                                </tasks>
                        </configuration>
                        <goals>
                                <goal>run</goal>
                        </goals>
                </execution>
        </executions>
</plugin>


book_info.xml
<xi:include href="version_info.xml" xmlns:xi="http://www.w3.org/2001/XInclude"; 
/>


> Figure out how to get ${project.version} replaces in ref guide and readme
> -------------------------------------------------------------------------
>
>                 Key: SEAM-14
>                 URL: https://issues.jboss.org/browse/SEAM-14
>             Project: Seam 3
>          Issue Type: Task
>          Components: Build Infrastructure
>            Reporter: Dan Allen
>            Assignee: Dan Allen
>            Priority: Minor
>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to