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. > > Ear files are a little bit special. In most cases, you should put the > non-class files in a jar and then depend on the jar artifact rather > than putting them directly in the Ear. > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > >
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. -- View this message in context: http://maven.40175.n5.nabble.com/adding-non-class-files-to-a-JAR-tp1850724p1861765.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
