5

In Netbeans-Maven Project, in logical folder Other Sources are usually some textual, xml, etc. Files are stored. Howewer, i do not understand when exactly it is appearing and how to create it while creating a new project.
I tried (the same like for Test Packages with junit test files)

Right click on Project -> New -> Xml File or just empty file. The new file is created in the project root (not sources), withoout Other Sources Folder is shown. I only want to make the Other Sources folder shown - then, i can move a file there.

Youcef LAIDANI
  • 55,661
  • 15
  • 90
  • 140
J J
  • 146
  • 2
  • 11

1 Answers1

13

You need the folder "resources" under "src/main". You can create it using the explorer or in NetBeans using the tab "Files".

NetBeans will then recognize this folder and display it as "Other Sources".

Evgenij Reznik
  • 17,916
  • 39
  • 104
  • 181
Clayn
  • 1,016
  • 9
  • 11