Where should I add Java files in web (WAR) project in Maven? -


where should have java source folder in maven web application architecture results in war?

suggestions needed.

the basic structure standard maven project following.

src/main/java        application/library sources src/main/resources    application/library resource src/main/filters      resource filter files src/main/assembly    assembly descriptors src/main/config    configuration files src/main/webapp    web application sources src/test/java        test sources src/test/resources  test resources src/test/filters      test resource filter files src/site              site 

following maven recommendations , normal behavior makes easier other people familiar maven easy recognize , understand structure.

source/read more


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -