Re: jarring non class files

2006-06-23 Thread Jeff Mutonho
On 6/22/06, Bram de Kruijff <[EMAIL PROTECTED]> wrote: > In some organizations its not as simple as that :). rebel! :P ... but seriously how about this src/java src java/**/*.java Note that you can always check what your 'effective pom' will lo

RE: jarring non class files

2006-06-22 Thread Bram de Kruijff
ive-pom' grz Bram > -Original Message- > From: Jeff Mutonho [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 22, 2006 5:26 PM > To: Maven Users List > Subject: Re: jarring non class files > > On 6/22/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > And

Re: jarring non class files

2006-06-22 Thread Kieran Brady
35 PM Subject: Re: jarring non class files On 6/22/06, Kieran Brady <[EMAIL PROTECTED]> wrote: A1) Because you are specifying your source directory as 'src'. The standard is src/main/java (inherited from the super pom). This would treat src/spring/context as source. A2) Not sur

Re: jarring non class files

2006-06-22 Thread Jeff Mutonho
On 6/22/06, Kieran Brady <[EMAIL PROTECTED]> wrote: A1) Because you are specifying your source directory as 'src'. The standard is src/main/java (inherited from the super pom). This would treat src/spring/context as source. A2) Not sure, probably a knock-on effect of the above If you are going t

Re: jarring non class files

2006-06-22 Thread Jeff Mutonho
On 6/22/06, Wayne Fay <[EMAIL PROTECTED]> wrote: And moving the directories around is not possible... why not?? Most projects I'm using Maven with at this point were created before we started using Maven2, and we simply moved things around to conform to Maven's expectations. Subversion is nice li

Re: jarring non class files

2006-06-22 Thread Kieran Brady
ven Users List" Sent: Thursday, June 22, 2006 4:10 PM Subject: Re: jarring non class files On 6/22/06, Kieran Brady <[EMAIL PROTECTED]> wrote: Specify them as resources: ... src/spring/context ... HTH :) Thanx.My build section in my pom reads : src (i.e I d

Re: jarring non class files

2006-06-22 Thread Wayne Fay
And moving the directories around is not possible... why not?? Most projects I'm using Maven with at this point were created before we started using Maven2, and we simply moved things around to conform to Maven's expectations. Subversion is nice like that. Wayne On 6/22/06, Jeff Mutonho <[EMAIL

Re: jarring non class files

2006-06-22 Thread Jeff Mutonho
On 6/22/06, Bram de Kruijff <[EMAIL PROTECTED]> wrote: > Under my src directory I have 2 other folders .One contains > other subfolders with my java code(src/java/com/blah blah > blah) .The second subfolder (src/spring/context/blah blah > blah...) contains some spring config files (xml) tha

Re: jarring non class files

2006-06-22 Thread Jeff Mutonho
On 6/22/06, Kieran Brady <[EMAIL PROTECTED]> wrote: Specify them as resources: ... src/spring/context ... HTH :) Thanx.My build section in my pom reads : src (i.e I do not specify any section) .How ever when bundle this the resulting jar has the following structure spr

RE: jarring non class files

2006-06-22 Thread Bram de Kruijff
> From: Jeff Mutonho [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 22, 2006 4:35 PM > To: Maven Users List > Subject: jarring non class files > > Under my src directory I have 2 other folders .One contains > other subfolders with my java code(src/java/com/blah blah >

Re: jarring non class files

2006-06-22 Thread Martin Gilday
;Jeff Mutonho" <[EMAIL PROTECTED]> To: "Maven Users List" Date: Thu, 22 Jun 2006 16:34:58 +0200 Subject: jarring non class files Under my src directory I have 2 other folders .One contains other subfolders with my java code(src/java/com/blah blah blah) .The second subfolde

Re: jarring non class files

2006-06-22 Thread Kieran Brady
Specify them as resources: ... src/spring/context ... HTH :) - Original Message - From: "Jeff Mutonho" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Thursday, June 22, 2006 3:34 PM Subject: jarring non class files Under my src directory I

jarring non class files

2006-06-22 Thread Jeff Mutonho
Under my src directory I have 2 other folders .One contains other subfolders with my java code(src/java/com/blah blah blah) .The second subfolder (src/spring/context/blah blah blah...) contains some spring config files (xml) that I also wish to be bundled in the jar file( keeping the directo