You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric Chow <ec...@macaucabletv.com> on 2003/10/24 08:50:57 UTC
USe XDoclet in Maven
Hello,
I read the reference in the xdoclet maven-plugins, but it still not work.
Is there any project or example use Maven+Xdoclet?
Eric
==========================
If you know what you are doing,
it is not called RESEARCH!
==========================
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: USe XDoclet in Maven
Posted by Konstantin Priblouda <kp...@yahoo.com>.
--- Eric Chow <ec...@macaucabletv.com> wrote:
> Hello,
>
> I read the reference in the xdoclet maven-plugins,
> but it still not work.
>
> Is there any project or example use Maven+Xdoclet?
I can assure you that this works.
Here some small sample:
---%< maven.xml ---
<preGoal name="java:compile">
<attainGoal name="jrefactory:pretty2"/>
<attainGoal name="xdoclet:webdoclet"/>
<attainGoal name="xdoclet:xdoclet"/>
</preGoal>
---%<------------
project.properties:
---%<---------------
#properties for webwork invocation
maven.xdoclet.webdoclet.destDir=${basedir}/target/xdoclet/webdoclet
maven.xdoclet.webdoclet.fileset.4=true
maven.xdoclet.webdoclet.fileset.4.include=**/*Action.java
maven.xdoclet.webdoclet.webworkconfigproperties.0=true
maven.xdoclet.webdoclet.jsptaglib.0=false
#message bundles
maven.xdoclet.xdoclet.destDir=${basedir}/target/xdoclet/xdoclet
maven.xdoclet.xdoclet.externalizer.0=true
maven.xdoclet.xdoclet.externalizer.0.destinationFile={0}{1}.properties
maven.xdoclet.xdoclet.propertiestranslator.0=true
maven.xdoclet.xdoclet.fileset.0=true
maven.xdoclet.xdoclet.fileset.0.include=**/*.java
---%<-----------
that's all I'm using to generate my webwork mapping
files & externalized message bundles.
regards,
=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung.
Arbeitsort: Mainz
Skills: Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org