Re: [m2] addition resources to an ear?

2007-12-27 Thread Mick Knutson
Is this not possible? I really have a Oc4j requirement that I need to add an
orion-application.xml into my ear. Can someone please help me add this?

On Dec 26, 2007 12:47 PM, Mick Knutson [EMAIL PROTECTED] wrote:

 I have this in my ear's pom.xml

  resources
 resource
 directory${basedir}/src/main/resources/directory
 targetPathMETA-INF/targetPath
 filteringtrue/filtering
 /resource
 /resources

 but my orion.xml inside ${basedir}/src/main/resources does not get
 included into my ear.

 Can anyone help please?

 --
 Thanks,
 Mick Knutson

 http://www.baselogic.com
 http://www.blincmagazine.com
 http://www.djmick.com
 http://www.myspace.com/mickknutson
 http://www.myspace.com/BLiNCMagazine
 http://tahoe.baselogic.com
 ---




-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---


Re: [m2] addition resources to an ear?

2007-12-27 Thread Mick Knutson
First off, thank you SO MUCH for the response. It works like a charm.

But, second, where is this documented? I assumed that the resources
declaration was the same with all modules, and now I find another directory
I needed to add.



On Dec 27, 2007 8:41 AM, Tom Huybrechts [EMAIL PROTECTED] wrote:

  just put in src/main/application ?

 On Dec 27, 2007 5:39 PM, Mick Knutson [EMAIL PROTECTED] wrote:

  Is this not possible? I really have a Oc4j requirement that I need to
 add
  an
  orion-application.xml into my ear. Can someone please help me add this?
 
  On Dec 26, 2007 12:47 PM, Mick Knutson [EMAIL PROTECTED] wrote:
 
   I have this in my ear's pom.xml
  
resources
   resource
   directory${basedir}/src/main/resources/directory
   targetPathMETA-INF/targetPath
   filteringtrue/filtering
   /resource
   /resources
  
   but my orion.xml inside ${basedir}/src/main/resources does not get
   included into my ear.
  
   Can anyone help please?
  
   --
   Thanks,
   Mick Knutson
  
   http://www.baselogic.com
   http://www.blincmagazine.com
   http://www.djmick.com
   http://www.myspace.com/mickknutson
   http://www.myspace.com/BLiNCMagazine
   http://tahoe.baselogic.com
   ---
 
 
 
 
  --
  Thanks,
  Mick Knutson
 
  http://www.baselogic.com
  http://www.blincmagazine.com
  http://www.djmick.com
  http://www.myspace.com/mickknutson
  http://www.myspace.com/BLiNCMagazine
  http://tahoe.baselogic.com
  ---
 




-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---


Re: [m2] addition resources to an ear?

2007-12-27 Thread Tom Huybrechts
 just put in src/main/application ?

On Dec 27, 2007 5:39 PM, Mick Knutson [EMAIL PROTECTED] wrote:

 Is this not possible? I really have a Oc4j requirement that I need to add
 an
 orion-application.xml into my ear. Can someone please help me add this?

 On Dec 26, 2007 12:47 PM, Mick Knutson [EMAIL PROTECTED] wrote:

  I have this in my ear's pom.xml
 
   resources
  resource
  directory${basedir}/src/main/resources/directory
  targetPathMETA-INF/targetPath
  filteringtrue/filtering
  /resource
  /resources
 
  but my orion.xml inside ${basedir}/src/main/resources does not get
  included into my ear.
 
  Can anyone help please?
 
  --
  Thanks,
  Mick Knutson
 
  http://www.baselogic.com
  http://www.blincmagazine.com
  http://www.djmick.com
  http://www.myspace.com/mickknutson
  http://www.myspace.com/BLiNCMagazine
  http://tahoe.baselogic.com
  ---




 --
 Thanks,
 Mick Knutson

 http://www.baselogic.com
 http://www.blincmagazine.com
 http://www.djmick.com
 http://www.myspace.com/mickknutson
 http://www.myspace.com/BLiNCMagazine
 http://tahoe.baselogic.com
 ---



Re: [m2] addition resources to an ear?

2007-12-27 Thread Stephane Nicoll
On Dec 27, 2007 5:54 PM, Mick Knutson [EMAIL PROTECTED] wrote:
 First off, thank you SO MUCH for the response. It works like a charm.

 But, second, where is this documented? I assumed that the resources
 declaration was the same with all modules, and now I find another directory
 I needed to add.

Well, it depends. I think it was a misunderstanding with the original
version of the EAR plugin. Using resources for this is indeed the way
to go but at that time it wasn't that clear (hence the specific
directory for the ear)

See 
http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html#earSourceDirectory

Stéphane







 On Dec 27, 2007 8:41 AM, Tom Huybrechts [EMAIL PROTECTED] wrote:

   just put in src/main/application ?
 
  On Dec 27, 2007 5:39 PM, Mick Knutson [EMAIL PROTECTED] wrote:
 
   Is this not possible? I really have a Oc4j requirement that I need to
  add
   an
   orion-application.xml into my ear. Can someone please help me add this?
  
   On Dec 26, 2007 12:47 PM, Mick Knutson [EMAIL PROTECTED] wrote:
  
I have this in my ear's pom.xml
   
 resources
resource
directory${basedir}/src/main/resources/directory
targetPathMETA-INF/targetPath
filteringtrue/filtering
/resource
/resources
   
but my orion.xml inside ${basedir}/src/main/resources does not get
included into my ear.
   
Can anyone help please?
   
--
Thanks,
Mick Knutson
   
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---
  
  
  
  
   --
   Thanks,
   Mick Knutson
  
   http://www.baselogic.com
   http://www.blincmagazine.com
   http://www.djmick.com
   http://www.myspace.com/mickknutson
   http://www.myspace.com/BLiNCMagazine
   http://tahoe.baselogic.com
   ---
  
 



 --

 Thanks,
 Mick Knutson

 http://www.baselogic.com
 http://www.blincmagazine.com
 http://www.djmick.com
 http://www.myspace.com/mickknutson
 http://www.myspace.com/BLiNCMagazine
 http://tahoe.baselogic.com
 ---




-- 
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]



[m2] addition resources to an ear?

2007-12-26 Thread Mick Knutson
I have this in my ear's pom.xml

 resources
resource
directory${basedir}/src/main/resources/directory
targetPathMETA-INF/targetPath
filteringtrue/filtering
/resource
/resources

but my orion.xml inside ${basedir}/src/main/resources does not get included
into my ear.

Can anyone help please?

-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---


Re: [m2] addition resources to an ear?

2007-12-26 Thread Wayne Fay
As documented [1], the EAR plugin uses /src/main/application by
default. I'm not sure if it supports additional resource directives.

http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html#earSourceDirectory

Wayne

On Dec 26, 2007 2:47 PM, Mick Knutson [EMAIL PROTECTED] wrote:
 I have this in my ear's pom.xml

 resources
resource
directory${basedir}/src/main/resources/directory
targetPathMETA-INF/targetPath
filteringtrue/filtering
/resource
/resources

 but my orion.xml inside ${basedir}/src/main/resources does not get included
 into my ear.

 Can anyone help please?

 --
 Thanks,
 Mick Knutson

 http://www.baselogic.com
 http://www.blincmagazine.com
 http://www.djmick.com
 http://www.myspace.com/mickknutson
 http://www.myspace.com/BLiNCMagazine
 http://tahoe.baselogic.com
 ---


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