Re: adding non-class files to a JAR

2010-08-08 Thread Baptiste MATHUS
Your plugin should always generate into the outputDirectory (or testOutputDirectory). Please be aware not using "target" in the code. This name can always be redefined in the pom. Always refer to it as ${project.build.outputDirectory}. Cheers Le 5 août 2010 17:16:04 UTC+2, Haszlakiewicz, Eric a é

RE: adding non-class files to a JAR

2010-08-05 Thread Haszlakiewicz, Eric
>-Original Message- >From: asookazian [mailto:asookaz...@gmail.com] > >Wayne Fay wrote: >> >>> anybody know how to get Maven to include non-class files into a JAR? >>> >>> i have .jrxml files that I precompile into .jasper files via a custom >>> plugin >>> but maven is not including them in

Re: adding non-class files to a JAR

2010-07-27 Thread Stephane Nicoll
And it's not meant to be used with files that will be read from the classpath anyway. s/m/r (deprecated to src/main/application) is for the deployment descriptor of the ear only. S. --- [image: Linkedin] [image: Twitter] On Fri, Ju

RE: adding non-class files to a JAR

2010-07-26 Thread Martin Gainty
tenu fourni. > Date: Fri, 23 Jul 2010 11:26:46 -0700 > From: asookaz...@gmail.com > To: users@maven.apache.org > Subject: adding non-class files to a JAR > > > anybody know how to get Maven to include non-class files into a JAR? > > i have .jrxml files that I prec

Re: adding non-class files to a JAR

2010-07-23 Thread Wayne Fay
> multiple JARs are packaged in the EAR, so why can't the .jasper files be > packaged in the appropriate JAR prior to the EAR goal being invoked during > 'mvn clean install'? They can, that's fine. You just can't put them directly into the ear under s/m/r. Wayne -

Re: adding non-class files to a JAR

2010-07-23 Thread asookazian
;? -- View this message in context: http://maven.40175.n5.nabble.com/adding-non-class-files-to-a-JAR-tp1850724p1864886.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: adding non-class files to a JAR

2010-07-23 Thread Wayne Fay
> thx for the response.  the compiled .jasper files are in sub-directories > inside src/main/resources, so perhaps that is the problem and they all need > to be placed in src/main/resources directly so they are included in the JAR. If this is an EAR-packaged project, src/main/resources will not wo

Re: adding non-class files to a JAR

2010-07-23 Thread asookazian
in sub-directories inside src/main/resources, so perhaps that is the problem and they all need to be placed in src/main/resources directly so they are included in the JAR. let me give that a shot! thx. -- View this message in context: http://maven.40175.n5.nabble.com/adding-non-class-files-to

Re: adding non-class files to a JAR

2010-07-23 Thread Wayne Fay
> anybody know how to get Maven to include non-class files into a JAR? > > i have .jrxml files that I precompile into .jasper files via a custom plugin > but maven is not including them in the EAR AFAIK. Put them in the correct directory (src/main/resources in general) and they should be bundled i

adding non-class files to a JAR

2010-07-23 Thread asookazian
://maven.40175.n5.nabble.com/adding-non-class-files-to-a-JAR-tp1850724p1850724.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e