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.

YCF_L
  • 51,266
  • 13
  • 85
  • 129
J J
  • 146
  • 2
  • 11

1 Answers1

11

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
  • 16,978
  • 34
  • 97
  • 170
Clayn
  • 941
  • 8
  • 11