I have some XML files in the source folder along with java files. Intellij Idea does not copy them to the destination folder. I want these xml files to be along with the classes in the target. Eclipse does it perfectly.
Can anyone tell me how to achieve this in Intellij Idea?
If, like me, another answer did not solve your problem -
If IDEA believes that your project is a Maven module (or once was), but it is not, it will behave like this. You can fix this by closing the project by editing the .iml file to remove the isMavenModule property, reopening and restoring:
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<module
org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true"
type="JAVA_MODULE" version="4">
IDEA xml , . . , , / IDEA. maven ( gradle), src/main/resources src/main/java, - .
src/main/resources
src/main/java
IDEA , , . "" > ", , " > "". " " " ". , IDEA . :
!?*.java !?*.form !?*.class !?*.groovy !?*.scala !?*.flex !?*.kt !?*.clj !?*.aj
, . XML . , - , xml.