Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans Maven Project - Other Sources does not appear

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.

like image 914
J J Avatar asked Apr 29 '16 07:04

J J


1 Answers

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".

like image 52
Clayn Avatar answered Sep 23 '22 08:09

Clayn