php-maven/maven-php-plugin — Issue #11: Project directory structure
Author: achingbrain
Created: 2012-03-07 15:54:49+00:00
State: open

This is not a bug, more of a query about the directory structure generated by the archetype.

I notice that you've placed the webapp folder under the php folder like so:

/src/main/php/lib/org...
/src/main/php/webapp

Maybe it's because I've used maven to build Java webapps a lot, but I would have expected to see:

/src/main/php/org...
/src/main/webapp

Similarly, the placement of CSS and JavaScript files under /src/main/resources seems a little odd as the contents of /src/main/resources would usually get put somewhere the app could reach them but a web browser could not (and optionally with maven variable substitution performed on them) whereas you (probably) want the browser to be able to download jQuery and (probably) don't want to be monkeying around with the contents of the file as it's a library.

Anyway, like I say - not a bug; I just found it a little surprising.