struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Priblouda <kpriblo...@yahoo.com>
Subject Re: [s2] XWork2 release plan
Date Thu, 16 Nov 2006 20:35:27 GMT


--- Don Brown <mrdon@twdata.org> wrote:

> If the xdoclet 2 project already has a taglib
> module, I'd rather use 
> that.  Is there any technical reason we would need
> to have our own 
> custom taglib generation module?

Here is the invocation:
--------------%<---------------
            <plugin>
                <groupId>xdoclet</groupId>
               
<artifactId>maven2-xdoclet2-plugin</artifactId>
                <version>2.0.5-SNAPSHOT</version>
                <executions>
                    <execution>
                        <id>xdoclet</id>
                       
<phase>generate-sources</phase>
                        <goals>
                            <goal>xdoclet</goal>
                        </goals>
                    </execution>
                </executions>
                    <!--
                        since maven plugin does not
specify dependencies
                        on concrete xdoclet-2 plugins,
you must specify them 
                        explicitely. as well as
dependencies which may be needed by 
                        plugin itself
                    -->
                <dependencies>
                    <dependency>
                       
<groupId>xdoclet-plugins</groupId>
                       
<artifactId>xdoclet-plugin-web</artifactId>
                       
<version>1.0.4-SNAPSHOT</version>
                    </dependency>
                    <dependency>
                       
<groupId>commons-jelly</groupId>
                       
<artifactId>commons-jelly-tags-define</artifactId>
                        <version>1.0</version>
                    </dependency>
                    <dependency>
                       
<groupId>javax.servlet</groupId>
                       
<artifactId>jsp-api</artifactId>
                        <version>2.0</version>
                    </dependency>
                    <dependency>
                       
<groupId>commons-jelly</groupId>
                       
<artifactId>commons-jelly-tags-xml</artifactId>
                       
<version>20050823.222913</version>
                    </dependency>
                </dependencies>
                <configuration>
                    <configs>
                        <config>
                            <components>
                                <component>
                                   
<classname>org.xdoclet.plugin.web.TaglibPlugin</classname>
                                    <params>
                                       
<mergedir>file:${basedir}/src/merge/</mergedir>
                                       
<servletversion>2.4</servletversion>
                                    </params>
                                </component>
                            </components>
                        </config>
                    </configs>
                </configuration>
            </plugin>

--------------%<---------------
It could be necessary to add this dependency to plugin
( we can not specify this explicitely, because it is
compiled for 1.5 - maybe we need  some 
parametrisation / profile ):
---------------%<-------------

        <dependency>
            <groupId>qdox</groupId>
            <artifactId>qdox</artifactId>
            <version>1.6.1</version>
        </dependency> 
------------------%<-------------


Documentation:

http://xdoclet.codehaus.org/Web+plugin

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org


 
____________________________________________________________________________________
Sponsored Link

$200,000 mortgage for $660/ mo - 
30/15 yr fixed, reduce debt - 
http://yahoo.ratemarketplace.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message