Zarick Lau wrote: > Dear users and developers, > > I have a module with this files > /src/main/resources/META-INF/persistence.xml > /src/main/resources/log4j.xml > > In the pom, I have set <index>true</index> for the maven-jar-plugin > After package as a jar, the log4j.xml is listed but > META-INF/persistence.xml is not listed in the "META-INF/INDEX.LIST" > file. > > So, my question is, whether put the persistence.xml in the > /src/main/resources/META-INF/ is a correct and supported way? > Or I should put these files in some other place?
You're probably being bitten by http://jira.codehaus.org/browse/PLXCOMP-10. Someone needs to update the maven-jar-plugin/maven-archiver to use a later version of plexus-archiver. Max.
signature.asc
Description: OpenPGP digital signature
