-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thx for your answer. Maybe, that it is less traffic, if you have to download only one plugin. But if you use xdoclet in more than one project, you will have to download the other dependencies too.
And with the actual situation, there are lots of confused users. I will describe my first maven experiences a half year ago. After using ant and xdoclet I've made the next step to maven and (what else?) xdoclet. My test was a struts,jboss based webproject and my first intention was, to simply call xdoclet:webdoclet. Nothing realy happens...


Minutes (or hours, cause I was a newbie) later I have tried to include the xdoclet-struts and the xdoclet-jboss dependency...
And what should I say.... Nothing happens. Not an error-messages nor any descriptor.


Much more hours and lots of mailing lists later I found a resolution. The plugin's goal needs the xdoclet-jmx and the xdoclet-ejb plugin. I don't know why and I was not interrested why, I was only glad, if it was running.


But today I was updating to xdoclet-1.2. And that was the point, I found some points to think about.
1. The not so intuitive dependency from some libs, a normal (first time) user doesn't expect.
2. The plugin normaly resolves the xdoclet-xdoclet, the xjavadoc, and in my case the xdoclet-webdoclet dependencies. It downloads and includes the actual and the required versions. But your project uses the libs you have on your system then you wad developed your project. And I'am not sure, if this plugins will be compatible with future versions of the plugin.
3. A resolving of the dependency will seperate eventually incompatible libs. I don't know, what other plugins are doing, but the xdoclet-goals are including all project-dependencies in the classpath, but is building a special classpath from only a part of it's own dependencies.


After all, in my eyes it will be the best solution, to resolve all dependencies in the plugin and not in in my project.

daniel

Am Montag, 01.11.04, um 21:11 Uhr (Europe/Berlin) schrieb Mark Lowe:

I use the xdoclet plugin well enough which dependencies are resoloved?
Sure I need to have the doclets that i want to use in the POM else the
dependcy list would be savage.

To generate a struts config you'd need.

xdoclet-apache-module
and
xdoclet-web-module

Having all the available plugins as maven plugin dependencies would be
annoying. Personally I use the apache module and I would be annoyed if
I needed to download it to generate hibernate mapping files.

Likewise some unfortunate soul might be developing EJB's and hence the
hibernate doclet would be a chocolate fire guard, why would s/he want
to have the hibernate doclet?

Mark

On Mon, 1 Nov 2004 17:21:22 +0100, Daniel Draws <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there anybody out there, who knows, why the maven-xdoclet-plugin
doesn't resolve it's dependencies. It's causing "ugly" poms, if I had
to resolve all build-tool dependencies in my project.
And it tooks hours to solve build problems. if I was first using the
maven-xdoclet-plugin, I was really confused, why all trys to build my
project are going wrong, if my project was trying to generate a
struts-config.xml.

I normaly expected, that the plugins project.xml is defining all
dependencies. And the plugin.jelly is building a correct classpath.

thx
daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFBhmKKcM/zZjCYD2IRAjLPAJ4lBbtg2MZVkbM25M+Lg3W+nkaXxACfdZrg
SmrpBpG4846NP16ib0L/n2I=
=wh8p
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFBhrJccM/zZjCYD2IRArM0AKDrxfLArM6FjgEmeuVJB854lcqzIACfQRWe
Ol1ImM3QAnK1AfN5eCrtaDs=
=1DGv
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to