You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sandhu <ja...@cisco.com> on 2007/06/12 06:24:23 UTC

Re: [maven 1.0.2] my own application.xml not being included in ear

How does it  worked for you.  I am having the same problem.



Mick Knutson wrote:
> 
> OK I tried this and it still did not include any application.xml:
> 
> maven.ear.appxml=${basedir}/ear-subproject/src/conf/META-INF/application.xml
> maven.ear.appxml.generate=false
> 
> Any other ideas?
> 
> 
>>From: Dion Gillard <di...@gmail.com>
>>Reply-To: Dion Gillard <di...@gmail.com>
>>To: Maven Users List <us...@maven.apache.org>
>>Subject: Re: [maven 1.0.2] my own application.xml not being included in
ear
>>Date: Thu, 14 Jul 2005 08:59:46 +1000
>>
>>On 7/14/05, Mick Knutson <mi...@hotmail.com> wrote:
>> > I have the following setting in my ear-subproject/:
>> >
>> > maven.ear.appxml=${basedir}/src/conf/META-INF/application.xml
>> > maven.ear.appxml.generate=false
>> >
>> > and I have the following DIR:
>> >
>> > ./fastforward/ear-subproject/src/conf/META-INF/application.xml
>> >
>> > then I run maven from ./fastforward and there is no application.xml 
>>added to
>> > the ear at all.
>>
>>When running maven,${basedir} is the location of project.xml.
>>
>>You are running maven from ./fastforward and hence the value of
>>maven.ear.appxml is ./fastforward/src/conf/META-INF/application.xml
>>
>>This is not the same as
>>./fastforward/ear-subproject/src/conf/META-INF/application.xml
>>
>> > Can anyone help please?
>>
>>--
>>http://www.multitask.com.au/people/dion/
>>"You are going to let the fear of poverty govern your life and your
>>reward will be that you will eat, but you will not live." - George
>>Bernard Shaw
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
> 
> 
> Thank You
> Mick Knutson
> 
> Sr. Java/J2EE Consultant
> BASE logic, inc.
> (415) 648-1804 (S.F., CA)
> http://www.BASELogic.com
> 
> HP Consulting Services (Walnut Creek, CA)
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-maven-1.0.2--my-own-application.xml-not-being-included-in-ear-tf144560s177.html#a11072700
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [maven 1.0.2] my own application.xml not being included in ear

Posted by Lukas Theussl <lt...@apache.org>.
What version of the ear plugin do you use? The described problem is an 
old bug that was fixed in v1.7, the latest release is ear-plugin-1.9.

HTH,
-Lukas


Sandhu wrote:
> How does it  worked for you.  I am having the same problem.
> 
> 
> 
> Mick Knutson wrote:
> 
>>OK I tried this and it still did not include any application.xml:
>>
>>maven.ear.appxml=${basedir}/ear-subproject/src/conf/META-INF/application.xml
>>maven.ear.appxml.generate=false
>>
>>Any other ideas?
>>
>>
>>
>>>From: Dion Gillard <di...@gmail.com>
>>>Reply-To: Dion Gillard <di...@gmail.com>
>>>To: Maven Users List <us...@maven.apache.org>
>>>Subject: Re: [maven 1.0.2] my own application.xml not being included in
> 
> ear
> 
>>>Date: Thu, 14 Jul 2005 08:59:46 +1000
>>>
>>>On 7/14/05, Mick Knutson <mi...@hotmail.com> wrote:
>>>
>>>>I have the following setting in my ear-subproject/:
>>>>
>>>>maven.ear.appxml=${basedir}/src/conf/META-INF/application.xml
>>>>maven.ear.appxml.generate=false
>>>>
>>>>and I have the following DIR:
>>>>
>>>>./fastforward/ear-subproject/src/conf/META-INF/application.xml
>>>>
>>>>then I run maven from ./fastforward and there is no application.xml 
>>>
>>>added to
>>>
>>>>the ear at all.
>>>
>>>When running maven,${basedir} is the location of project.xml.
>>>
>>>You are running maven from ./fastforward and hence the value of
>>>maven.ear.appxml is ./fastforward/src/conf/META-INF/application.xml
>>>
>>>This is not the same as
>>>./fastforward/ear-subproject/src/conf/META-INF/application.xml
>>>
>>>
>>>>Can anyone help please?
>>>
>>>--
>>>http://www.multitask.com.au/people/dion/
>>>"You are going to let the fear of poverty govern your life and your
>>>reward will be that you will eat, but you will not live." - George
>>>Bernard Shaw
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>>
>>Thank You
>>Mick Knutson
>>
>>Sr. Java/J2EE Consultant
>>BASE logic, inc.
>>(415) 648-1804 (S.F., CA)
>>http://www.BASELogic.com
>>
>>HP Consulting Services (Walnut Creek, CA)
>>
>>
>>
>>---------------------------------------------------------------------
>>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