NetBeans is validating and reporting errors in java resources of maven archetypes (files in src/main/resources/archetype-resources) as it does for java files in a standard project. Additionally, *archetype-resources* is shown in *Projects* window only if *Show Resources as Packages* of *Other Sources* is turned off. Perhaps the hyphen in its name is causing this behavior.
Saludos cordiales, Jorge Campins