If I create a maven project in IDEA 12.0.4, and select "org.apache.maven.archetypes:maven-archetype-webapp", the generated project is confusing.
Specifically, in the generated folder structure, I cannot create a package in which to put my Java classes, regardless of how many "folders" I create beneath "src". Right-clicking the orange folders in the project doesn't give me a create package option. All I can do is create another folder...
I think the folders need to be blue before you can create a package (get the package option in the right-click menu, for example).
I've studied the 'Stamdard Directory Maven Layout", but it's not revealing in helping me figure out why the project in Intelij is being created like it is.
I've tried various archteypes, but being able to create a package is alluding me.
This is really confusing. Maybe I'll start to like Maven once I understand it, but the 5 minute demo hasn't convinced me and I already spent a week trying to figure out a JAR conflict issue.
Look forward to any comments as to how you can create pacakges and use Maven effectively.
I'm also assuming I can add the Tomcat task and it will just "work".
Thanks in advance for any replies.