Hey Martin,

Yes, but you need of course to use JaveEE5 for this to work :)

Cheers,
Stéphane

On 9/7/07, Martin Gilday <[EMAIL PROTECTED]> wrote:
> Hi Stéphane,
> I had forgotten to set the "version" to 5, the default of 1.4 does not
> have this element.  More of a general JEE question than Maven, but am I
> correct using this tag in application.xml to change the persistence.xml
> descriptor?
>
> Thanks,
> Martin.
>
>
> ----- Original message -----
> From: "Stephane Nicoll" <[EMAIL PROTECTED]>
> To: "Maven Users List" <users@maven.apache.org>
> Date: Fri, 7 Sep 2007 10:27:01 +0200
> Subject: Re: EAR plugin and altDeploymentDescriptor
>
> You can use 2.3.1, it's released and has this feature.
>
> Show your ear plugin's configuration..
>
> Stéphane
>
> On 9/6/07, Martin Gilday <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I am trying to produce an EAR with two instances of a JPA module with
> > alternative persistence.xml.  I thought I could use the EAR plugins
> > altDeploymentDescriptor to do this.  However when I specify something
> > like:
> > <altDeploymentDescriptor>src/main/resources/META-INF/persistence-replica.xml</altDeploymentDescriptor>
> > then nothing changes in the application.xml.  I am using 2.3.2-SNAPSHOT
> > using the Apache snapshot profile.  Have I misunderstood the purpose of
> > this property or using it incorrectly?
> >
> > Thanks,
> > Martin.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Large Systems Suck: This rule is 100% transitive. If you build one,
> you suck" -- S.Yegge
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to