I don't know of any override to prevent this scanning.
One way i can think of is to add a JBoss specific descriptor (jboss-structure.xml) to the
jar containing the persistence.xml. But that would require changing that jar file (which
is as good as removing or renaming the persistence.xml).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239072#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...