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 2004/02/09 03:36:53 UTC
Including the ejb-jar.xml into the JAR's META-INF/
Hello,
I use Xdoclet-plugin for Maven to generate the ejb-jar.xml, jboss.xml,
jbosscmp-jdbc.xml.
How can Maven to including those deployment descriptors into the JAR's
META-INF/ ????
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: Including the ejb-jar.xml into the JAR's META-INF/
Posted by Webb Morris <we...@yahoo.com>.
I changed the following property for the ejb goal:
maven.ejb.src=target/xdoclet/ejb
Don't know if this is "proper", but it's worked for me so far. I think I may like the methods
below better, though.
WM
--- Tim Chen <tc...@tampabay.rr.com> wrote:
> Several ways:
> 1) Change the maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir
> Which currently defaults to: ${maven.build.dir}/xdoclet/ejb/META-INF
> That should change to ${maven.build.dest}/META-INF
>
> 2) Declare them as resources:
> <resources>
> <resource>
> <directory>target/xdoclet/ejb/META-INF</directory>
> <targetPath>${maven.build.dest}/META-INF</targetPath>
> <includes>
> <include>**/*.xml</include>
> </includes>
> </resource>
> </resources>
>
> Tim Chen
> tchen@tampabay.rr.com
>
>
> -----Original Message-----
> From: Eric Chow [mailto:echow@macaucabletv.com]
> Sent: Sunday, February 08, 2004 9:37 PM
> To: Maven Users List
> Subject: Including the ejb-jar.xml into the JAR's META-INF/
>
>
> Hello,
>
> I use Xdoclet-plugin for Maven to generate the ejb-jar.xml, jboss.xml,
> jbosscmp-jdbc.xml.
>
> How can Maven to including those deployment descriptors into the JAR's
> META-INF/ ????
>
>
> 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
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Including the ejb-jar.xml into the JAR's META-INF/
Posted by Tim Chen <tc...@tampabay.rr.com>.
Several ways:
1) Change the maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir
Which currently defaults to: ${maven.build.dir}/xdoclet/ejb/META-INF
That should change to ${maven.build.dest}/META-INF
2) Declare them as resources:
<resources>
<resource>
<directory>target/xdoclet/ejb/META-INF</directory>
<targetPath>${maven.build.dest}/META-INF</targetPath>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
Tim Chen
tchen@tampabay.rr.com
-----Original Message-----
From: Eric Chow [mailto:echow@macaucabletv.com]
Sent: Sunday, February 08, 2004 9:37 PM
To: Maven Users List
Subject: Including the ejb-jar.xml into the JAR's META-INF/
Hello,
I use Xdoclet-plugin for Maven to generate the ejb-jar.xml, jboss.xml,
jbosscmp-jdbc.xml.
How can Maven to including those deployment descriptors into the JAR's
META-INF/ ????
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org