[
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1486?page=comments#action_17710
]
Michael Albrecht commented on XDT-1486:
---------------------------------------
Hi @all!
After that I had all this work done by myself, I`ve found your issue and
postings...
You're all right but at the end, there is even a wrong maven-xdoclet-plugin, so
I've posted
the zipped maven-xdoclet-plugin (Version 1.2.3) with the corrected plugin.jelly:
...
<taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask">
<classpath>
<path refid="maven.dependency.classpath"/>
<pathelement
path="${plugin.getDependencyPath('xdoclet:xdoclet-ejb-module')}"/>
<pathelement
path="${plugin.getDependencyPath('xdoclet:xdoclet-jboss-module')}"/>
<pathelement
path="${plugin.getDependencyPath('xdoclet:xdoclet-web-module')}"/>
<pathelement
path="${plugin.getDependencyPath('xdoclet:xdoclet-jmx-module')}"/>
<pathelement
path="${plugin.getDependencyPath('xdoclet:xdoclet')}"/>
<pathelement
path="${plugin.getDependencyPath('xjavadoc:xjavadoc')}"/>
<pathelement
path="${plugin.getDependencyPath('xdoclet:xdoclet-xdoclet-module')}"/>
<pathelement
path="${plugin.getDependencyPath('commons-collections:commons-collections')}"/>
<pathelement
path="${plugin.getDependencyPath('commons-logging:commons-logging')}"/>
<pathelement path="${plugin.getDependencyPath('log4j:log4j')}"/>
</classpath>
</taskdef>
...
and the corrected project.xml:
...
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-jboss-module</artifactId>
<version>1.2.3</version>
</dependency>
...
Have much fun with this.
Michael
> xdoclet-jboss-module breaks xdoclet:ejbdoclet maven target
> ----------------------------------------------------------
>
> Key: XDT-1486
> URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1486
> Project: XDoclet
> Type: Bug
> Components: Maven Plugin, JBoss Module
> Versions: 1.2.3
> Environment: JDK 1.5.0 (Windows XP), Maven 1.0.2, XDoclet 1.2.3
> Reporter: Fredrik Vraalsen
> Assignee: xdoclet-devel (Use for new issues)
> Attachments: maven-xdoclet-output-with-jboss-module.txt,
> maven-xdoclet-output-without-jboss-module.txt, project.properties,
> project.xml, xdoclet_v1.zip, xdoclet_v2.zip
>
>
> I am unable to get the Maven plugin to generate the jboss.xml file. As per
> the instructions on the XDoclet Maven plugin webpage, I tried adding
> xdoclet-jboss-module-1.2.3.jar to my project dependencies.
> As the xdoclet-jboss-module-1.2.3.jar is not available from the ibiblio maven
> repository I copied the file manually into my local maven repository.
> However, when I add the jboss module to my dependencies, the
> xdoclet:ejbdoclet target doesn't work at all. None of the other files are
> generated either, it just finishes without any output or error messages
> whatsoever.
> I'm attaching my project.properties, project.xml as well as the output
> captured from the command 'maven -o -X xdoclet:ejbdoclet' both with and
> without the jboss module in my project dependencies.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel