Files that do not get compiled, but still need to be put in the jar should be put in src/main/resources.
vasm wrote: > > Hi All, > I am new to maven. I have created a new maven project to create a jar > file. I have a few xml files in classpath as well. When i build the > project only the java files (i.e. class files) get included in jar. The > xml files are excluded. Can anyone please help. How to include these xml > files in jar as well. Any kind of help is appreciated. > > Thanx. > -- View this message in context: http://old.nabble.com/XML-Files-in-Maven-Jar-tp27714119p27714175.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]
