>-----Original Message----- >From: asookazian [mailto:[email protected]] > >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 the EAR AFAIK. >> >> Put them in the correct directory (src/main/resources in general) and >> they should be bundled into the Jar properly.
>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. >let me give that a shot! thx. If you're trying to include compiled files, I think they should be created in the *target* directory. Putting build output (the .jasper files) into the source directories seems wrong. I just tried a quick test, and maven will happily include anything I put in target/classes into the jar file. You probably need to adjust how your .jasper files are created so they go in the right place. eric --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
